Skip to main content
Glama

Verify Delegation

verify_delegation
Read-onlyIdempotent

Verify a delegation's signature and validity window. Confirms the artifact is intact and internally consistent; does not check authority or revocation.

Instructions

Check a delegation's signature and its stated window. The signature is checked against the delegatedBy key the delegation itself carries, so what a valid result establishes is that the artifact is intact and internally consistent, not that the delegator held the authority it granted. Revocation is not consulted here. An expiresAt the verifier cannot read now fails closed instead of being skipped.

Input Schema

NameRequiredDescriptionDefault
delegation_idYesDelegation ID to verify

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv4.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Addedv2.8.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds genuinely non-obvious behavior: verification is self-referential (checked against the delegatedBy key the artifact carries), revocation is out of scope, and an unreadable expiresAt fails closed. These are exactly the traits an agent needs and cannot derive from the safety hints.

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 sentences, front-loaded with the action and then layering scope caveats; every sentence carries information. Dense but not padded, though the second sentence is long and could be split for scannability.

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?

With no output schema, the description compensates by spelling out the meaning of a valid result (intact and internally consistent, not authoritative) and the fail-closed edge case. Combined with annotations covering safety, an agent has everything needed to call and interpret it.

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% with a single required delegation_id parameter, so the schema already documents the input. The description adds nothing about the parameter (format, source, or lookup semantics), leaving this at the baseline for fully-covered 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?

States a specific verb (verify/check) and resource (a delegation's signature and stated window), which is precise enough to separate it from create_delegation, revoke_delegation, and sub_delegate. It stops short of naming the verification siblings (verify_issuer, verify_endorsement) it could be confused with, so the differentiation is implicit rather than explicit.

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?

Strong boundary-setting: it says what a valid result does NOT establish (delegator authority) and that revocation is not consulted, which tells the agent when this tool is insufficient. It never names the alternative tool for authority or revocation checks (e.g. evaluate_revocation_impact, resolve_authority), so routing is left to inference.

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

Deploy Server

Other Tools