Skip to main content
Glama
xlsx-for-ai

xlsx-for-ai

by senoff

xlsx_verify_stamp

Read-onlyIdempotent

Verify an .xlsx workbook's embedded integrity stamp by checking signature validity, content-hash match, and recorded check results.

Instructions

Use this when you need to verify a workbook's embedded integrity stamp — signature validity, content-hash match, and the recorded check results.

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

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

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real substance by naming the three checks it performs, but says nothing about behavior when the stamp is absent, invalid, or mismatched — the case an agent most needs to anticipate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero filler; the trigger condition leads and the enumerated checks are packed into a compact dash clause.

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 one-parameter, read-only tool with no output schema and full annotation coverage, this is nearly sufficient. The remaining gap is that failure semantics (unstamped file, bad hash) are unstated even though there is no output schema to reveal them.

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?

There is a single required parameter with 100% schema description coverage ('Absolute path to the .xlsx file to verify'), so the schema carries the burden and the baseline is 3. The description adds no path-format expectations, symlink handling, or file-state requirements beyond what the schema states.

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 ('verify') plus precise resource ('workbook's embedded integrity stamp'), and it enumerates the three checks performed (signature validity, content-hash match, recorded check results). It does not name a sibling to distinguish itself from xlsx_stamp or xlsx_verify_receipt, so it stops short of 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?

'Use this when you need to verify...' gives a trigger condition, but there are no exclusions and no routing to alternatives such as xlsx_verify_receipt, which sounds closely related. Usage is implied rather than delimited.

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