Skip to main content
Glama

excel_add_conditional_format

Add conditional formatting to Excel worksheet ranges with rule types, operators, formulas, and formats to automatically highlight matching cells.

Instructions

Add conditional 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>",
      "startCell": "<startCell>",
      "endCell": "<endCell>",
      "ruleType": "<ruleType>",
      "format": "<format>"
    },
    "name": "excel_add_conditional_format"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatYesFormat when met
endCellYesRange end
filenameYesWorkbook name
formula1NoFirst value/formula
formula2NoSecond value (between/notBetween)
operatorNoOperator (cellValue only)
ruleTypeYesRule type
startCellYesRange start
worksheetYesWorksheet name

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?

No annotations are supplied, so the description carries the full behavioral burden and discloses nothing beyond the name. It does not say whether existing conditional formats on the range are preserved or replaced, whether the rule is evaluated relative to startCell/endCell, what happens on invalid ruleType/formula combinations, or what is returned on success or failure.

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 are technically concise but constitute under-specification rather than economy; there is no front-loaded scope or useful content. Nothing is wasted because nothing of substance is present.

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?

This is a nine-parameter mutation tool with a nested format object, two enums, no annotations, and no output schema, yet the description is a single tautological phrase. It is wholly inadequate for the tool's complexity and provides no basis for calling it correctly against its overlapping siblings.

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%, with each of the nine parameters documented in-schema (including the ruleType and operator enums and the between/notBetween role of formula2). The description adds no meaning beyond the schema, so the baseline of 3 applies; the awkward rule relationships (operator only valid for cellValue, formula2 only for between/notBetween) are left entirely to the agent to infer.

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?

"Add conditional formatting" only restates the tool name and title; it adds no scope or qualifier. Critically, siblings excel_add_color_scale, excel_add_data_bar, and excel_add_icon_set overlap with ruleType values (colorScale, dataBar, iconSet), so an agent cannot tell from the description whether this tool covers those cases or whether the dedicated siblings should be used instead.

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 mention of when not to use it, and no reference to any alternative. The agent is left to infer from sibling names alone whether to call this generic tool or the specialized rule tools, which is exactly the ambiguity the description should resolve.

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