Skip to main content
Glama
SheetForge MCP

SheetForge MCP

by iHeldan

inspect_named_range

Read-only

Inspect a named range to verify its scope and destination cells and detect broken references before editing a workbook.

Instructions

Inspect a named range, including scope, destinations, and broken-reference signals.

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": {
      "filepath": "<filepath>",
      "name": "<name>"
    },
    "name": "inspect_named_range"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
filepathYesReuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing.
scope_sheetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.14.0
    • addedInput schema / properties / filepath / description
      Added value: +"Reuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing."
  2. First observedv0.8.0

TDQS

B3.2/5.0
Behavior4/5

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

readOnlyHint=true already tells the agent this is a safe read, so the description's added value is disclosing the content of the inspection — scope, destinations, and broken-reference signals — which is useful since there is no output schema. It stops short of saying what happens when the name is missing or how errors are reported.

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?

A single front-loaded sentence with no filler; the inspected aspects are listed compactly. It is efficient but so terse that it omits routing and parameter context rather than wasting words.

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 read-only, 3-parameter tool with no output schema, the description covers what is examined but omits error behavior for an unknown name and the meaning of scope_sheet. Adequate minimum, with clear gaps around parameter and failure semantics.

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 description coverage is only 33%: filepath is well documented in the schema, but name and scope_sheet have no descriptions anywhere. The description does not compensate — it never explains what scope_sheet selects or how name resolution behaves (workbook-scoped vs sheet-scoped).

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?

States a specific verb and resource ("Inspect a named range") and enumerates what is examined: scope, destinations, broken-reference signals. This clearly separates it from list_named_ranges or delete_named_range, though it never names a sibling explicitly.

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 statement of when to use this versus list_named_ranges (bulk listing) or when a range should be inspected instead. The deep-dive intent is only inferable from the list of inspected aspects, leaving the agent to guess.

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