Skip to main content
Glama

excel_batch_format

Apply multiple formatting operations to a specified worksheet in an open Excel workbook in one call by passing a JSON array of formatting actions.

Instructions

Apply multiple formatting operations in one call

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>",
      "operations": "<operations>"
    },
    "name": "excel_batch_format"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesOpened workbook name
worksheetYesWorksheet name
operationsYesJSON string array of operations (e.g., [{"type":"borders","startCell":"A3","endCell":"F100"}])

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and does very little: it does not say whether existing formatting is overwritten, whether operations apply in order, or what happens if one operation in the array fails (atomicity). These are exactly the traits an agent needs before issuing a batch mutation.

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

Conciseness4/5

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

A single short sentence with the batching behavior front-loaded and no filler. It is efficient, though its brevity is partly achieved by omitting necessary information rather than by tight editing.

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?

This is a complex tool taking an arbitrary JSON array of formatting operations, with no annotations and no output schema. A one-line description leaves out the supported operation vocabulary, ordering semantics, overwrite behavior, and error handling, so an agent cannot call it confidently without trial and error.

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 filename, worksheet, and the operations JSON string are already documented with an inline example. The description adds no additional meaning about supported operation types or the accepted object shape, so the baseline 3 applies.

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?

The verb 'Apply' and resource 'formatting operations' are present, and 'multiple ... in one call' conveys the batching behavior. However, the sibling set contains several overlapping format tools (excel_format_worksheet, excel_set_range_format, excel_set_cell_format), and nothing in the description says how this batch tool differs from them or what operation types are supported.

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 prefer this batch call over applying individual formats one at a time, and no mention of prerequisites such as the workbook already being open. Usage is only implied by the 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