Skip to main content
Glama

Read a model number from a photo

identify_from_photo
Read-only

Read the brand, model and part numbers from a photo of a label or nameplate and match them to products. Matches are returned as candidates, with what was read. The photo isn't stored.

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": {
      "image": "<image>"
    },
    "name": "identify_from_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
hintNoOptional context, e.g. 'refrigerator label inside the door'.
imageYesA photo of the label or nameplate as a data URL (data:image/jpeg;base64,...), under 4 MB.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "type": "object"
      -}New value: +null
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover readOnly, non-destructive, and open-world behavior, so the bar is lower. The description still adds genuinely non-derived facts: results come back as ranked candidates rather than a single match, the extraction is echoed back ('with what was read'), and the photo is not retained — a privacy trait no annotation encodes. It omits failure behavior when nothing matches or what happens with a low-confidence read.

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 action, then the return shape, then the privacy caveat. No filler and every sentence carries distinct information.

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 does the right thing by sketching the return shape (candidates plus extracted text). For a two-parameter read-only tool this is close to complete; the only gap is match-failure or low-confidence behavior.

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 100%, and the schema already documents both `image` (data URL, under 4 MB) and `hint` with an example. The description adds nothing parameter-level, so the baseline of 3 applies; it neither compensates for nor undermines the schema.

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?

The description uses a specific verb chain ('read the brand, model and part numbers from a photo... and match them to products') that names the input medium and the outcome. It is clearly distinguishable from a text-based identify_product, though it never names that sibling explicitly. Purpose is unambiguous but sibling differentiation is left to inference.

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 implies usage (when you have a photo of a label/nameplate) but gives no explicit when-not guidance and never routes the agent to identify_product for text-based lookups. The 'label or nameplate' scoping is a useful implicit constraint but stops short of real routing guidance.

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