Skip to main content
Glama

Docexp exam and passport photo specs

get_passport_photo_size

Official passport or visa photo size for a country (US passport, US visa, Canada passport, UK passport), quoted from the issuing government page, with the source URL and the date checked.

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": {
      "document": "<document>"
    },
    "name": "get_passport_photo_size"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentYese.g. "US passport", "US visa", "Canada", "UK passport"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose meaningful behavior: values are quoted from the issuing government source and accompanied by the source URL and date checked, which tells the agent the data is authoritative and time-stamped. It stops short of covering unsupported-input behavior or whether results are cached.

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?

A single front-loaded sentence with the resource first and the provenance detail second; nothing is padding. The parenthetical document list mildly duplicates the schema's examples, which is the only small inefficiency.

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?

For a one-parameter lookup with no output schema, the description adequately covers both what goes in (supported document types) and what comes back (size, source URL, date checked). Only the handling of unsupported countries is left unstated.

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 single 'document' parameter already includes example values, so the schema does the heavy lifting. The description's parenthetical list usefully signals the supported scope (four document types), but adds no format or matching rules beyond the examples already in 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?

States a specific resource (official passport or visa photo size) and adds the key qualifier that the value is quoted from the issuing government page with a source URL and check date. An agent can tell this is a requirements lookup rather than a photo-processing tool, though it never names the sibling get_exam_photo_spec as the alternative for exam photos.

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 only implied by the enumerated supported documents (US passport, US visa, Canada passport, UK passport). There is no explicit statement of when to use this versus get_exam_photo_spec, and no guidance on what to do for a country or document type not in that list.

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