Skip to main content
Glama

Passport Sorted: passport & visa photo rules

get_product

Read-onlyIdempotent

Details and price for one product, including how it is delivered and the page to buy it.

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": {
      "code": "<code>"
    },
    "name": "get_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesProduct code from list_products, e.g. 'credits-10', 'print-sheet', 'family-pack'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds partial return-content context (price, delivery method, purchase page) that the annotations do not provide, but "Details" stays vague and nothing is said about error behavior for invalid codes. With annotations carrying the safety burden, a 3 is appropriate.

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 identifying the resource, its scope, and what comes back, with no filler. It could be marginally tighter, but every clause contributes.

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 read tool with rich annotations and no output schema, the description does most of the necessary work by hinting at returned fields (price, delivery, purchase URL). The remaining gaps — what exactly "Details" covers and what happens with an invalid code — are minor for a tool this simple.

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 "code" parameter is already documented with a source (list_products) and concrete examples like 'credits-10'. The description adds no meaning beyond the schema, and 0-param/fully-covered baselines put this at 3.

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?

"Details and price for one product" names a specific verb (fetch details) and resource (a single product), and the phrase "one product" implicitly contrasts with the sibling list_products. It stops short of naming the alternative explicitly, so it is clear but not maximally differentiated.

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: "one product" signals this is the single-item lookup once a code is known, and the schema's reference to list_products reinforces that ordering. There is no explicit when-to-use statement, no exclusion of alternatives such as list_products or get_photo_spec, and no note about behavior on an unknown code.

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