Skip to main content
Glama

excel_apply_table_style

Applies a table style preset to a specified worksheet range, setting header and alternate row colors for clear Excel tables.

Instructions

Apply table 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>",
      "endCell": "<endCell>"
    },
    "name": "excel_apply_table_style"
  }
}

Input Schema

NameRequiredDescriptionDefault
endCellYesTable end (e.g., D10)
filenameYesOpened workbook name
hasHeaderNoHas header (default: true)
startCellYesTable start (e.g., A1)
worksheetYesWorksheet name
headerFontColorNoHeader font hex (default: FF000000)
alternateRowColorNoAlt row hex (default: FFF9F9F9)
headerBackgroundColorNoHeader bg hex (default: FFD3D3D3)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.2/5.0
Behavior2/5

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

With no annotations provided, the description carries the full disclosure burden and delivers almost nothing. "Apply" implies a write to the worksheet, but it does not say whether existing formatting is overwritten, how defaults behave when optional color/header parameters are omitted, or what happens on an invalid range.

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?

At four words it is not bloated but it is under-specified rather than concise; there is no structure, no front-loaded detail, and nothing that earns its place as guidance. Brevity here costs the agent information it needs.

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?

An eight-parameter mutation tool with no annotations and no output schema needs a description that at least explains the style-preset concept and the effect on the target range. The schema covers parameter syntax, but behavior, defaults interaction, and side effects are entirely absent.

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 all eight parameters (filename, worksheet, startCell, endCell, hasHeader, and the three hex color options) are already documented in the schema with examples and defaults. The description adds no meaning beyond that, which is the baseline-3 case when the schema does the work.

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 table style preset" essentially restates the tool name (excel_apply_table_style) with no added specificity. It does not say what a "preset" contains, what region gets styled, or how it differs from the many sibling formatting tools such as excel_apply_header_style or excel_set_font_style.

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 when-to-use guidance, no prerequisites (e.g., workbook must be open, range must be valid), and no mention of alternatives among the large set of formatting siblings. An agent must infer everything from the name alone.

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