Skip to main content
Glama
SheetForge MCP

SheetForge MCP

by iHeldan

check_report_receipt

Read-only

Compares a retained report receipt with current source and saved values to distinguish source, output, and result changes, flag conflicts, and verify whether data remains current.

Instructions

Compare a retained Recipe report_receipt with current source and saved values.

Distinguishes source_changed, output_changed and result_changed under the
receipt's exact recipe/contract. Keyed groups tolerate row reorder; full-grid
hash still exposes order/padding/header changes. Conflicts require an owner
decision. Invalid sources fail rather than certify currency. No formula
evaluation, style validation, author attribution or automatic writes.
A changed result plus reordered saved output remains a conservative conflict:
conflict_reason/output_values_changed/output_positions_only_changed distinguish
positional drift from changed values or unparseable structure. Do not silently
discard observed ordering. Formats 1/2 retain their original checksum algorithms
only for unambiguous numbers in the receipt and referenced live values;
ambiguous legacy numbers require a new authorized preview/verified commit.
New format 3 matches exact executable numeric identity, not rounded decimals.
Issuance stays capped at 6000 characters; checking allows 24000 for JSON
notation growth without changing checksum validation or write budgets.
Receipts are client-owned bounded JSON, not signatures or write credentials.
Keep them private: they retain group labels/aggregate values and definitions;
hashes can disclose low-entropy data. Reuse approved filepath.

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": {
      "filepath": "<filepath>",
      "report_receipt": "<report_receipt>"
    },
    "name": "check_report_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
filepathYesReuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing.
sample_limitNo
report_receiptYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.16.0

TDQS

A3.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, and the description goes well beyond that: it discloses the change taxonomy (source_changed/output_changed/result_changed), reorder tolerance vs full-grid hash behavior, that conflicts require owner resolution, that invalid sources fail rather than certify, no formula/style/attribution checks, no writes, format 1/2 vs format 3 numeric handling, character caps (6000 issuance / 24000 checking), and a privacy warning about low-entropy hash disclosure. This is unusually rich behavioral context.

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 and the primary change distinctions are front-loaded in the first two sentences, and most of the remaining text carries substantive constraints rather than filler. The block is dense and jargon-heavy, and sentences such as the character-budget one could be tightened, but little is truly redundant.

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

Completeness3/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 does a reasonable job naming the result categories (conflict_reason, output_values_changed, output_positions_only_changed), which is the most important return semantics. However, it omits the receipt object's expected contents and the sample_limit behavior, so an agent could still call it with an incorrectly shaped receipt.

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 coverage is only 33% and report_receipt is a nested object with no documented structure. The description helps by characterizing receipts as 'client-owned bounded JSON' retaining group labels/aggregate values and by reinforcing 'Reuse approved filepath', but it never explains the optional sample_limit parameter or the receipt's expected shape, leaving some ambiguity.

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 opening sentence names a specific verb and resource: 'Compare a retained Recipe report_receipt with current source and saved values.' It is clearly a currency/verification operation rather than a general diff, but it never names or distinguishes itself from siblings like diff_workbooks or audit_workbook, so an agent must infer the boundary.

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 rather than stated: the tool is for checking whether a retained receipt still matches live source values. There are useful routing hints ('ambiguous legacy numbers require a new authorized preview/verified commit', 'Conflicts require an owner decision'), but no explicit when-to-use/when-not-to-use versus the sibling diff and audit tools.

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