Skip to main content
Glama

Understand Images

beatra.images.understand
Idempotent

Answer questions about one to eight ordered images, each limited to 10 MiB. Upload a local image with beatra.assets.upload first and pass it as an artifact; use data_uri only for very small images. Successful tasks cost 5 credits per admitted image; detail does not affect price. Omit model unless the user explicitly requests one; call beatra.models.list before model or cost comparisons. This billable call consumes Beatra credits and creates an asynchronous task. Submit exactly once, then poll with beatra.tasks.get. Reuse the same client_request_id only for an identical retry.

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": {
      "prompt": "<prompt>",
      "images": "<images>",
      "client_request_id": "<client_request_id>"
    },
    "name": "beatra.images.understand"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoOmit or use 'auto' unless the user explicitly requests a concrete model. An explicit model is evaluated exactly as requested and is never substituted.auto
detailNoVisual detail preference. It does not change Beatra's per-image price.default
imagesYesOne through eight ordered image inputs. Each admitted image is billed once.
promptYesRequired question or instruction containing non-whitespace characters.
temperatureNo
response_formatNo
client_request_idYesStable retry identity for this billable operation. Reuse only for the exact same generation arguments.

Output Schema

NameRequiredDescriptionDefault
taskNo
errorNo
usageNo
statusNo
billingNo
task_idNo
terminalNo
artifactsNo
resolved_modelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the cost model (5 credits per admitted image, detail does not change price), that the call creates an asynchronous task, and how idempotency actually works in practice (reuse client_request_id only for an identical retry). The annotations only flag idempotentHint/openWorldHint; the description explains what those mean operationally and adds the billing consequence, which is the highest-risk unknown for this tool.

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

Conciseness4/5

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

Dense but well-ordered: purpose, input sourcing, cost, model policy, async lifecycle, retry rule. Every sentence carries an operational instruction, though 'detail does not affect price' mildly repeats the schema's own note on the detail field.

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

Completeness5/5

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

For a billable, asynchronous, seven-parameter tool with an output schema, the description covers the full calling contract: size limits, input sourcing, cost, model defaults, submission semantics, polling, and retry identity. Nothing an agent needs to avoid a duplicate charge or a wrong input type is missing.

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

Parameters4/5

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

Schema coverage is 71%, and the description compensates on the parameters that matter most: input source selection (artifact vs data_uri), model omission policy, and detail's price neutrality. However, temperature and response_format carry no description in either the schema or the description, so the agent gets no guidance on when to set them.

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

Purpose5/5

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

Opens with a specific verb and resource: 'Answer questions about one to eight ordered images, each limited to 10 MiB.' The resource ('images') plus the question-answering verb distinguishes it cleanly from beatra.images.generate/edit/transform and beatra.videos.understand without needing the schema.

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

Usage Guidelines5/5

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

Explicit routing for every decision point: upload a local file via beatra.assets.upload and pass an artifact, use data_uri only for very small images, omit model unless the user explicitly requests one, call beatra.models.list before any model or cost comparison. It also states the lifecycle rule (submit exactly once, then poll with beatra.tasks.get) and the retry condition for client_request_id.

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