Skip to main content
Glama
xlsx-for-ai

xlsx-for-ai

by senoff

xlsx_vault_cure

Destructive

Sanitize a spreadsheet by removing hidden or risky content such as embedded payloads and suspicious findings, optionally as a copy or in place, so files are safe to share.

Instructions

Use this when you need to clean hidden or risky content out of a spreadsheet.

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_b64": "<file_b64>"
    },
    "name": "xlsx_vault_cure"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoThe spreadsheet file, handed off by a host that fills in the OpenAI file-parameter convention (openai/fileParams) from an uploaded or attached file. The server downloads download_url once, server-side; never a local sandbox path.
modeNo
file_b64Yes
simulateNo
selectionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.3.1

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already disclose destructiveHint=true and readOnlyHint=false, so the removal behavior is signaled structurally. The description only repeats the title's phrase about hidden or risky content and adds no detail about what gets removed, whether edits are in-place or copy, or how the destructive change is scoped.

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?

It is a single front-loaded sentence with no filler or repetition. It is perhaps too terse for the complexity, but the sentence itself is structurally efficient.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive tool with five parameters, a nested object, an enum, and no output schema, a one-sentence description is not enough. It omits the meaning of mode, simulate, and selection, leaving the agent without the behavioral and parameter context this tool requires.

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

Parameters1/5

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

Five parameters are present (file_b64, file, mode, simulate, selection) with only 20% schema description coverage, and the description mentions none of them. Critical controls like the as_copy/in_place mode enum and simulate are left entirely undocumented by prose.

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 description gives a specific verb ('clean') and target ('hidden or risky content out of a spreadsheet'), which is clearer than a generic processing tool. However, it does not distinguish this from sibling tools such as xlsx_vault_scan or xlsx_healer_cure, so it stops short of the top score.

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?

It includes a when-to-use clause ('Use this when you need to clean hidden or risky content'), which implies the intended scenario. But it offers no when-not guidance and never names alternatives, so an agent cannot tell from the description alone whether to scan first or use a healer tool.

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