Skip to main content
Glama

Analyze an image into a case

add_scene_to_case

Analyze one image and attach the result to an existing case. Spends credits at the usual rates (D1 1, D2 2, D3 10). Capped at 20 analyses an hour per account, and a connected app is limited to depth 2. Returns the analysis and the case id. Reads the scene only (architecture, signage, terrain, vegetation), never the people in it. No face recognition, no biometric identification, no person matching. It answers where an image was taken, never who is in it, and must not be used to locate or track a person.

Input Schema

NameRequiredDescriptionDefault
depthNoAnalysis depth. 1 = Surface (1 credit). 2 = Standard (2 credits). 3 = Forensic (10 credits; agent tokens with maximum depth 3 only).
case_idYesThe id of the case.
image_b64NoBase64-encoded image bytes (no data: prefix).
image_urlNoPublic HTTPS URL to the image to analyze.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing credit costs per depth (1/2/10), a 20-analyses-per-hour account cap, a depth-2 limit for connected apps, and what is returned (analysis plus case id). The readOnlyHint=false annotation is reinforced by the credit-spend and case-attachment behavior, and the privacy scope (scene only, no faces, no person matching, no tracking) adds genuinely unusual and useful context.

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?

Purpose is front-loaded and constraints follow in a sensible order. The privacy prohibition is restated three times ("never the people in it", "no face recognition...", "never who is in it"), which is more repetition than the point requires.

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?

With no output schema, the description still says what comes back (analysis and case id), and it covers cost, rate limits, depth restrictions and prohibited uses. Nothing material is missing for an agent deciding whether and how to call it.

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 earns more by tying each depth value to a concrete credit cost and to the agent-token depth ceiling, which is semantics the enum labels alone do not convey.

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?

"Analyze one image and attach the result to an existing case" gives a specific verb and resource plus the scoping detail (single image, existing case) that separates it from create_case and find_scene.

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?

Usage is implied rather than routed: it states the operation, the depth caps (agent tokens max depth 3, connected app limited to depth 2) and the hourly cap, but never names an alternative tool or a when-not-to-use condition explicitly.

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.