Skip to main content
Glama
xlsx-for-ai

xlsx-for-ai

by senoff

xlsx_healer_simulate

Read-onlyIdempotent

Simulate how a recipient accesses a workbook's external references to check link visibility. Runs read-only and produces no output workbook.

Instructions

Use this when you need to simulate recipient-side accessibility of a workbook's external references — read-only, no output workbook.

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>",
      "accessible_paths": "<accessible_paths>"
    },
    "name": "xlsx_healer_simulate"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYesAbsolute path to the .xlsx file to simulate.
accessible_pathsYesList of paths (absolute or URL) the recipient CAN see. Max 1000 entries, each ≤4096 chars. Often a folder tree or a SharePoint root.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv4.3.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / accessible_paths / description
      Added value: +"List of paths (absolute or URL) the recipient CAN see. Max 1000 entries, each ≤4096 chars. Often a folder tree or a SharePoint root."
    • removedInput schema / properties / accessible_paths / maxItems
      Removed value: -1000
    • removedInput schema / properties / file_b64
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / file_path
      Added value: +{
      +  "description": "Absolute path to the .xlsx file to simulate.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "accessible_paths",
      -  "file_b64"
      -]New value: +[
      +  "file_path",
      +  "accessible_paths"
      +]
  2. First observedv3.2.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description's one addition beyond that is 'no output workbook,' which meaningfully tells the agent no artifact is produced. It still omits what the simulation actually returns (a report of broken/unresolvable refs?) and whether any state is written.

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 well-formed sentence that front-loads the usage trigger and appends the key constraint. No filler, no restatement of the tool name.

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 a simple two-parameter schema, full coverage, and rich annotations, most of the burden is met. The gap is the absence of an output schema combined with no description of what the simulation reports back, which matters for a tool whose whole value is its result set.

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% and both parameters carry useful field-level descriptions (including the 1000-entry / 4096-char limits), so the schema does the heavy lifting. The description adds no syntax, format, or interpretation guidance beyond what the schema already states; 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?

Uses a specific verb ('simulate') on a specific resource ('recipient-side accessibility of a workbook's external references') and adds a scope qualifier (read-only, no output workbook). It does not, however, distinguish itself from sibling healer tools such as xlsx_healer_diagnose or xlsx_healer_cure, leaving the agent to infer the division of labor.

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 'Use this when you need to simulate recipient-side accessibility' clause gives a real triggering condition rather than a tautology. But it offers no when-not guidance and names no alternative — an agent cannot tell from the description alone why it would pick this over xlsx_healer_diagnose or xlsx_healer_cure.

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