Skip to main content
Glama

Describe Image

describe_image
Read-only

Image understanding with Mistral Small 3.1: describe an image, answer a question about it, or read the text in it (OCR). Image by URL or base64: JPEG, PNG, GIF or WebP, up to 5 MB. Costs USD 0.002 per call, paid with x402 (USDC on Base); calls that fail are not charged.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "describe_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
questionNoWhat to ask about the image (default: a detailed description including any text)
image_urlNoA public http(s) URL
max_tokensNoLongest answer in tokens (default 400)
image_base64NoThe image file, base64-encoded

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/non-destructive, and the description adds the far more consequential traits: a fixed USD 0.002 per-call cost, that payment is required via x402 USDC on Base, and that failed calls are not charged. That payment precondition is exactly the sort of behavior an agent must know before invoking and cannot be derived from annotations or schema.

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, front-loaded with capability, then input constraints, then cost and billing behavior. No repetition of the title, no filler, and every clause carries information an agent needs.

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

Completeness3/5

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

No output schema exists, yet the description never says what comes back (answer text, description string, token usage), and with zero required parameters it never resolves the ambiguity that exactly one of image_url or image_base64 must be supplied. Pricing and limits are well covered, but these two gaps matter for correct invocation.

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 100%, so the baseline is 3, but the description adds real constraints the schema lacks: accepted formats, the 5 MB ceiling, and confirmation that either a URL or base64 payload may be used. It still doesn't state that the two image inputs are alternatives with one required, so it is not a 5.

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?

Names a specific model and three concrete operations (describe, question-answering, OCR), which makes the vision-in / text-out nature unmistakable and clearly separates it from generate_image or text-only siblings without needing to name them.

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?

Usage context is clear: any of the three task modes, image supplied by URL or base64, restricted to JPEG/PNG/GIF/WebP up to 5 MB. What's missing is explicit routing against siblings (screenshot, extract_data, file_to_markdown) and any statement of when not to use it, so it stops short of a 5.

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