Skip to main content
Glama

Candlefish

Verify proof of key

verify_presentation
Read-onlyIdempotent

Check that a cf-presentation+jwt was signed just now by the key a certificate names, for this audience and this nonce.

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": {
      "certificate": "<certificate>",
      "presentation": "<presentation>",
      "audience": "<audience>",
      "nonce": "<nonce>"
    },
    "name": "verify_presentation"
  }
}

Input Schema

NameRequiredDescriptionDefault
nonceYesExpected nonce claim value that the presentation must bind to.
audienceYesExpected aud claim value that the presentation must bind to.
certificateYesCompact cf-sounding+jwt certificate identifying the solver's Ed25519 public key.
presentationYesFresh compact cf-presentation+jwt signed by the solver's key for the expected audience and nonce.

Output Schema

NameRequiredDescriptionDefault
okYes
iatNo
jktNo
jtiNo
errorNo
validNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / audience / description
      Added value: +"Expected aud claim value that the presentation must bind to."
    • addedInput schema / properties / certificate / description
      Added value: +"Compact cf-sounding+jwt certificate identifying the solver's Ed25519 public key."
    • addedInput schema / properties / nonce / description
      Added value: +"Expected nonce claim value that the presentation must bind to."
    • addedInput schema / properties / presentation / description
      Added value: +"Fresh compact cf-presentation+jwt signed by the solver's key for the expected audience and nonce."
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish this as a safe, read-only, idempotent, closed-world operation. The description adds meaningful behavioral constraints beyond them: the presentation must have been signed "just now," the signing key must be the one named by the supplied certificate, and the presentation must bind to the specified audience and nonce.

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 definition is a single front-loaded sentence with no unnecessary wording. The key verification conditions are presented in a compact, readable order.

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 four-parameter verification tool with an output schema and full schema coverage, the description provides enough context to invoke it correctly: it identifies the certificate, presentation, audience, and nonce roles and the freshness requirement. It does not discuss failure modes, but the output schema can carry return-value details.

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%, and the schema already documents all four parameters, including the certificate's role and the expected audience/nonce claims. The description reinforces those relationships but adds little syntactic or semantic detail beyond what the schema provides, so the baseline 3 is appropriate.

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 gives a specific verb ("Check") and resource ("cf-presentation+jwt") plus the verification criteria: signed just now, by the certificate-named key, for the given audience and nonce. It is clear enough to separate this from certificate verification, but it does not explicitly reference any sibling tool as an alternative or contrast.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains what is checked but gives no explicit guidance on when to use this tool versus alternatives such as verify_certificate or the sounding/manifest verification tools. The "just now" freshness condition is implied, but there is no when-to-use or when-not-to-use statement.

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.

Resources