Skip to main content
Glama

excel_add_formula_with_documentation

Insert financial formulas into Excel cells with automatic documentation and validation to ensure accurate calculations and clear explanations for financial analysis.

Instructions

Add a financial formula to a cell with complete documentation and validation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
worksheetNameYes
cellYesCell address (e.g., 'A1')
formulaTypeYes
parametersYesParameters specific to the formula type
addDocumentationNoAdd explanation in adjacent cells
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions 'documentation and validation' but doesn't explain what these entail (e.g., where documentation is placed, what validation checks occur, whether the tool modifies existing content, or what happens on errors). For a tool that modifies Excel files, this lack of detail is significant.

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, efficient sentence that front-loads the core purpose. Every word earns its place by specifying the action, target, and key features without redundancy or unnecessary elaboration.

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?

For a tool with 5 parameters, no annotations, no output schema, and complex financial operations, the description is inadequate. It doesn't cover behavioral aspects like side effects, error handling, or output format, nor does it detail parameter interactions or formula-specific behaviors, leaving significant gaps for an AI agent.

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 60%, and the description adds minimal parameter semantics beyond the schema. It implies 'financial formula' relates to 'formulaType' and 'parameters', and 'documentation' relates to 'addDocumentation', but doesn't explain parameter formats, formula-specific requirements, or how 'complete documentation' is implemented. The description compensates somewhat but not fully for the coverage gap.

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 ('Add a financial formula') and the resource ('to a cell'), and specifies additional features ('with complete documentation and validation'). It distinguishes itself from other Excel tools by focusing on formula insertion with documentation, but doesn't explicitly differentiate from all sibling tools like 'excel_create_formula_reference' or 'excel_enforce_formula_rule'.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing an open workbook), exclusions, or comparisons to sibling tools like 'excel_create_financial_ratios' or 'excel_write_calculation' that might handle similar financial calculations.

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/jeremycharlesgillespie/excel-mcp'

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