Skip to main content
Glama
senoff

xlsx-for-ai

xlsx_healer_cure

Apply a diagnosed repair operation to fix Excel workbook issues such as broken references, missing sources, or permission errors. Returns cured workbook and receipt.

Instructions

Apply ONE specific cure operation against a diagnosed workbook. Operations: rename_move (rewrite ref paths), pattern_bulk (regex-style ref rewrites), source_deleted_freeze (replace broken refs with cached values), source_deleted_redirect (point at a replacement file), source_deleted_localize (snapshot external source into a local copy), permission_denied (strip credentials), structure_changed (rewrite formulas for moved cells), format_change (re-link after extension change), make_standalone (fully dereference all externals). Returns cured workbook bytes + receipt.

USE WHEN: a diagnostic report (xlsx_healer_diagnose) named a specific operation as the recommended fix; or restoring a workbook whose source moved by a known prefix.

DO NOT USE WHEN: the failure mode isn't a supported operation (use xlsx_healer_intent for goal-shaped fixes). Or when diagnose hasn't been run (cures need diagnose-emitted reference_ids).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cure_paramsNo
file_b64Yes
intentNo
modeNo
operationYes
Behavior4/5

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

Annotations indicate readOnlyHint=false and destructiveHint=false; the description adds that the tool returns 'cured workbook bytes + receipt' and lists specific operations, providing context beyond the annotations. However, it does not explicitly describe the behavior for as_copy vs in_place modes.

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?

The description is well-structured with clear sections and front-loaded purpose, but the list of operations is somewhat dense. It is appropriately sized for the tool's complexity.

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?

Given the tool's complexity, no output schema, and 0% schema coverage, the description covers the main purpose, operations, and usage guidelines, but lacks explanations for 'cure_params' and 'intent' parameters, making it incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so description must compensate. It explains the 'operation' parameter by listing allowed values, and implies 'file_b64' is the workbook file, but it does not describe 'cure_params', 'intent', or 'mode' parameters, leaving a significant gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states 'Apply ONE specific cure operation against a diagnosed workbook' and lists the supported operations, clearly distinguishing it from sibling tools like xlsx_healer_diagnose and xlsx_healer_intent.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit 'USE WHEN' and 'DO NOT USE WHEN' sections provide clear context for when to use this tool versus alternatives (e.g., xlsx_healer_intent for goal-shaped fixes), and prerequisites (diagnose must have been run).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/senoff/xlsx-for-ai'

If you have feedback or need assistance with the MCP directory API, please join our Discord server