Skip to main content
Glama

understand_image

Analyze one to five images from local paths or URLs to answer questions about screenshots, OCR, errors, UI, diagrams, charts, and visual comparisons; omit the question for a description.

Instructions

Use Codex app-server to understand one or more images. Works for screenshots, OCR, errors, UI, diagrams, charts, and visual comparison. Provide the user's exact question in question.

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": {
      "images": "<images>"
    },
    "name": "understand_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoOptional base directory for relative local image paths.
imageNoDeprecated compatibility field. Prefer images.
detailNoImage detail level passed to Codex.high
imagesYesOne to five local image paths or http(s) image URLs.
questionNoWhat to ask about the image(s). If omitted, Codex will describe the image.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It reveals the backing engine ('Codex app-server') and that it accepts multiple images, but says nothing about latency, cost, permissions, failure modes, or whether the operation is purely read-only. That leaves meaningful behavioral gaps for a tool with zero annotation coverage.

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 verb and resource, then scope, then parameter guidance. Nothing is repeated and no sentence is filler.

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?

All five parameters are fully documented in the schema, so the description only needs to add framing, which it largely does. The main omission is any indication of what the tool returns; since there is no output schema, the description is the only place that could have described the response shape, and it does not.

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; the description goes slightly beyond by instructing the agent to supply the user's exact question in the 'question' field, which is stronger and more actionable than the schema's 'What to ask about the image(s).' It does not discuss cwd, detail levels, or the deprecated 'image' field, all of which the schema already documents adequately.

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 ('understand one or more images') and enumerates concrete capabilities (screenshots, OCR, errors, UI, diagrams, charts, visual comparison), so an agent knows exactly what it does. No sibling tools exist to differentiate against, so it cannot earn the top mark for routing clarity, but the purpose itself is unambiguous.

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 use-case list gives clear positive guidance on when this tool applies, and the closing sentence tells the agent to pass the user's verbatim question rather than a paraphrase. There are no explicit exclusions or when-not-to-use conditions, and no alternatives are named, which keeps it below a 5.

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

Deploy Server

Other Tools