Skip to main content
Glama

verify_card

Verify a signed gspc.measurement-card under the published rule (https://councilof.ai/signed/HOW-TO-VERIFY.md): recompute the id from the canonical body bytes, then check the Ed25519 signature under the PINNED key published at did:web:csoai.org#card-attestation-1. A card that carries its own key proves only that the file is self-consistent — anyone can alter a body and sign it with a key they just generated — so a signer other than the published key is reported INVALID. Three verdicts, never two: VALID, INVALID (with the reason), or UNCHECKABLE when the check could not be completed — 'could not check' is a different claim from 'forged'. Accepts the card as a JSON object, a JSON string, or a councilof.ai / csoai.org URL. Never a certification.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardYesThe signed card: an object, a JSON string, or a councilof.ai / csoai.org URL to one.

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries full behavioral burden and does so excellently. It reveals the exact verification algorithm, the security rationale (self-issued keys prove only self-consistency), and the three verdicts with their meanings, including the subtle UNCHECKABLE vs INVALID distinction.

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 long but every sentence earns its place: it covers the mechanism, security rule, verdict semantics, accepted input types, and exclusions without filler. The core action and verdicts are front-loaded, with rationale and caveats following naturally.

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 cryptographic verification tool with no annotations and no output schema, this description is exceptionally complete. It covers input formats, the canonical-body recomputation, Ed25519 signature checking, the pinned key reference, the self-consistent-card failure mode, and the full verdict taxonomy, leaving little ambiguity for an agent.

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?

The schema already documents the single `card` parameter at 100% coverage, so the baseline is 3. The description adds meaningful clarification by stating accepted forms (JSON object, JSON string, councilof.ai / csoai.org URL) and, importantly, the negative constraint 'Never a certification,' which helps agents avoid a likely misuse.

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?

The description clearly states the specific action ('Verify a signed gspc.measurement-card'), the verification rule, and the three possible verdicts. It distinguishes itself from siblings such as get_card and verify_inclusion by focusing on cryptographic signature verification against a pinned key, and 'Never a certification' further narrows the tool's role.

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 description provides clear context: use this tool when you need to verify a signed measurement card against the published pinned key, and it explains the UNCHECKABLE vs INVALID distinction. However, it does not explicitly name alternatives such as verify_inclusion or state when not to use this tool, so it stops short of full routing guidance.

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.

TDQS

A4.3/5.0
Disambiguation5/5

Each tool maps to a distinct operation: aggregate board totals, one axis row, a card leaf, the public root, the card index, signature verification, and inclusion verification. The descriptions carefully separate overlapping concepts such as measured vs. unmeasured, GSPC vs. public-root, and signature vs. inclusion, so an agent is unlikely to select the wrong tool.

Naming Consistency4/5

Most tools follow a clear verb_noun pattern: get_axis, get_card, get_root, list_cards, verify_card, verify_inclusion. board_totals breaks the pattern by using a noun phrase rather than an imperative verb, but the naming is still snake_case, readable, and not chaotic.

Tool Count5/5

Seven tools is well-scoped for a read-and-verify service: two GSPC board queries, three root/card retrieval or listing operations, and two verification checks. Each tool earns its place and there is no obvious redundancy.

Completeness5/5

The tool surface covers the full read/verify lifecycle: board totals, individual axes, root and card retrieval, card listing, signature verification, and merkle inclusion checks. Write or admin operations are not implied by the server's purpose, so there are no apparent dead ends.

Resources