Skip to main content
Glama

excel_format_range

Destructive

Format specific cell ranges in Excel sheets by applying custom styles, including borders, fonts, fills, and number formats, ensuring consistent and professional data presentation.

Instructions

Format cells in the Excel sheet with style information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileAbsolutePathYesAbsolute path to the Excel file
rangeYesRange of cells in the Excel sheet (e.g., "A1:C3")
sheetNameYesSheet name in the Excel file
stylesYes2D array of style objects for each cell. If a cell does not change style, use null. The number of items of the array must match the range size.
Behavior3/5

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

Annotations provide readOnlyHint=false, destructiveHint=true, openWorldHint=true, and idempotentHint=false, indicating it's a destructive, non-idempotent write operation. The description adds minimal behavioral context beyond this, noting it applies 'style information' but doesn't elaborate on effects (e.g., overwrites existing styles, requires file access). It doesn't contradict annotations, so baseline is met with slight value addition.

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

Conciseness5/5

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

The description is a single, clear sentence with no wasted words. It's front-loaded with the core action ('Format cells') and efficiently conveys the tool's purpose. Every part of the sentence earns its place, making it highly concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (4 parameters, nested styles object, destructive operation) and rich schema (100% coverage) with annotations, the description is minimally adequate. It states the purpose but lacks details on usage, output (no output schema), or advanced behavioral traits. For a formatting tool with significant parameters, more context would improve completeness, but annotations and schema provide substantial coverage.

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%, with detailed parameter descriptions in the input schema. The description mentions 'style information' which aligns with the 'styles' parameter but doesn't add meaning beyond what the schema provides (e.g., explaining style object structure or usage). With high schema coverage, the baseline score of 3 is appropriate as the description doesn't compensate with extra insights.

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 ('Format cells') and resource ('in the Excel sheet') with the purpose ('with style information'). It distinguishes from siblings like excel_read_sheet (reading) and excel_write_to_sheet (writing data), but doesn't explicitly differentiate from excel_create_table (which might involve formatting). The purpose is specific but could be more precise about what formatting entails.

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 versus alternatives. It doesn't mention prerequisites (e.g., file must exist), when not to use it (e.g., for data entry vs. formatting), or compare to siblings like excel_create_table for structured formatting. The description lacks context for tool selection.

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

Related 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/negokaz/excel-mcp-server'

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