Skip to main content
Glama

Copy cell format

copy_cell_format
DestructiveIdempotent

Copy formatting (font, fill color, alignment, column width/row height, number format) from one cell/range to another on the same sheet — useful for making newly added rows/columns match the surrounding style. Does not copy values or formulas. Only works on workbooks in Excel Online mode.

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": {
      "workbookId": "<workbookId>",
      "sheetName": "<sheetName>",
      "sourceRange": "<sourceRange>",
      "targetRange": "<targetRange>"
    },
    "name": "copy_cell_format"
  }
}

Input Schema

NameRequiredDescriptionDefault
sheetNameYes
workbookIdYes
sourceRangeYes
targetRangeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is largely covered. The description adds the environment prerequisite ('only works on workbooks in Excel Online mode'), which is genuinely useful and not in the annotations. However it never says that target formatting is overwritten, which is the actual destructive consequence.

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 tight sentences, front-loaded with the verb and the copied attributes, then the exclusions and mode restriction. No filler or restated title material.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter mutation tool with no output schema, the description covers purpose, scope of effect, exclusions, and environment requirement. The remaining gaps are range notation and the overwrite behavior on the target, which keep it short of full completeness.

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 0% across four required parameters, so the description must compensate. It clarifies that source and target live 'on the same sheet' (constraining sheetName) and that both are cell/range values, but it gives no notation guidance (e.g. A1 vs R1C1) or whether ranges must be equal size.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (copy) and resource (formatting) and enumerates exactly which attributes move: font, fill, alignment, column width/row height, number format. It also explicitly distinguishes itself from value/formula copying, so an agent can tell what class of operation this is without opening the schema.

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

Usage Guidelines4/5

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

Provides a concrete use case ('making newly added rows/columns match the surrounding style') and states the negative case ('does not copy values or formulas'). It does not name an alternative tool or a when-not-to-use condition, but the use case is strong enough to route an agent correctly.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources