Skip to main content
Glama
xlsx-for-ai

xlsx-for-ai

by senoff

xlsx_verify_receipt

Read-onlyIdempotent

Verify an .xlsx workbook's embedded AI-generation receipt by checking signature validity, content-hash match, and declared claims to confirm provenance and integrity.

Instructions

Use this when you need to verify a workbook's embedded AI-generation receipt — signature validity, content-hash match, and the full declared claims.

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": {
      "file_path": "<file_path>"
    },
    "name": "xlsx_verify_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYesAbsolute path to the .xlsx file to verify.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv4.3.1
    • removedInput schema / properties / file_b64
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / file_path
      Added value: +{
      +  "description": "Absolute path to the .xlsx file to verify.",
      +  "type": "string"
      +}
    • removedInput schema / properties / workbook_handle
      Removed value: -{
      -  "maxLength": 128,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • addedInput schema / required
      Added value: +[
      +  "file_path"
      +]
  2. First observedv3.2.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered structurally. The description adds real value by naming exactly what is inspected (signature, hash, claims), but it never states the outcome behavior — whether a failed verification raises an error, returns a negative result, or partially succeeds when only one of the three checks fails.

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?

One tightly packed sentence with the use condition front-loaded and the three verification targets in an em-dash list. No wasted preamble, though the dash construction makes it read as a compressed enumeration rather than a structured statement.

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?

For a one-parameter read-only tool this covers the core intent, but there is no output schema, so the description carries the burden of explaining what a verification result looks like and does not — an agent cannot tell whether to expect a boolean, a claims list, or an exception on mismatch.

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?

Single parameter with 100% schema description coverage ('Absolute path to the .xlsx file to verify'), so the schema already carries the semantics. The description adds nothing about the path parameter — no constraints on file type beyond .xlsx, no relative-path caveat — which matches the baseline 3 for high-coverage schemas.

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?

Specific verb-plus-resource: 'verify a workbook's embedded AI-generation receipt', with the three checks (signature validity, content-hash match, declared claims) named explicitly. It is easy to distinguish from a stamp-oriented sibling in principle, but the description never says how it differs from xlsx_verify_stamp or xlsx_receipt, so sibling differentiation is left implicit.

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 opening 'Use this when you need to verify...' gives a trigger condition, but it largely restates the purpose rather than adding context. There are no when-not conditions, no prerequisites (e.g. must the file actually contain a receipt?), and no named alternatives for the verification/stamp case.

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