MCP
Tool reference
These tools come from the same catalog advertised by Oceanir’s MCP server. To call them, first connect a client and complete authentication.
find_scene
Use when you have an image (a URL or base64 bytes) and need to know where it was taken. Oceanir reads what is visible (architecture, signage, roads, vegetation, terrain, light); no EXIF or GPS is needed. Returns `location` (latitude, longitude, plus country, city, neighborhood and address where known), `confidence`, and `reasoning`; depth 2 adds `visual_clues`; depth 3 adds `forensic`, with ranked alternative candidates and the evidence for and against each. To test a place someone has already stated, use check_location_claim instead. Costs 1 credit at depth 1, 2 at depth 2, 4 at depth 3. Capped at 20 analyses an hour per account, and a connected app is limited to depth 2 (an agent token with maximum depth 3 can use depth 3). Reads the scene only (architecture, signage, terrain, vegetation), never the people in it. No face recognition, no biometric identification, no person matching. It answers where an image was taken, never who is in it, and must not be used to locate or track a person.
Supply either image_url or image_b64. A location scope is optional.
image_idstring- Reusable private image ID from this account's upload. Send only one image source. Valid for 24 hours.
image_urlstring- Public HTTPS URL to the image to analyze.
image_b64string- Base64-encoded image bytes (no data: prefix).
depthinteger · default 1- Analysis depth. 1 = Surface (fast region-level answer, 1 credit). 2 = Standard (adds the visual clues behind the answer, 2 credits). 3 = Forensic (ranked alternative candidates with supporting and contradicting evidence, 4 credits).
scopeobject- The location being claimed. Oceanir treats this as a search boundary and never as evidence: it can only narrow the search, never raise confidence, and Oceanir rejects it outright on hard image-legible contradiction (signage in an impossible script, the wrong driving side, a landmark that is elsewhere).
Complete input schema
{
"type": "object",
"properties": {
"image_id": {
"type": "string",
"pattern": "^img_[0-9a-fA-F-]{36}$",
"description": "Reusable private image ID from this account's upload. Send only one image source. Valid for 24 hours."
},
"image_url": {
"type": "string",
"format": "uri",
"description": "Public HTTPS URL to the image to analyze."
},
"image_b64": {
"type": "string",
"description": "Base64-encoded image bytes (no data: prefix)."
},
"depth": {
"type": "integer",
"enum": [
1,
2,
3
],
"default": 1,
"description": "Analysis depth. 1 = Surface (fast region-level answer, 1 credit). 2 = Standard (adds the visual clues behind the answer, 2 credits). 3 = Forensic (ranked alternative candidates with supporting and contradicting evidence, 4 credits)."
},
"scope": {
"type": "object",
"description": "The location being claimed. Oceanir treats this as a search boundary and never as evidence: it can only narrow the search, never raise confidence, and Oceanir rejects it outright on hard image-legible contradiction (signage in an impossible script, the wrong driving side, a landmark that is elsewhere).",
"properties": {
"name": {
"type": "string",
"description": "Place name, e.g. \"Doral, Florida\"."
},
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"lng": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"radius_km": {
"type": "number",
"default": 60,
"description": "How far from the centre still counts as the claimed place. Defaults to 60km, which covers a metro area."
},
"captured_at": {
"type": "string",
"description": "When the image is CLAIMED to have been taken. Optional, and worth sending whenever the claim carries a date, because it is the only check here that does not depend on Oceanir's own confidence. A bare date (2026-09-12) returns whether the sun rose at that place at all that day and for how long; at high latitudes that alone can contradict a daylit image outright. A time WITH a UTC offset (2026-09-12T14:30:00-04:00) additionally returns the sun's altitude and compass direction at that moment. A time WITHOUT an offset has its clock time ignored and only its date used: an assumed timezone can turn noon into midnight, so it is never guessed."
}
},
"required": [
"name",
"lat",
"lng"
]
}
},
"anyOf": [
{
"required": [
"image_id"
]
},
{
"required": [
"image_url"
]
},
{
"required": [
"image_b64"
]
}
]
}check_location_claim
Use when someone has already said where an image was taken (a listing's city, an address on a claim form or case file, a caption) and you need to know whether the image agrees. Oceanir locates the image from visual evidence alone FIRST, then compares. Returns a verdict of `agrees`, `contradicts`, or `unverifiable`, with the distance between the claim and the evidence. `unverifiable` means the image does not settle it and the item needs a human. It is a real answer, not a failure. A verdict of `agrees` means the image is consistent with the claim, not that the claim is true. Capped at 20 analyses an hour per account, and a connected app is limited to depth 2 (an agent token with maximum depth 3 can use depth 3). Reads the scene only (architecture, signage, terrain, vegetation), never the people in it. No face recognition, no biometric identification, no person matching. It answers where an image was taken, never who is in it, and must not be used to locate or track a person.
Supply either image_url or image_b64. A location scope is required to check a claim.
image_idstring- Reusable private image ID from this account's upload. Send only one image source. Valid for 24 hours.
image_urlstring- Public HTTPS URL to the image to test.
image_b64string- Base64-encoded image bytes (no data: prefix).
scopeobject- The location being claimed. Oceanir treats this as a search boundary and never as evidence: it can only narrow the search, never raise confidence, and Oceanir rejects it outright on hard image-legible contradiction (signage in an impossible script, the wrong driving side, a landmark that is elsewhere).
depthinteger · default 2- Analysis depth. 2 = Standard (2 credits) is the right default for verification; 1 = Surface (1 credit) is city-level only and will rarely contradict anything; 3 = Forensic (4 credits) adds contradiction checks.
Complete input schema
{
"type": "object",
"properties": {
"image_id": {
"type": "string",
"pattern": "^img_[0-9a-fA-F-]{36}$",
"description": "Reusable private image ID from this account's upload. Send only one image source. Valid for 24 hours."
},
"image_url": {
"type": "string",
"format": "uri",
"description": "Public HTTPS URL to the image to test."
},
"image_b64": {
"type": "string",
"description": "Base64-encoded image bytes (no data: prefix)."
},
"scope": {
"type": "object",
"description": "The location being claimed. Oceanir treats this as a search boundary and never as evidence: it can only narrow the search, never raise confidence, and Oceanir rejects it outright on hard image-legible contradiction (signage in an impossible script, the wrong driving side, a landmark that is elsewhere).",
"properties": {
"name": {
"type": "string",
"description": "Place name, e.g. \"Doral, Florida\"."
},
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"lng": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"radius_km": {
"type": "number",
"default": 60,
"description": "How far from the centre still counts as the claimed place. Defaults to 60km, which covers a metro area."
},
"captured_at": {
"type": "string",
"description": "When the image is CLAIMED to have been taken. Optional, and worth sending whenever the claim carries a date, because it is the only check here that does not depend on Oceanir's own confidence. A bare date (2026-09-12) returns whether the sun rose at that place at all that day and for how long; at high latitudes that alone can contradict a daylit image outright. A time WITH a UTC offset (2026-09-12T14:30:00-04:00) additionally returns the sun's altitude and compass direction at that moment. A time WITHOUT an offset has its clock time ignored and only its date used: an assumed timezone can turn noon into midnight, so it is never guessed."
}
},
"required": [
"name",
"lat",
"lng"
]
},
"depth": {
"type": "integer",
"enum": [
1,
2,
3
],
"default": 2,
"description": "Analysis depth. 2 = Standard (2 credits) is the right default for verification; 1 = Surface (1 credit) is city-level only and will rarely contradict anything; 3 = Forensic (4 credits) adds contradiction checks."
}
},
"required": [
"scope"
],
"anyOf": [
{
"required": [
"image_id"
]
},
{
"required": [
"image_url"
]
},
{
"required": [
"image_b64"
]
}
]
}upload_scene_image
Use when a scene question needs an image that is attached in chat or on the user's device and no accessible image URL is available. Opens a private upload panel where the user chooses the actual file; do not reconstruct image bytes or invent an image ID. The panel returns an account-owned image_id valid for 24 hours to use for subsequent scene and claim requests. Uploading does not run an analysis or spend analysis credits. Requires sign-in and storage enabled on the account. Clients without MCP Apps must use the local file helper or authenticated multipart POST /api/v1/images.
This tool takes no arguments.
store_scene_image
Upload the actual image bytes selected in the private upload panel. Returns metadata and an owned image_id only. Does not run an analysis.
Supply either image_url or image_b64. A location scope is optional.
image_b64string- Raw base64 bytes from the user-selected file; transferred by the app, never reconstructed from the conversation.
Complete input schema
{
"type": "object",
"properties": {
"image_b64": {
"type": "string",
"maxLength": 27962028,
"description": "Raw base64 bytes from the user-selected file; transferred by the app, never reconstructed from the conversation."
}
},
"required": [
"image_b64"
],
"additionalProperties": false
}check_credits
Use before a batch of analyses, or when a call fails for lack of credits. Returns the authenticated Oceanir account's current credit balance and remaining monthly allowance. Free.
This tool takes no arguments.
list_past_scenes
List this account's past Oceanir results, newest first: place, coordinates, confidence, depth and date. Read-only: it never runs a new analysis and never spends credits. Accounts with analysis history switched off return nothing. Reads the scene only (architecture, signage, terrain, vegetation), never the people in it. No face recognition, no biometric identification, no person matching. It answers where an image was taken, never who is in it, and must not be used to locate or track a person.
Supply either image_url or image_b64. A location scope is optional.
querystring- Optional text to match against the neighborhood, city or file name.
citystring- Optional exact city name to filter by.
limitinteger · default 20- How many results to return, newest first.
Complete input schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 120,
"description": "Optional text to match against the neighborhood, city or file name."
},
"city": {
"type": "string",
"maxLength": 120,
"description": "Optional exact city name to filter by."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 20,
"description": "How many results to return, newest first."
}
}
}list_cases
List this account's cases (named groups of results), newest first, with their ids. Read-only: it never runs an analysis and never spends credits.
Supply either image_url or image_b64. A location scope is optional.
limitinteger · default 20- How many cases to return.
Complete input schema
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 20,
"description": "How many cases to return."
}
}
}get_case
Read a case's summary: what it holds, the results attached to it and where they point. Read-only: it never runs an analysis and never spends credits. Reads the scene only (architecture, signage, terrain, vegetation), never the people in it. No face recognition, no biometric identification, no person matching. It answers where an image was taken, never who is in it, and must not be used to locate or track a person.
Supply either image_url or image_b64. A location scope is optional.
case_idstring- The id of the case.
Complete input schema
{
"type": "object",
"properties": {
"case_id": {
"type": "string",
"description": "The id of the case."
}
},
"required": [
"case_id"
]
}create_case
Create an empty case to group related results. Free: it spends no credits. Returns the new case's id.
Supply either image_url or image_b64. A location scope is optional.
namestring- A label you will recognise, for example the listing or claim it is about.
descriptionstring- Optional context, such as the location the source claims.
Complete input schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"description": "A label you will recognise, for example the listing or claim it is about."
},
"description": {
"type": "string",
"maxLength": 500,
"description": "Optional context, such as the location the source claims."
}
},
"required": [
"name"
]
}add_scene_to_case
Use when an image belongs to an investigation you are grouping in a case (create one first with create_case). Analyzes one image and attaches the result. Spends credits at the usual rates (D1 1, D2 2, D3 4). Capped at 20 analyses an hour per account, and a connected app is limited to depth 2. Returns the analysis and the case id. Reads the scene only (architecture, signage, terrain, vegetation), never the people in it. No face recognition, no biometric identification, no person matching. It answers where an image was taken, never who is in it, and must not be used to locate or track a person.
Supply either image_url or image_b64. A location scope is optional.
case_idstring- The id of the case.
image_urlstring- Public HTTPS URL to the image to analyze.
image_b64string- Base64-encoded image bytes (no data: prefix).
depthinteger · default 2- Analysis depth. 1 = Surface (1 credit). 2 = Standard (2 credits). 3 = Forensic (4 credits; agent tokens with maximum depth 3 only).
Complete input schema
{
"type": "object",
"properties": {
"case_id": {
"type": "string",
"description": "The id of the case."
},
"image_url": {
"type": "string",
"format": "uri",
"description": "Public HTTPS URL to the image to analyze."
},
"image_b64": {
"type": "string",
"description": "Base64-encoded image bytes (no data: prefix)."
},
"depth": {
"type": "integer",
"enum": [
1,
2,
3
],
"default": 2,
"description": "Analysis depth. 1 = Surface (1 credit). 2 = Standard (2 credits). 3 = Forensic (4 credits; agent tokens with maximum depth 3 only)."
}
},
"required": [
"case_id"
],
"anyOf": [
{
"required": [
"image_url"
]
},
{
"required": [
"image_b64"
]
}
]
}get_usage
Use to budget or report spend. Returns the last 30 days of Oceanir usage for the authenticated account: calls, credits used, a breakdown by depth, and what remains. Read-only; it never spends credits.
This tool takes no arguments.
Interpret the result
For a location claim, agrees means the image is consistent with the claim. contradicts means the visual evidence points elsewhere. unverifiable means the image does not settle the question.
Review the supporting evidence and uncertainty. A matching location estimate is not independent proof that a claim is true.
