Skip to main content
Glama

Verify Passport

stack_verify_passport
Read-only

Verify a Passport token, including a live revocation check. Returns the agent identity and scopes when the token is valid.

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": {
      "token": "<token>"
    },
    "name": "stack_verify_passport"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesPassport JWT token

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already carry the safety profile (readOnly, non-destructive, closed-world), and the description adds genuinely new behavior: the check is a live revocation check, and it returns agent identity plus scopes on success. That is useful context an agent cannot get from annotations. It stops short of 5 because the failure path is undisclosed — whether an invalid or revoked token errors or returns a negative result is unclear.

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?

Two short sentences, front-loaded with the action and immediately followed by the key behavioral qualifier and the return value. No filler or restated title text.

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-only verification tool with annotations and no output schema, the description covers purpose, the live-check behavior, and what is returned. The main remaining gap is the negative outcome — expired, malformed, or revoked token handling — which an agent calling this would reasonably want to know in advance.

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?

There is a single required token parameter at 100% schema description coverage, so the schema already documents it fully. The description implies a JWT Passport token is expected but adds no format, expiry, or sourcing detail beyond what the schema states, which is the baseline for high-coverage schemas.

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 names a specific verb and resource ('Verify a Passport token') and pins the scope with 'including a live revocation check', which is more precise than the bare title. It does not explicitly contrast with near-neighbors like stack_get_passport_report or stack_audit_verify_chain, so it falls short of a 5.

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: an agent can infer this is the call for validating a token before relying on it. There is no explicit when-to-use/when-not guidance, no mention of what to call instead when the token is expected to be reissued (e.g. refresh) or revoked, and no stated prerequisites.

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.