Skip to main content
Glama
SheetForge MCP

SheetForge MCP

by iHeldan

format_ranges

Destructive

Format multiple ranges in a single workbook pass and apply hex colors, reducing repeated edits and keeping worksheet styling consistent.

Instructions

Apply formatting to multiple ranges in a single workbook pass. Colors accept RRGGBB, #RRGGBB, AARRGGBB, or #AARRGGBB.

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>",
      "ranges": "<ranges>"
    },
    "name": "format_ranges"
  }
}

Input Schema

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

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.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, and the description adds the useful note that all ranges are applied in one pass. However, it never says that existing formatting is overwritten, what dry_run actually previews, or what include_changes returns — the operationally relevant details for a destructive mutation.

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 padding, with the core action front-loaded and the format constraint following. Nothing is wasted.

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?

No output schema exists, so the description should explain return/preview behavior for a destructive tool, and it does not. Combined with an undocumented ranges item structure and two undocumented flags, an agent can call it but cannot confidently predict the payload shape or effects.

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 20% (filepath only), so the description must carry the load. It adds genuine value by listing accepted color encodings (RRGGBB, #RRGGBB, AARRGGBB, #AARRGGBB), but the central 'ranges' array is a bare object with additionalProperties:true and no documented item shape, and dry_run/include_changes are left unexplained.

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 ('Apply formatting to multiple ranges') and scopes it to 'a single workbook pass'. The word 'multiple' implicitly distinguishes it from the single-range sibling format_range, though the sibling is never named.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the batch alternative to format_range. There is no explicit when-to-use, no when-not, and no mention of the sibling it competes with or of prerequisites such as sheet existence or protection.

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