Skip to main content
Glama
senoff

xlsx-for-ai

xlsx_list_sheets

Read-onlyIdempotent

List sheet names, dimensions, and visibility for a local .xlsx file to discover structure before reading cell content.

Instructions

list sheet names, dimensions, and visibility for a LOCAL .xlsx file. Use this when you only need names + dims, not cell content. If you'll read content anyway, skip this and call xlsx_read directly.

USE WHEN: the user references a LOCAL file path and you need to discover sheet names before reading. Fast orientation call — use before xlsx_read when you need metadata only.

DO NOT USE WHEN: the file came from an upload/attachment (built-in skill handles that). Or when you already know the sheet structure. Or when you plan to call xlsx_read immediately after (just call xlsx_read).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_b64Yes
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint, idempotentHint. The description adds that it is a 'fast orientation call' and that it only works for local files (not uploads). No contradiction with annotations.

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?

Description is well-structured with clear sections (USE WHEN, DO NOT USE WHEN), but a bit wordy. Could be more concise, but no wasted sentences.

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

Completeness4/5

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

No output schema, but description lists return fields (names, dimensions, visibility). Covers usage context well. Lacks detail on return format, but acceptable for a simple metadata 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 has 1 parameter (file_b64) with 0% description coverage. The description mentions 'local file path' but the parameter is file_b64 (base64). This mismatch could confuse the agent; the description does not explain how to provide the file content.

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 the tool lists sheet names, dimensions, and visibility for a local .xlsx file. It uses specific verbs and resources, distinguishing it from siblings like xlsx_read, which reads cell content.

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?

Explicitly provides when-to-use (before xlsx_read for metadata only) and when-not-to-use (file from upload, known structure, or planning immediate xlsx_read). Mentions alternative xlsx_read, making it easy for the agent to decide.

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