Skip to main content
Glama

excel_set_font_style

Apply bold, italic, underline, or strikethrough formatting to Excel cells or ranges by worksheet and start/end cell, making key data easier to identify.

Instructions

Apply font style (bold, italic, underline, strikethrough)

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

Input Schema

NameRequiredDescriptionDefault
boldNoBold
italicNoItalic
endCellNoEnd cell (optional)
filenameYesOpened workbook name
startCellYesStart cell (e.g., A1)
underlineNoUnderline (true/double/singleAccounting/doubleAccounting)
worksheetYesWorksheet name
strikethroughNoStrikethrough

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/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 burden of behavioral disclosure for a mutation tool. It never says whether omitted style properties are left untouched or cleared, whether the change applies to the single startCell or the startCell-to-endCell range, or whether the modification is persisted or just staged in memory. These are the questions an agent most needs answered before calling a formatting mutator.

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 front-loaded sentence with no filler and no repetition. It is arguably too terse for an 8-parameter mutation tool, but nothing in it is wasted.

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?

With 8 parameters, three required, no annotations, and no output schema, the definition should say more about range behavior and persistence. As written, an agent can guess the intent but cannot confirm how a call will behave on a multi-cell range or what happens to styles not specified.

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 every parameter is already documented, and the description only restates the four style flags. It adds nothing about endCell defining a range versus a single cell, nor about the accepted underline values, which the schema itself lists. Baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (apply) and resource (font style) and enumerates the four attributes it controls (bold, italic, underline, strikethrough), which implicitly separates it from siblings like excel_set_font_color and excel_set_font_name_size. It does not explicitly name those siblings, but the attribute list makes the boundary inferable.

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 statement of prerequisites (e.g., workbook must already be open), and no mention of when to prefer excel_set_cell_format or excel_set_range_format over this narrower tool. The only guidance is implicit in the list of style attributes.

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