Skip to main content
Glama

verify_witness

Check a hydration witness against the current store to see if the answer is stale: digest mismatch means store changed, source mismatch means a pinned source moved. Deterministic, no LLM.

Instructions

Check a hydration witness against the store as it is NOW. digest_match=true means the store is still in the exact state the witness pinned; false means the answer that carried it predates a change (stale serve made visible instead of silent). Deterministic re-computation, no LLM.

A witness taken with bind_sources=True also re-reads its pinned sources: stale_at_use is True when one moved between the check and this call. The store answer (digest_match) and the world answer (sources_match) stay separate, because a moved source wants revalidation and a changed digest wants re-derivation.

LIMIT, stated because it decides a verdict: a custom resolver cannot cross this boundary — it is a Python callable — so only sources readable as local files are re-read here. A pinned URL comes back in sources_orphaned, which is neither a match nor a mismatch and does NOT read as clean. For non-file sources call verify_witness(w, resolver=...) in-process.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
witnessYes
Install Server

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and delivers: deterministic re-computation, no LLM, behavior of `bind_sources=True`, separation of `digest_match` and `sources_match`, and the orphaned-URL case that must not be read as clean. It even explains why a moved source wants revalidation versus a changed digest wanting re-derivation.

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 dense but every sentence carries decision-relevant detail, and it is front-loaded with the primary meaning and result interpretation before the nuanced source-binding behavior and limitation. The LIMIT paragraph earns its place because it changes how a verdict should be interpreted.

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 minimal schema, no output schema, and no annotations, the description is unusually complete: it names the key return fields (`digest_match`, `stale_at_use`, `sources_match`, `sources_orphaned`), explains edge cases, and gives the fallback invocation. An agent has enough information 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?

The input schema provides only a free-form `witness` object with 0% description coverage, so the description must compensate. It adds real meaning by explaining that the witness pins a store digest, may carry `bind_sources=True`, has pinned sources, and can involve a resolver, but it stops short of describing the expected witness object shape or how to obtain one.

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 opens with a specific verb and resource: 'Check a hydration witness against the store as it is NOW,' and immediately defines the core result (`digest_match`). The witness-specific concepts (digest, pinned sources, stale serve) clearly separate this from sibling verify_* tools.

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?

It explicitly states the boundary of use: a custom resolver cannot cross the process boundary, so only local-file sources are re-read here, and non-file sources require calling `verify_witness(w, resolver=...)` in-process. This gives the agent a concrete when-to-use / when-not-to-use rule.

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

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/DanceNitra/inspeximus'

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