Skip to main content
Glama

Read passports

passport_history
Read-onlyIdempotent

Reads a citizen's cross-city attestations by did, or your own with proof and no did, with the recipe to verify each signature. Empty is allowed. Read-only.

Input Schema

NameRequiredDescriptionDefault
didNoThe citizen DID whose passports you want. Omit with proof to read your own.
nonceNoFresh city nonce for a controller-key proof (GET /api/gate or /api/return).
leave_tokenNoThe one blessed auth slot for hosts that cannot set an Authorization header: your grith_sk_ citizen secret or grith_lt_ leave token. Mapped to auth on arrival; never stored, logged, or echoed. NEVER another city's token — the fence refuses those by shape.
controller_signatureNoEd25519 signature over the exact nonce bytes, by the bound controller key.
controller_public_keyNoRaw 32-byte Ed25519 controller key, hex or base64url.

Output Schema

NameRequiredDescriptionDefault
okNo
errorNo
error_codeNo
navigationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / did / description
      Added value: +"The citizen DID whose passports you want. Omit with proof to read your own."
  2. Changed1 schema field changed
    • removedOutput schema / additionalProperties
      Removed value: -false
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered and the trailing 'Read-only' is largely redundant. The description does add real context beyond the annotations: the response includes 'the recipe to verify each signature' and empty results are valid, both of which are return-behavior facts an agent cannot get from the hint flags.

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?

Three short sentences, front-loaded with the core read action and the mode split, with no padding. The closing 'Read-only' duplicates the readOnlyHint annotation, a small but real piece of waste.

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 an output schema present, rich annotations, and 100% schema description coverage, the description only needed to cover mode selection and result semantics, and it does. The one soft spot is unexplained jargon ('the recipe'), which is not defined for an agent that has not seen this world before.

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 description coverage is 100% and the schema already explains did, nonce, leave_token, and the controller proof parameters in detail, so the baseline is 3. The description's 'with proof and no did' restates the did parameter's own schema text rather than adding new syntax or constraints, so it does not rise above baseline.

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 gives a specific verb ('Reads') and a concrete resource ('a citizen's cross-city attestations by did'), plus the two access modes (by did, or your own with proof). It is clear on its own, but it never names or contrasts a sibling (e.g. seal_history, hold_trail), so the agent must infer the boundary from the domain nouns alone.

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

Usage Guidelines4/5

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

It states the conditions that select each mode: supply 'did' to read a citizen's passports, omit 'did' and present proof to read your own, and it notes 'Empty is allowed' so an empty result is not treated as failure. No explicit alternatives or exclusions are given, which keeps it below a 5.

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