Skip to main content
Glama

Measure lengths in photos

measure_photo

Lengths in photos: per photo its id, size, references (a length the person confirmed in it), measurements, checks; 2 points each. id: an earlier job.

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": {
      "house": "<house>"
    },
    "name": "measure_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
houseYes
photosNo
endpoint_error_pxNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

D1.8/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false, so this mutates state, yet the description never says what is created or persisted, whether prior measurements are overwritten, or what permissions are needed. The one useful disclosure is that "references" means a length the person confirmed, which hints at human-in-the-loop behavior, but that is thin for a non-idempotent write tool.

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

Conciseness2/5

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

The text is a semicolon-separated fragment pile that is hard to parse on first read, and it opens with output-shape detail instead of the operation. Nothing is padded, but the structure actively impedes comprehension rather than front-loading the essential action.

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

Completeness2/5

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

With four undocumented parameters, no output schema, and mutation annotations, the description should explain both the request and the effect. It instead gives a partial sketch of return fields plus one parameter gloss, leaving an agent unable to call it confidently alongside measure_image.

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

Parameters2/5

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

Schema description coverage is 0% across four parameters, so the description must compensate and largely does not. It glosses "id" as an earlier job and sketches the photos array contents (id, size, references, measurements, checks; two points each), but "house" and "endpoint_error_px" — the latter clearly a pixel tolerance — are left entirely unexplained.

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

Purpose2/5

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

"Lengths in photos" is essentially a restatement of the title, with no verb telling the agent what action is performed (creates measurements? reads them? submits them?). The rest of the text enumerates per-photo result fields rather than stating the tool's operation, and nothing distinguishes it from the sibling measure_image or make_to_measure.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as measure_image or make_to_measure. The only positional clue is "id: an earlier job," which implies sequencing but never states it as a condition.

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