Skip to main content
Glama
SheetForge MCP

SheetForge MCP

by iHeldan

validate_excel_range

Read-only

Checks whether an Excel range exists and is properly formatted to prevent invalid cell operations.

Instructions

Validate if a range exists and is properly formatted.

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>",
      "sheet_name": "<sheet_name>",
      "start_cell": "<start_cell>"
    },
    "name": "validate_excel_range"
  }
}

Input Schema

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

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

C2.7/5.0
Behavior2/5

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

readOnlyHint=true is consistent with the description, but beyond that nothing is disclosed: it doesn't say whether an invalid range raises an error or returns a falsy result, whether an out-of-used-range but syntactically valid cell counts as 'exists', or anything about cost. Essentially restates the tool name.

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. It is efficient, though its brevity is partly under-specification rather than tight writing.

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?

With no output schema and 75% of parameters undocumented, the description should explain the result shape (boolean? message?) and the end_cell-omitted behavior, but it explains neither. An agent cannot predict what it will get back or how to act on it.

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 coverage is only 25% (filepath is the only documented parameter), so the description must compensate and does not. It never explains what start_cell/end_cell refer to (A1 notation?) or that end_cell is optional/null and presumably means a single-cell range, nor what sheet_name scoping implies.

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 ('validate') and resource ('range') plus the two things checked: existence and formatting. This distinguishes it from sibling readers/mutators like read_range_formatting or inspect_workbook_contract, though 'properly formatted' is left undefined.

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?

No guidance on when to call this versus the many sibling readers (read_data_from_excel, quick_read, read_range_formatting) or what to do with a negative result. The agent must infer both the trigger condition and the follow-up action.

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