Skip to main content
Glama

Verify Endorsement

verify_endorsement
Read-onlyIdempotent

Validates an endorsement's signature against the public key it carries, confirming the endorsement is intact and signed by that key. Does not confirm key ownership; supply a trust anchor separately.

Instructions

Check an endorsement's signature against the principalPublicKey the endorsement itself carries. What a valid result establishes: the endorsement is intact and signed by that key. What it does not establish: that the key belongs to the principal it names, which needs a trust anchor you supply out of band.

Input Schema

NameRequiredDescriptionDefault
endorsement_idYesEndorsement 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.5/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), and the description goes well beyond them by disclosing the security boundary of the result: signature validity is proven, key-to-principal binding is explicitly not. That prevents the agent from over-trusting a 'valid' outcome.

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?

Three tight sentences, action first, then the positive guarantee, then the negative boundary. No filler and nothing redundant.

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 one-parameter verification tool with no output schema, the description supplies exactly what is needed: what a positive result means and its limits. Nothing an agent needs to interpret the result is missing.

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% for the single endorsement_id parameter, so the schema already carries the parameter's meaning. The description's reference to principalPublicKey describes the endorsement's contents, not the input, so it adds nothing beyond the schema baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a precise verb and object ('Check an endorsement's signature') plus the exact key it checks against, which cleanly separates it from sibling verification tools like verify_delegation, verify_issuer, and verify_charter.

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 'what a valid result establishes / does not establish' framing tells the agent when this tool is sufficient and when it is not (when a trust anchor is required), which is strong conditional guidance. It stops short of naming a specific alternative sibling to use in the out-of-band case.

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