Skip to main content
Glama

excel_set_cell_format

Apply formatting to a specific cell in an open Excel workbook by specifying the worksheet, cell address, and format options.

Instructions

Apply cell formatting

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": {
      "filename": "<filename>",
      "worksheet": "<worksheet>",
      "cellAddress": "<cellAddress>",
      "format": "<format>"
    },
    "name": "excel_set_cell_format"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatYesFormat options
filenameYesOpened workbook name
worksheetYesWorksheet name
cellAddressYesCell address (e.g., A1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.9/5.0
Behavior1/5

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

With no annotations, the description carries the full burden of behavioral disclosure and provides none. It doesn't say whether existing formatting is overwritten, what partial format objects do to unmentioned attributes, whether the workbook must be saved afterward, or what the response contains for a mutation operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three words with no structure or front-loading of anything useful. This is under-specification rather than conciseness — the sentence is short but earns its place only trivially by repeating the title.

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

Completeness1/5

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

A four-parameter mutation tool with a nested, otherwise undocumented format object, no annotations, and no output schema is not adequately described by three words. An agent has no way to know what to put in "format" or what effect the call will have.

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 100%, so the baseline is 3; the required filename, worksheet, and cellAddress are documented in the schema. However, the nested "format" object is described only as "Format options" in both schema and description, so the description adds nothing about its accepted keys.

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

Purpose2/5

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

"Apply cell formatting" essentially restates the tool name (excel_set_cell_format) without saying what kind of formatting is applied or how it differs from the many formatting siblings (excel_set_number_format, excel_set_range_format, excel_set_font_color, etc.). An agent cannot tell from this text whether it handles fonts, fills, borders, or number formats.

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 when-to-use guidance is given: nothing about prerequisites (must the workbook be opened first?), no exclusions, and no pointer to alternatives such as excel_set_range_format for multi-cell formatting. Usage must be entirely inferred from the tool name.

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