Skip to main content
Glama

excel_get_named_ranges

Lists named ranges in an opened Excel workbook by filename, so you can identify defined names for reading or updating spreadsheet data.

Instructions

List named ranges

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

Input Schema

NameRequiredDescriptionDefault
filenameYesOpened workbook name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and 'List' only weakly implies a read-only operation. It says nothing about what happens if the filename is not an open workbook, whether workbook- and sheet-scoped names are both included, or whether output is paginated.

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?

Two words with zero waste and the key information front-loaded, but the terseness crosses into under-specification rather than efficient structure. There is no sentence carrying scope, return shape, or failure 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?

For a simple one-parameter read tool this is close to adequate, but with no annotations and no output schema the description should say what is returned (name, address, scope) and how missing workbooks are handled. As written, an agent cannot predict the response shape.

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. The description adds no extra meaning such as case sensitivity, accepted path vs. short-name forms, or the error on an unopened workbook, so the baseline 3 applies.

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 plus resource ('List' + 'named ranges'), so an agent can tell this is a read of defined names rather than a mutation like excel_add_named_range. It stops short of naming that sibling or clarifying scope, so differentiation is only implicit.

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 use this versus alternatives such as excel_add_named_range or excel_get_workbook_context, and no stated prerequisites (e.g., that the workbook must already be open). The agent must infer usage entirely from the bare verb.

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