Skip to main content
Glama

verify_document_numerals

MEMO7 Verify – Numeral Verification. Ground every figure in document_text against source_data (CSV, TSV, JSON, Markdown table, or HTML table as UTF-8 text. Convert XLSX, Parquet, PDF, and DOCX locally first. Never send binary.). Returns PASS/FAIL, grounded_count, ungrounded_numerals, lineage, and a SHA-256 receipt. Does not run MEMO7 econometric models. Limits: 150 KB document, 250 KB source. Docs: https://memo7.app/verify

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": {
      "document_text": "<document_text>",
      "source_data": "<source_data>"
    },
    "name": "verify_document_numerals"
  }
}

Input Schema

NameRequiredDescriptionDefault
source_dataYesCSV, TSV, JSON, Markdown table, or HTML table as UTF-8 text. Convert XLSX, Parquet, PDF, and DOCX locally first. Never send binary. Max 250 KB.
document_textYesExtracted report text or HTML. Max 150 KB. Never send PDF/DOCX bytes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does reasonably well: it enumerates return fields (PASS/FAIL, grounded_count, ungrounded_numerals, lineage, SHA-256 receipt), states size limits, and specifies accepted input encodings plus local-conversion prerequisites. It does not state whether the call is side-effect free or whether inputs are retained, which is a minor gap for a tool that issues a receipt.

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?

Purpose is front-loaded in the first sentence, followed by input constraints, outputs, exclusions, and limits in a compact sequence. There is some duplication of the schema's format/limit text, but no filler sentences.

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?

For a two-parameter verification tool with no output schema and no annotations, the description supplies the return field list, input formats, conversion prerequisites, and size caps. What remains missing is side-effect/retention behavior, which would matter for any agent handling sensitive documents.

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 both parameters. The description adds the size limits and format list, but that text duplicates what the schema fields already say verbatim rather than adding new meaning. 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?

The description names a specific verb ('ground every figure in document_text against source_data') and a precise resource (numerals), so the agent knows this is a numeral-to-source grounding check. It also excludes a class of work ('Does not run MEMO7 econometric models'), which narrows scope. It stops short of naming which sibling verifier to use instead (verify_report, verify_directional_claims), so it is clear but not fully differentiated.

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?

Usage is implied by the phrasing 'ground every figure ... against source_data', and hard constraints (150 KB document, 250 KB source, UTF-8 text only, never binary) are stated. However, there is no explicit when-to-use/when-not guidance relative to the sibling verify_* tools beyond the econometric-model exclusion, leaving the agent to infer routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources