Skip to main content
Glama

format-excel-range-font

format-excel-range-font
Destructive

Set font formatting on an Excel range, including bold, italic, underline, size, color, and font name.

Instructions

Set font formatting on a range: bold, italic, underline, size, color, and font name.

šŸ’” TIP: Set font formatting on a range: bold, italic, underline, size, color, and font name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes
addressYesValue for the 'address' path segment.
confirmNoFor destructive operations when the confirm gate is enabled (MS365_MCP_REQUIRE_CONFIRM=true; off by default). Set to true only after the user has explicitly approved this action. When the gate is on, calls without confirm: true return { error: "confirmation_required" } without touching user data.
driveIdYesValue for the 'driveId' path segment. Pass it under the name 'driveId', not as 'id'. Use the 'id' field of the drive object as returned by Microsoft Graph.
driveItemIdYesValue for the 'driveItemId' path segment. Pass it under the name 'driveItemId', not as 'id'. Use the 'id' field of the drive item object as returned by Microsoft Graph.
includeHeadersNoInclude response headers (including ETag) in the response metadata
excludeResponseNoExclude the full response body and only return success or failure indication
workbookWorksheetIdYesValue for the 'workbookWorksheetId' path segment. Pass it under the name 'workbookWorksheetId', not as 'id'. Use the 'id' field of the workbook worksheet object as returned by Microsoft Graph.
Behavior3/5

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

Annotations already indicate destructiveHint=true, so the description does not need to restate that. However, it adds no additional behavioral context such as whether the operation is reversible, affects entire range or only selected cells, or any side effects. The description is neutral and does not contradict annotations.

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 description is 16 words plus a repeated tip (another 16 words). The tip is redundant and does not add new information. This is wasteful and not concise. The important content could be stated in one sentence without repetition.

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, 5 required, nested objects, and no output schema, the description is too minimal. It fails to explain how to provide the required parameters (e.g., address, driveId, driveItemId) beyond their schema descriptions. It does not describe the expected result, error conditions, or relationships with sibling tools. The tool is moderately complex, so more context is needed.

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?

The input schema covers 88% of parameters with descriptions (e.g., color, size, name, confirm, driveId, etc.). The description lists the font properties but does not add detail beyond what the schema already provides. For example, it does not clarify that 'bold', 'italic', 'underline' are boolean fields or the exact accepted values for underline (though schema uses an enum). Having high schema coverage raises the baseline; the description adds marginal value.

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?

The description clearly states the action ('Set font formatting') and lists the specific properties (bold, italic, etc.). This distinguishes it from general format-excel-range, but does not mention any scope limitations or differentiate from sibling tools like format-excel-range-border or format-excel-range-fill.

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?

No guidance is provided on when to use this tool vs alternatives such as format-excel-range (which can set multiple formatting types) or the border/fill siblings. There is no mention of prerequisites, or situations where this tool is preferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Softeria/ms-365-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server