Skip to main content
Glama

KeyHalve - verify sealed documents

keyhalve_verify

Read-only

Verify a KeyHalve-sealed document. Accepts a verify URL, the raw text of a KeyHalve QR code, or a document id (vp_…, kh_…, cb_…). Returns the cryptographic verdict: whether the seal exists, its live status (active/revoked/expired), ciphertext integrity against the issuance commitment, the KeyHalve rail's independent attestation, the validity window, and the issuer's trust context. This tool NEVER decrypts sealed contents — any decryption key in the URL fragment is discarded unread; contents are only readable by opening the verify URL in a browser.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesA KeyHalve verify URL, QR-code text, or bare document id.

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the readOnlyHint and openWorldHint annotations, the description discloses critical behavioral traits: 'This tool NEVER decrypts sealed contents — any decryption key in the URL fragment is discarded unread; contents are only readable by opening the verify URL in a browser.' This adds significant privacy context and clarifies the tool's non-decrypting nature, which is beyond what annotations provide.

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 concise and front-loaded, starting with the core purpose. It uses three sentences to cover inputs, outputs, and a critical behavioral constraint, with no wasted words. Every sentence provides actionable information.

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?

Given a single-parameter tool with no output schema, the description is highly complete: it enumerates all accepted input types, lists the specific return fields (existence, live status, ciphertext integrity, attestation, validity window, issuer trust context), and explains the non-decryption behavior. This fully contextualizes the tool's operation and results.

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 input schema describes the parameter as 'A KeyHalve verify URL, QR-code text, or bare document id.' The description adds specific id prefixes (vp_…, kh_…, cb_…) and clarifies that it accepts the raw text of a QR code, enhancing the schema's coverage. With 100% schema coverage, this extra detail justifies a score above the baseline of 3.

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 states the tool's function: 'Verify a KeyHalve-sealed document.' It specifies the exact verb (Verify) and resource (KeyHalve-sealed document), and lists accepted input forms. However, it does not explicitly distinguish itself from sibling tools like keyhalve_status or keyhalve_explain, so it lacks direct sibling differentiation.

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

Usage Guidelines3/5

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

The description implies usage context: it is for verifying sealed documents and returns a cryptographic verdict. It explains what inputs are accepted but does not explicitly state when to use this tool versus alternatives, nor does it mention exclusions or conditions. Thus, usage is implied rather than explicitly guided.

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.5/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: explain provides plain-language context, status gives a quick live check, and verify performs full cryptographic verification. There is no overlap or ambiguity between them.

Naming Consistency5/5

All tools follow a consistent pattern with the 'keyhalve_' prefix and descriptive verbs (explain, status, verify). The use of 'status' as a noun is slightly atypical but doesn't break the convention.

Tool Count5/5

Three tools is perfectly scoped for a verification-focused server. Each tool earns its place, covering explanation, quick status, and full verification without redundancy.

Completeness5/5

The domain is document verification, and the three tools cover the entire user journey: understanding the verdict (explain), checking current status (status), and performing a full verified check (verify). No management operations are expected for this read-only verification service.