Skip to main content
Glama

excel_set_number_format

Applies number, currency, percentage, date, or time formats to a specified cell or range in an Excel worksheet.

Instructions

Set number format

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>",
      "format": "<format>"
    },
    "name": "excel_set_number_format"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatYesFormat (currency/percentage/number/date/time or custom)
endCellNoEnd cell (optional)
filenameYesOpened workbook name
startCellYesStart cell (e.g., A1)
worksheetYesWorksheet name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.1/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, yet it discloses nothing about whether existing formats are overwritten, whether the change persists to disk, whether an endCell converts the call into a range operation, 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?

Four words with no structure to speak of: this is under-specification rather than conciseness, and there is no front-loaded scope, target, or behavior statement.

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 5-parameter mutation tool with four required arguments, no annotations, and no output schema demands far more than a name restatement; nothing about required workbook state, range behavior, or side effects is covered.

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%, including hints for format values (currency/percentage/number/date/time) and cell-address examples, so the schema already does the work; the description adds no meaning beyond it, which is the baseline 3 case.

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?

"Set number format" restates the tool name with no additional specificity; it does not distinguish this from siblings such as excel_set_cell_format, excel_apply_currency_format, or excel_apply_percentage_format, all of which plausibly format cells too.

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 alternatives for cell/range formatting, and no prerequisites (e.g. workbook must already be open). The reader must infer everything 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