Skip to main content
Glama

quote_integrity

Read-onlyIdempotent

Checks a supplied SHA-256 hash and verifies whether a quote appears exactly or normalized within provided text, helping confirm quote-text consistency against a known digest.

Instructions

Check supplied SHA-256 and exact/normalized quote containment. No external source, authorship, freshness or semantic truth verification.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>",
      "quote": "<quote>",
      "expected_sha256": "<expected_sha256>"
    },
    "name": "quote_integrity"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
quoteYes
expected_sha256Yes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's contribution is the explicit scope boundary: no external source lookup, no authorship, no freshness, no semantic truth. That is a genuinely useful disclosure of what the tool will NOT confirm, which prevents over-trust in its result. It stops short of saying how normalization is applied or what happens on a hash mismatch.

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?

Two dense sentences with zero filler, front-loading the core action before the scope disclaimer. The compression slightly hurts comprehension — 'exact/normalized' is ambiguous shorthand — but nothing is redundant.

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?

An output schema exists, so return-value explanation is rightly omitted, and the annotations cover safety. The remaining gap is definitional: for a verification tool the exact matching semantics (what normalization permits) determine whether a result is trustworthy, and that is not stated. Given three required parameters with no schema descriptions, a little more would materially help.

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 0% across three required parameters, so the description carries the explanatory burden and does partially: it links 'SHA-256' to expected_sha256 and 'quote containment' to the text/quote pair, and signals that both exact and normalized matching are performed. It does not clarify which string is searched within which, nor what 'normalized' means (case, whitespace, unicode), leaving material ambiguity at 0% coverage.

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 specific operations: verifying a supplied SHA-256 digest and checking exact/normalized quote containment within text. An agent can tell this is a self-contained integrity check, not a search or retrieval tool. It is compressed and telegraphic, and does not name any sibling to contrast with, which keeps it below 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 Guidelines3/5

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

The negative clause ('No external source, authorship, freshness or semantic truth verification') usefully routes the agent away from expecting provenance or fact-checking, which is real usage guidance. However, there is no positive when-to-use framing, no prerequisite ('you must already have the expected hash from a trusted channel'), and no stated alternative for the cases this tool declines to handle.

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