Skip to main content
Glama
xlsx-for-ai

xlsx-for-ai

by senoff

xlsx_vault_scan

Read-onlyIdempotent

Scan spreadsheet files to detect hidden or risky content like macros, external links, and embedded objects before opening or sharing them.

Instructions

Use this when you need to scan a spreadsheet for hidden or risky content (macros, external links, embedded objects).

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

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.
file_b64Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.3.1

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered structurally. The description adds the category of content being inspected (macros, external links, embedded objects), but says nothing about how findings are reported or whether the scan has limits; with annotations carrying the safety burden, this is adequate but thin.

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?

A single front-loaded sentence with no wasted words, leading with the usage trigger. It is efficient, though its brevity is part of why other dimensions are underspecified.

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?

There is no output schema, so the description should explain what a scan returns, but it never says how findings are structured or what counts as 'risky'. Combined with an undocumented required-adjacent parameter (file_b64) and no sibling differentiation, the definition leaves meaningful gaps for a two-parameter scan tool.

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 50%: the nested 'file' object is well documented, but 'file_b64' has no description beyond a maxLength. The description adds no parameter information at all, so it does not compensate for the undocumented base64 parameter, leaving the agent to infer when to supply file_b64 versus the file object.

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 and resource ('scan a spreadsheet') plus concrete targets ('macros, external links, embedded objects'), so the operation is immediately understandable. It does not distinguish this scan from sibling tools like xlsx_macros or xlsx_external_links, which appear to cover overlapping surface areas.

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 phrase 'Use this when you need to...' supplies a trigger condition for invoking the tool. However, it offers no when-not guidance and names no alternative, so an agent facing a spreadsheet that needs macro or external-link inspection has no routing signal from this text.

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