Skip to main content
Glama

Verify a TRACE delegation chain

verify_delegation_chain

TRACE v0.2 delegation-chain conformance, stateless, no account: index every Trust Record by the RFC 8785 digest of its complete form, start at the leaf, follow delegation.parent_record_hash to the root, and check each hop's signature, the root key against trusted_root_keys, the depth bound, the link's digest algorithm, the credential (registered, issuer = parent subject, holder = record subject, window at the hop's own iat) and data_class narrowing under data_class_lattice. Classification: provenance-invalid outranks authorization-invalid; an unread link is unverifiable, not broken. Pass records as a JSON array or as file text (one record per line or a JSON array).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contextNo
recordsYesThe record set in any order: a JSON array of records (objects or strings), or the raw text of a file.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteYes
walkYes
codesYes
depthYes
failuresYes
warningsYes
classificationYes
first_broken_linkYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries full weight and delivers: it states statelessness, no account, the exact traversal and verification checks, classification precedence, and the special handling of unread links. This goes well beyond a generic 'verify' claim and tells the agent exactly what happens.

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?

The description is dense but efficient, front-loading the core purpose and statelessness before the detailed algorithm. Every clause adds operational information; the length is justified by the complexity of a delegation-chain conformance check.

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

Completeness5/5

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

For a complex tool, the description covers the full verification algorithm, the classification semantics, and the accepted input formats. Since an output schema is present, the absence of return-value explanation is not a gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%, but the description compensates by specifying the records input format (JSON array or file text, one per line) and by mapping each verification step to context parameters like trusted_root_keys, credentials, supported digest algorithms, and data_class_lattice. It adds meaning that is not apparent from the bare 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?

The description clearly identifies the tool as a TRACE v0.2 delegation-chain conformance checker and enumerates the exact verification steps, so an agent can tell it verifies chains rather than single records. However, it never explicitly contrasts itself with sibling tools like verify_trace_record or verify_chain.

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?

The context is clear: this is a stateless, no-account conformance check for delegation chains, and the description gives explicit input-passing guidance. It does not mention when-not-to-use or name alternative tools, but the domain and behavior make the intended use unambiguous.

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.