Skip to main content
Glama
SheetForge MCP

SheetForge MCP

by iHeldan

copy_range

Destructive

Copies cell values, formulas, and styles from one worksheet range to another, with optional dry-run validation to check placement and formatting before writing to the workbook.

Instructions

Copy values/formulas and styles, including General, with saved-value checks.

Limit 250000 source cells; the full target must fit Excel's grid. Merged-cell
intersections and failed relative-formula translations are refused. dry_run
checks an isolated candidate, including targeted XLSX preservation.
Source cell types are retained and checked: literal '=' or error-looking text
stays text; only genuine formula cells undergo relative translation.

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>",
      "source_start": "<source_start>",
      "source_end": "<source_end>",
      "target_start": "<target_start>"
    },
    "name": "copy_range"
  }
}

Input Schema

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

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

A3.8/5.0
Behavior5/5

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

Annotations supply only destructiveHint=true, and the description goes well beyond that: it names the source-cell limit, the grid-fit requirement, two hard refusal conditions, the isolated-candidate semantics of dry_run including XLSX preservation, and the rule that literal '=' or error-looking text is not treated as a formula. That is exactly the kind of operational detail an agent needs before invoking a destructive copy.

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?

The purpose is front-loaded and each following sentence adds a distinct constraint (limits, refusals, dry_run, type retention). A few phrases such as 'including General, with saved-value checks' are terse to the point of opacity, but overall there is little waste.

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 destructive, 7-parameter tool with no output schema and very low schema description coverage, the behavioral side is well covered but the parameter side is not: range string formats and target_sheet behavior are left undocumented. An agent could understand the risks yet still call it with malformed range arguments.

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?

Schema description coverage is only 14%, with filepath the sole documented parameter. The description compensates for dry_run and implies source/target roles, but it never states the expected format of source_start, source_end, and target_start (e.g. A1 notation) or how target_sheet defaults when omitted, which is the critical missing piece for correct invocation.

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 opens with a specific verb and resource ('Copy values/formulas and styles') and adds scope details such as saved-value checks and cell-type retention. It does not distinguish itself from sibling tools like copy_worksheet or apply_formula, so an agent must infer the boundary, but the core operation is unmistakable.

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 implied through the stated preconditions (250000-cell limit, target must fit the grid, refusals for merged-cell intersections and failed formula translation) and through the dry_run option, which reads as a validation step. There is no explicit when-to-use or when-not-to-use guidance relative to copy_worksheet or apply_formula, and no statement that dry_run should be run first.

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