Skip to main content
Glama

Verify an authority letter offline

verify_authority_letter
Read-onlyIdempotent

Verify signed authority letters offline by checking signatures, signed dates, and listed actions against trusted public keys to confirm authenticity and scope.

Instructions

Check the letter signature, signed dates and listed action against trusted public keys. Live status is unknown.

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": {
      "jws": "<jws>",
      "jwks": "<jwks>",
      "asOf": "<asOf>"
    },
    "name": "verify_authority_letter"
  }
}

Input Schema

NameRequiredDescriptionDefault
jwsYes
asOfYes
jwksYesPublic key set obtained from a trusted issuer source. Never include private key material.
actionNoCheck whether this action is listed in the signed scope. This does not grant access or establish permission.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuine context beyond that: verification is done offline against supplied keys, and live status (e.g., revocation or current validity) is explicitly not determined — a caveat an agent needs before trusting a positive result.

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 with no filler, and the caveat about unknown live status is placed immediately after the capability statement where it is most useful.

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

Completeness3/5

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

For a four-parameter tool with a nested JWKS object and no output schema, the description never indicates what comes back — overall valid/invalid, per-check breakdown, or failure reasons — which leaves the agent guessing about the result shape. The offline scope caveat helps, but the return-value gap is notable given there is no output schema to lean on.

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 50%: jwks and action carry their own descriptions, while jws and asOf do not. The description gestures at all four parameters ('letter signature', 'signed dates', 'listed action', 'trusted public keys'), but it never clarifies that asOf is the evaluation date nor what format the letter takes, so it only partly compensates for the undocumented half.

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 verb and the three things verified (signature, signed dates, listed action) plus the trust anchor (public keys), which goes well beyond the title's 'offline' framing. The sibling tools (draft_ss4, get_compliance_deadlines, get_state_fees) are unrelated, so the absence of explicit sibling differentiation costs little.

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?

'Live status is unknown' implicitly signals this is an offline/point-in-time verification path, which hints at when to reach for it. However there is no explicit statement of when to use this versus a live status check, nor any note about prerequisites such as obtaining the key set from a trusted issuer.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.