Skip to main content
Glama
synpareia

Synpareia Trust Toolkit

Official

witness_verify_seal

Verify a sealed witness timestamp or state offline by reconstructing the signing envelope and validating the Ed25519 signature. Returns validity or missing input error.

Instructions

Verify a witness seal offline — no calls to the witness service.

Easiest call: feed the fields from a witness_seal_timestamp / witness_seal_state response straight in — its verify_followup.params already lists exactly what to pass, including the witness public key. This reconstructs the signing envelope and checks the Ed25519 signature.

For timestamp seals: pass target_block_hash_hex. For state seals: pass target_chain_id and target_chain_head_hex. The pre-0.6.2 seal-response field names (target_block_hash, target_chain_head) are accepted as aliases, so a seal response piped in verbatim verifies correctly.

Returns valid: True/False. If the fields needed to rebuild the envelope are missing, returns a structured incomplete_verification_input error — NOT valid: false — because a missing target means the request was under-specified, not that the seal is forged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seal_typeYes
sealed_atYes
witness_idYes
target_chain_idNo
target_block_hashNo
target_chain_headNo
target_block_hash_hexNo
target_chain_head_hexNo
witness_signature_b64Yes
witness_public_key_b64Yes
Behavior5/5

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

The description fully discloses behavior: it operates offline, reconstructs the envelope, checks Ed25519 signature, returns valid: True/False, and returns a specific error for missing target fields. It explains that missing targets lead to incomplete_verification_input error, not a false valid flag. No annotations are provided, so the description carries the full burden and meets it well.

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 well-structured: an opening summary, usage guidance, specifics for seal types and aliases, and return value/error behavior. Every sentence adds value without redundancy.

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 the tool has no output schema and 10 parameters, the description is remarkably complete. It explains the input expected from seal responses, the difference between seal types, alias handling, the boolean output, and the error condition. No important aspects are omitted.

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 has 10 parameters with 0% description coverage. The description explains the key target parameters (target_block_hash_hex for timestamp, target_chain_id and target_chain_head_hex for state) and alias fields (target_block_hash, target_chain_head). It implies the other required parameters come from the seal response, but does not explicitly describe each one. This provides valuable context beyond the schema, though not exhaustive.

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 tool verifies witness seals offline, reconstructing the signing envelope and checking Ed25519 signatures. It distinguishes itself from sibling tools like witness_seal_timestamp and witness_seal_state by emphasizing offline verification and using their responses as input.

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 explicit guidance on when to use the tool: for verifying seals offline by feeding fields from witness_seal_timestamp or witness_seal_state responses. It explains the difference between timestamp and state seals and mentions alias field names for backward compatibility. However, it does not mention when not to use this tool versus other verification tools like verify_claim.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/synpareia/trust-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server