Skip to main content
Glama
PolicyCortex Evidence Review MCP Server

PolicyCortex Evidence Review MCP Server

Official
by PolicyCortex

Verify SHA3-256 Evidence Ledger Stream

verify_evidence_ledger
Read-onlyIdempotent

Cryptographically verifies PolicyCortex evidence ledger JSONL SHA3-256 hash chains across state capture, change, gap, and agency records, or validates the official public sample chain.

Instructions

Cryptographically verify a PolicyCortex Evidence_History/ledger.jsonl SHA3-256 hash chain (state_capture, change_record, declared_gap, agency_record), or verify the official public sample chain.

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": "verify_evidence_ledger"
  }
}

Input Schema

NameRequiredDescriptionDefault
jsonl_linesNoOrdered JSONL lines from Evidence_History/ledger.jsonl.
organization_idNoOptional organization UUID to enforce tenant boundary consistency across every record.
use_public_sampleNoSet true to verify the genesis prefix of the official PolicyCortex public sample package.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds useful scope detail (which record types are chained, that tenant boundary consistency can be enforced), but with no output schema it says nothing about what a verification result contains or how a broken chain is reported.

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?

A single front-loaded sentence with no filler; the parenthetical record-type list is dense but earns its place by scoping the chain contents. Slightly harder to scan than it could be, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only verifier with no output schema, the definition should clarify the outcome shape (valid/invalid, per-line failure reporting) since the structured fields cannot. It also leaves ambiguous what happens when zero required parameters are supplied — an agent cannot tell whether jsonl_lines is mandatory unless use_public_sample is true.

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%, so all three parameters are already documented, including the optional organization_id tenant enforcement and the use_public_sample flag. The description adds only the record-type vocabulary and the sample-chain concept, not new parameter semantics, so the baseline of 3 applies.

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 ('Cryptographically verify') and resource ('Evidence_History/ledger.jsonl SHA3-256 hash chain'), enumerates the record types covered (state_capture, change_record, declared_gap, agency_record), and names the alternate target (official public sample chain). An agent can tell exactly what this tool does and that it is unrelated to the sibling capabilities lookup or POAM review.

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 two usage paths — verifying a supplied ledger vs. the public sample — but never states the condition that selects one over the other, which is left to the boolean parameter description in the schema. There are no prerequisites, exclusions, or failure-handling notes, so usage is only implied.

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