Skip to main content
Glama

excel_apply_header_style

Applies a header style preset to a specified cell range in an opened Excel worksheet, setting font and background colors for consistent headers.

Instructions

Apply header style preset

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>",
      "startCell": "<startCell>"
    },
    "name": "excel_apply_header_style"
  }
}

Input Schema

NameRequiredDescriptionDefault
endCellNoEnd cell (optional)
filenameYesOpened workbook name
fontColorNoFont color hex (default: FF000000)
startCellYesStart cell (e.g., A1)
worksheetYesWorksheet name
backgroundColorNoBackground hex (default: FFD3D3D3)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and delivers almost nothing: it does not say that formatting is a mutation, whether existing cell formatting is overwritten, what the preset actually applies (bold? fill? borders?), or whether the change is reversible.

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

Conciseness3/5

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

It is certainly concise and front-loaded, but at four words it is under-specified rather than tight. There is nothing to restructure because there is almost no content.

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?

A six-parameter mutation tool with no annotations and no output schema needs the description to explain the preset and the write semantics; the single phrase does neither. The schema covers parameter names and defaults, but nothing explains the effect of the call.

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 every parameter including the hex defaults for fontColor and backgroundColor is already documented. The description adds no meaning beyond that — notably it does not explain that startCell/endCell define the header range or how endCell defaults when omitted.

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

Purpose3/5

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

"Apply header style preset" names a verb and a resource, so an agent can guess it formats a header row. But it never defines what the preset consists of, and with siblings like excel_apply_table_style, excel_apply_title_style and excel_set_font_style the name alone does little to distinguish which formatting tool to pick.

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?

There is no guidance on when to use this versus the other style tools, no preconditions (workbook must already be open, per the filename param), and no mention of when not to use it. The agent must infer everything.

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