Skip to main content
Glama

List sheets

list_sheets
Read-only

List all sheets in a workbook, with row/column counts and business-context tags if available. Pass workbookId to read the real file, or scenarioId to read the same workbook through a what-if scenario.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_sheets"
  }
}

Input Schema

NameRequiredDescriptionDefault
scenarioIdNo
workbookIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing the shape of the result (row/column counts and business-context tags, qualified with 'if available') and the fact that scenario mode reads the same workbook through a what-if lens. It omits pagination, permission needs, and the neither-param case.

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

Conciseness5/5

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

Two sentences, zero filler. The result content is front-loaded, then the two parameter modes are presented in a single parallel construction. Nothing needs trimming.

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?

With no output schema, the description correctly compensates by naming what comes back (sheets, row/column counts, optional tags). Both parameters are documented despite 0% schema coverage. The remaining gap is the unspecified behavior when neither or both identifiers are supplied.

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

Parameters4/5

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

Schema description coverage is 0%, so the description carries the full burden and does so: both workbookId and scenarioId are explained in terms of what they point at and what read mode they trigger. What is missing is any statement about mutual exclusivity or precedence when both are passed, which matters given both are optional.

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+resource ('List all sheets in a workbook') and scopes the result to sheets within a single workbook, which implicitly separates it from list_workbooks. It does not name a sibling alternative outright, but the scope is unambiguous enough for an agent to choose it.

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

Usage Guidelines4/5

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

It explicitly tells the agent which identifier selects which mode: workbookId reads the real file, scenarioId reads the same workbook through a what-if scenario. That is genuine alternative-selection guidance. It stops short of saying what happens if neither or both are supplied, and both parameters are optional.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources