Skip to main content
Glama

excel_negative_red_format

Formats negative values in red across a chosen Excel worksheet range, with optional decimal places, to highlight losses or deficits clearly.

Instructions

Negative numbers in red

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_negative_red_format"
  }
}

Input Schema

NameRequiredDescriptionDefault
endCellYesRange end
filenameYesWorkbook name
startCellYesRange start
worksheetYesWorksheet name
decimalPlacesNoDecimals

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.7/5.0
Behavior1/5

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

With no annotations supplied, the description carries the full behavioral burden and discloses nothing: it does not say this mutates the workbook, whether it overwrites existing number formats in the range, whether it can be undone, or what permissions/file state are required. Four words of text give an agent no basis to predict side effects of a write 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?

The single fragment is short but not concise in any useful sense; it is under-specified rather than economical. There is no structure to front-load because there is essentially no content.

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 five-parameter mutation tool with no annotations and no output schema needs the description to explain range semantics, overwrite behavior, and interaction with existing formats. Four words supply none of this, leaving the definition wholly inadequate for its complexity.

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 five parameters (filename, worksheet, startCell, endCell, decimalPlaces) are already documented in the schema. The description adds no meaning on top of it, so the baseline of 3 applies rather than anything higher.

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?

"Negative numbers in red" restates the tool name rather than stating an action; there is no verb such as 'apply' or 'set' and no mention of what is being formatted (a cell range in a worksheet). It communicates the visual effect but not the operation, and among dozens of sibling format tools it does not distinguish itself.

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

Usage Guidelines1/5

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

There is no when-to-use guidance at all: no mention of when this is preferable to excel_accounting_format, excel_set_number_format, or excel_apply_currency_format, which can also render negatives in red. No prerequisites, no scope limits, no exclusions are given.

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