Skip to main content
Glama

OpenRobotics

POST /v1/detect

detect

Detect objects matching text labels in an image (open-vocabulary). Returns boxes, labels and scores. Models: list_models with endpoint "detect". 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>",
      "image": "<image>",
      "labels": "<labels>"
    },
    "name": "detect"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYesbase64 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
labelsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the mutation/external-call profile is covered. The description adds genuinely new behavioral context: the exact response contents, per-call billing, and the sandbox-key exemption. It stops short of stating failure modes, rate limits, or whether the call is blocking.

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 short sentences, front-loaded with the core capability, then the return value, then the model and billing caveats. No sentence is redundant and nothing is buried.

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?

With no output schema, the description correctly states what comes back, and it covers model selection and billing for a three-required-parameter tool. The remaining gap is operational: it does not say whether detection runs synchronously or must be polled via get_job, which matters given the job-oriented siblings.

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 67%, so the schema already carries the image format and size details. The description contributes real added meaning only for the model parameter, tying it to list_models with endpoint "detect"; it clarifies labels as free-form open-vocabulary text but adds nothing about the 50-label cap or URL-vs-base64 choice that the schema already covers.

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?

"Detect objects matching text labels in an image (open-vocabulary)" gives a specific verb, resource, and modality, and the second sentence names the return shape (boxes, labels, scores). It is clearly distinguishable from siblings like segment or grasp, though it never explicitly contrasts with them.

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

Usage Guidelines3/5

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

The description points to the correct model-discovery path ("list_models with endpoint 'detect'") and flags billing, which is useful pre-call guidance. However, it never says when to prefer this over a sibling like segment or track, nor does it state whether the call is synchronous or returns a job handle.

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