Skip to main content
Glama
VeriScope MCP Server

VeriScope MCP Server

veriscope_verify_attestation

Verifies the SHA-256 edition hash and Ed25519 signature of a cited quote against canonical records, confirming cryptographic authenticity, integrity, and non-tampering for compliance checks.

Instructions

Mathematically verifies the 64-bit SHA-256 edition hash and Ed25519 digital signature of cited quotes against verified canonical records.

When to Use:

  • Use to verify the cryptographic authenticity, integrity, and non-tampering of an attestation receipt received from veriscope_locate_evidence.

  • Use in compliance checks to mathematically confirm whether a cited text snippet matches the genuine canonical edition.

When NOT to Use:

  • Do NOT use to discover or search for concepts; use veriscope_discover_concepts.

  • Do NOT use to retrieve new evidence snippets; use veriscope_locate_evidence.

  • Do NOT use for checking unformatted bibliography lists in draft papers; use veriscope_audit_citations.

Parameter Combination Modes:

Provide either of the following two parameter combinations:

  1. Path A (Local Hash Verification): Provide concept_id and canon_sha256 to verify against the local verified library ledger.

  2. Path B (Ed25519 Cryptographic Verification): Provide the full attestation object (and optional concept_id) to verify the digital signature against the sovereign public key.

Execution Behavior:

  • Read-only, pure cryptographic verification. Performs constant-time hash and signature checks against public verification keys. Zero state modification.

Returns:

Returns a JSON object containing:

  • is_valid: Boolean (true if hash matches and signature is verified; false if tampered).

  • verification_mode: String ('ed25519_signature' for signed receipts or 'local_hash_lookup' for edition checks).

  • concept_id: Verified concept ID.

  • status: String status code ('OK', 'TAMPER_DETECTED', 'PAYLOAD_MISMATCH', or 'ISSUER_UNTRUSTED').

  • message: Human-readable verification explanation.

Edge Cases & Errors:

  • If neither canon_sha256 nor attestation is provided, returns status: 'error' explaining that at least one verification payload must be supplied.

  • If a signature is forged or hash is tampered, returns is_valid: false with status: 'TAMPER_DETECTED'.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "veriscope_verify_attestation"
  }
}

Input Schema

NameRequiredDescriptionDefault
concept_idNoCanonical concept identifier corresponding to the attestation (e.g. 'VS-SOC-001').
attestationNoFull attestation receipt object containing signature, timestamp, and coordinates returned by veriscope_locate_evidence. Used for Path B cryptographic verification.
canon_sha256No64-character SHA-256 edition hash to verify against canonical physical volume records. Used for Path A local verification.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.1.9
    • changedInput schema / properties / attestation / description
      Previous value: -"Optional full attestation receipt object containing signature, timestamp, and coordinates returned by veriscope_locate_evidence."New value: +"Full attestation receipt object containing signature, timestamp, and coordinates returned by veriscope_locate_evidence. Used for Path B cryptographic verification."
    • changedInput schema / properties / canon_sha256 / description
      Previous value: -"64-character SHA-256 edition hash to verify against the canonical physical volume record."New value: +"64-character SHA-256 edition hash to verify against canonical physical volume records. Used for Path A local verification."
  2. Changed3 schema fields changedv1.1.8
    • changedInput schema / properties / attestation / description
      Previous value: -"Optional full attestation receipt object."New value: +"Optional full attestation receipt object containing signature, timestamp, and coordinates returned by veriscope_locate_evidence."
    • changedInput schema / properties / canon_sha256 / description
      Previous value: -"64-bit SHA-256 hash to verify against sovereign ledger."New value: +"64-character SHA-256 edition hash to verify against the canonical physical volume record."
    • changedInput schema / properties / concept_id / description
      Previous value: -"Canonical concept identifier (e.g. 'VS-SOC-001')."New value: +"Canonical concept identifier corresponding to the attestation (e.g. 'VS-SOC-001')."
  3. First observedv1.0.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses read-only pure-cryptographic execution, constant-time checks against public verification keys, zero state modification, the two verification modes, all returned status codes, and failure behavior for forged signatures or tampered hashes. Minor imprecision ('64-bit SHA-256 edition hash' conflates bit-length with the 64-character hex digest) is the only blemish.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action, then organized under clear headers so an agent can scan to the relevant section. Some redundancy exists between the Returns and Edge Cases sections, which restate the same status codes (TAMPER_DETECTED, error on missing payload), but the length is justified for a dual-mode verification tool.

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?

No output schema exists, so the description must describe return values, and it enumerates is_valid, verification_mode, concept_id, status and message with their possible values. Combined with the parameter-mode explanation and error cases, an agent has everything needed to call this correctly and interpret the result.

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?

Schema coverage is 100%, so baseline is 3, but the description adds meaning the schema cannot express: the Path A / Path B alternative (concept_id + canon_sha256 vs. full attestation object) and the fact that either payload satisfies the call, despite the schema declaring zero required parameters and no oneOf constraint. It also states provenance of the attestation object (returned by veriscope_locate_evidence), which is operationally useful.

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 specific verb and resource: 'Mathematically verifies the 64-bit SHA-256 edition hash and Ed25519 digital signature of cited quotes against verified canonical records.' This is a concrete cryptographic verification action, clearly distinct from the sibling tools named (discover_concepts, locate_evidence, audit_citations).

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

Usage Guidelines5/5

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

Provides explicit 'When to Use' and 'When NOT to Use' sections, and each exclusion routes to a named alternative with the condition that selects it (e.g. use veriscope_locate_evidence to retrieve new snippets, veriscope_audit_citations for unformatted bibliography lists). Nothing about tool selection is left to inference.

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