Skip to main content
Glama
senoff

xlsx-for-ai

xlsx_validate

Read-onlyIdempotent

Run a cross-engine consistency check on a local .xlsx file by comparing two independent renderers to identify cell-level divergences.

Instructions

cross-engine consistency check on a LOCAL .xlsx file — runs the workbook through TWO independent renderers (@protobi/exceljs and @cj-tech-master/excelts) and reports cell-level divergences. No other tool can do this: pandas trusts cached values, openpyxl is single-engine, and Excel-itself disagrees with everything else on edge cases like LAMBDA, dynamic arrays, and timezone handling. xlsx_validate is the only way to know whether two engines agree on what your workbook says.

USE WHEN: the user is about to send the workbook downstream for analysis or as an authoritative source — pre-flight check. Or for audit / regression testing across engine versions. Free tier — counts against the 10k/mo cap.

DO NOT USE WHEN: a casual read suffices (use xlsx_read). Or for upload/attached files.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_b64Yes
Behavior4/5

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

The description adds behavioral context beyond annotations by mentioning the two engines, cell-level reports, a free-tier cap of 10k/mo, and that it runs locally. It does not contradict annotations and provides valuable insight into the tool's operation.

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 and front-loaded with the core purpose. It efficiently uses sections for usage guidelines. While somewhat verbose (e.g., 'No other tool can do this' paragraph), the structure aids readability.

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 simple input schema (one parameter) and no output schema, the description covers purpose and usage well but omits details on parameter encoding and return format. Annotations provide some safety context, but the lack of output description leaves completeness lacking.

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?

The input schema has one parameter (file_b64) with 0% schema description coverage. The description mentions 'LOCAL .xlsx file' but does not explain that the parameter expects base64-encoded file content. This is a significant gap for an agent to correctly invoke the tool.

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 clearly states that the tool performs a cross-engine consistency check on a local .xlsx file, comparing two independent renderers and reporting cell-level divergences. It distinguishes from siblings by noting that no other tool can do this cross-engine validation.

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?

The description explicitly provides 'USE WHEN' (pre-flight check, audit/regression testing) and 'DO NOT USE WHEN' (casual read, use xlsx_read; upload/attached files) sections, giving clear guidance on when to choose this tool over alternatives.

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