Skip to main content
Glama

set_cell_formula

Assign a formula to a single cell in an Excel worksheet to perform calculations and update results automatically.

Instructions

Set a formula in a single cell in a sheet (formula should start with '=').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cellYes
formulaYes
file_pathYes
sheet_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

There are no annotations, so the description must carry the full behavioral burden. It only says the formula should start with '='; it does not clarify whether existing cell content is overwritten, whether permissions are needed, how invalid formulas are handled, or what effects occur in the sheet.

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?

The description is a single sentence with no filler or redundancy, and the important formula-prefix rule is included up front. It is concise without being bloated.

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?

Even though an output schema exists, the description still lacks key invocation context: no usage alternatives, no side-effect disclosure, and no parameter format details. For a four-required-parameter mutation tool with no annotations and no schema descriptions, this is not complete enough.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must add meaning to the four required parameters. It adds a useful constraint for 'formula' and implies a single cell, but it does not explain the expected cell reference format, sheet identification, or file_path expectations.

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 a formula'), the resource ('a single cell in a sheet'), and a concrete rule (formula must start with '='). It is specific enough to distinguish from set_cell_value by topic, though it does not explicitly name that sibling.

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 given about when to choose this tool over siblings such as set_cell_value or add_data_to_sheet. An agent must infer from the tool name and context which operation fits.

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

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/urjeetpatel/excel_mcp_server'

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