Skip to main content
Glama

OpenRobotics

POST /v1/depth

depth

Estimate a depth map from an image (or stereo pair, or short clip). Returns width×height floats per frame, which can be several MB for large images. Models: list_models with endpoint "depth". Billed per call unless the key is a sandbox key.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "model": "<model>"
    },
    "name": "depth"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageNobase64 JPEG or PNG, optionally a data: URL; or an https:// URL of an image or video (fetched for you, up to 4 MB)
modelYesModel id from GET /v1/models, e.g. provider/name
framesNo
baselineNo
intrinsicsNo[fx, fy, cx, cy] in pixels of the uploaded image
right_imageNobase64 JPEG or PNG, optionally a data: URL; or an https:// URL of an image or video (fetched for you, up to 4 MB)
prompt_depthNobase64 JPEG or PNG, optionally a data: URL; or an https:// URL of an image or video (fetched for you, up to 4 MB)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With only readOnlyHint=false and openWorldHint=true supplied, the description carries real weight: it discloses the return shape (width×height floats per frame), warns output can be several MB, and explains the billing model including the sandbox exemption. Those are operational facts an agent cannot derive from the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: capability first, output size and cost second, model-discovery pointer last. No repetition of the title or schema, and every clause carries usable information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description usefully substitutes by naming the return format and size risk. For a 7-parameter inference endpoint it is nearly complete; the remaining gap is the role of the stereo/geometry parameters and any latency expectations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 71%, so most parameters are already documented structurally. The description adds meaning by implying how image/right_image/frames group into the three modes, but it never explains baseline, intrinsics, or prompt_depth, leaving those to the schema alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Estimate a depth map from an image (or stereo pair, or short clip)', which distinguishes it from neighbors like reconstruct or segment by modality alone. It never names a sibling it is an alternative to, so it stops short of full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description establishes the three input modes (single image, stereo pair, clip) and redirects the agent to list_models with endpoint 'depth' for model ids, plus a sandbox-key note on billing. It does not state when to prefer a different endpoint (e.g. reconstruct) or any input prerequisites beyond mode selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources