Skip to main content
Glama
xlsx-for-ai

xlsx-for-ai

by senoff

xlsx_pii_scan

Read-onlyIdempotent

Scan Excel spreadsheets for personal or sensitive data, including names and addresses, to identify PII before sharing or processing.

Instructions

Use this when you need to scan a spreadsheet for personal or sensitive data.

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

Input Schema

NameRequiredDescriptionDefault
nerNoOptional, for apps that scan on a write path. "inline" (default) waits for the name and address check. "deferred" answers at once without names and addresses; fetch them later with xlsx_pii_job_status and the returned ner_job_id. Chat callers leave this unset.
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
cache_scopeNoOptional: your own end-user or account id, used only to keep remembered answers separate.

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 declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without the description. The description adds no behavioral context of its own — nothing about what the scan returns, what happens with the server-side URL download, or that deferred mode splits out name/address checks; it essentially restates the title.

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

Conciseness3/5

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

A single front-loaded sentence with no wasted words, so there is no verbosity problem. The trade-off is under-specification: one sentence is thin for a tool with a nested file handoff, a deferred-NER mode, and caching behavior.

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?

With no output schema, the description should explain what a scan yields (categories, locations, counts) and how deferred results are retrieved, but it says nothing. For a tool with four parameters, nested objects and a two-mode NER pipeline, the description is far too sparse to guide correct invocation.

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 75%, and the description contributes zero parameter meaning. The only required parameter, file_b64, has no description in either the schema or the description, leaving the most important input unexplained, while the optional ner and cache_scope semantics live entirely in the schema.

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?

"Scan a spreadsheet for personal or sensitive data" gives a specific verb (scan), resource (spreadsheet) and target (PII/sensitive data), which clearly separates it from structuring tools like xlsx_charts or xlsx_pivot. It never names or distinguishes itself from close siblings such as xlsx_pii_clean, xlsx_vault_scan, or xlsx_pii_job_status, so an agent must infer the boundary.

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..." clause gives a trigger condition, but there are no exclusions and no alternatives offered. An agent cannot tell from the description when to prefer xlsx_pii_clean, xlsx_vault_scan, or the job-status sibling; the deferred-NER routing exists only in the schema, not in the guidance.

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