Skip to main content
Glama

excel_list_worksheets

List all worksheets in an opened Excel workbook by filename, helping you inspect sheet structure and locate the tab needed for read or write operations.

Instructions

List all worksheets

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": {
      "filename": "<filename>"
    },
    "name": "excel_list_worksheets"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesOpened workbook name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it discloses nothing about whether hidden worksheets are included, whether the listing is read-only, or what permissions/state are required. Only the schema's 'Opened workbook name' hints that the workbook must be open.

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?

Three words with zero filler and the key scope word ('all') front-loaded alongside the verb and resource. It is efficient, though its brevity borders on under-specification rather than polished conciseness.

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?

For a simple, single-parameter read tool with no output schema, the description needn't explain return values, so this is minimally adequate. It still omits whether hidden or chart sheets appear in the listing, which is meaningful for a 'list all' operation.

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

Parameters3/5

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

There is a single parameter with 100% schema description coverage ('Opened workbook name'), so the schema already documents it adequately. The description adds no additional meaning, which meets the baseline of 3 for a fully covered 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?

The description names a specific verb ('List') and resource ('all worksheets'), so an agent immediately knows this enumerates worksheets rather than creating or formatting them. It does not explicitly contrast with siblings like excel_add_worksheet or excel_split_data_to_worksheets, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to choose this tool over related siblings, no prerequisites (e.g., the workbook must already be open), and no exclusions. The agent must infer usage entirely from the name.

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

Deploy Server

Other Tools