Skip to main content
Glama

Re-check the cited spans of a claim

verify_claim
Read-onlyIdempotent

Re-check cited code spans against git blobs to report INTACT, CHANGED, or MISSING, and re-anchor them at a pinned commit for freshness; read-only and not a semantic truth check.

Instructions

Re-read now, from the git blobs, the cited spans of a finding (finding_id) or of up to 8 given citations: integrity at the cited commit (INTACT, CHANGED or MISSING, with the anchor verdict) and, with target_commit, re-anchoring at that pinned commit (identical, unchanged, relocated, changed, ambiguous, missing) with the resulting freshness. For a finding, dependencies and a recorded negative search too, compared with the ledger's recorded checks. Span integrity is not semantic truth: semantic_verdict is always NOT_ASSESSED. Read-only: nothing is written to the ledger.

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_claim"
  }
}

Input Schema

NameRequiredDescriptionDefault
citationsNoCitations to check instead of a finding.
finding_idNoA finding id as listed by find_findings (for example F-0123456789ab or LABEL:ID).
target_commitNoAlso re-anchor the spans on this pinned commit.

Output Schema

NameRequiredDescriptionDefault
dataNo
toolNo
errorNo
notesNo
commitNo
outcomeNo
warningsNo
truncatedNo
next_cursorNo
schema_versionNo
index_generationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and non-destructive behavior, so the 'nothing is written to the ledger' clause is largely redundant. Beyond that, the description adds real value: it discloses the verdict vocabularies, that finding mode also checks dependencies and a recorded negative search against the ledger, and the important caveat that span integrity is not semantic truth (semantic_verdict is always NOT_ASSESSED).

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 'Re-read now, from the git blobs' and every clause carries content, but the opening sentence is a long run-on that packs verdict vocabularies and modes together, making it harder to scan than it needs to be.

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 an output schema present and annotations covering safety, the description needn't explain return values; it still covers the two input modes, the re-anchoring option, and the semantic-truth caveat. Adequate for a read-only verification tool, though sibling differentiation is the missing piece.

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 the schema already documents all three parameters, including the span_sha256 baseline nuance. The description only echoes the 8-citation cap and that target_commit triggers re-anchoring at a pinned commit, adding little beyond the structured fields.

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 — re-read the cited spans from git blobs — and scopes it to either a finding_id or up to 8 explicit citations. The verdict vocabularies (INTACT/CHANGED/MISSING, re-anchoring outcomes) make it clearly distinguishable from get_finding or read_span.

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 when to use it (re-checking integrity at a commit, optionally re-anchoring on a pinned commit) and clarifies that citations are supplied 'instead of a finding,' but it never states when to prefer this over read_span or get_finding, nor any preconditions such as requiring prior indexing.

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