Skip to main content
Glama

Verify Governance Block

verify_governance_block
Read-onlyIdempotent

Verify a governance block's signature, content hash, DID consistency, and expiry against original content; unreadable expiry fails closed.

Instructions

Verify a governance block's signature, content hash, DID consistency and expiry against the original content. A block whose expiry cannot be read now fails closed rather than being treated as unexpired.

Input Schema

NameRequiredDescriptionDefault
blockYesGovernance block JSON string
contentYesOriginal content to verify against
publicKeyYesPublisher's Ed25519 public key (hex)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv4.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Addedv2.8.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent and non-destructive, so the safety profile is settled. The description adds genuinely useful behavior that annotations cannot express: an unreadable expiry fails closed instead of being treated as unexpired, which is exactly the kind of failure-mode disclosure an agent needs. It stops short of 5 because it does not say what the verification result looks like or how partial failures are reported.

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?

Two sentences, zero filler, with the verification scope front-loaded ahead of the fail-closed caveat. Every clause carries information the agent needs.

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

Completeness4/5

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

With no output schema, the description should ideally state the shape of the verification result (boolean vs per-check report) and what a caller does on failure; that is the one omission. Otherwise the inputs, the checks performed, and the fail-closed edge case are complete for a three-parameter read-only verifier.

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% and all three parameters are documented in the schema (block JSON, original content, Ed25519 public key hex). The description only loosely ties 'against the original content' to the content parameter and 'signature' to publicKey, adding little syntax or format detail beyond the schema. Baseline 3 applies.

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?

States a specific verb (verify) and resource (governance block) and enumerates the exact facets checked: signature, content hash, DID consistency and expiry. An agent can distinguish this from generate_governance_block or parse_governance_block_html, but the description never names a sibling to route against, so it falls short of a 5.

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

Usage Guidelines2/5

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

There is no statement of when to reach for this tool versus verify_charter, verify_amendment, verify_delegation, or the generate/parse governance-block siblings. The phrase 'against the original content' hints at a precondition, but no exclusions, prerequisites, or alternative-selection guidance is given.

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

Deploy Server

Other Tools