Skip to main content
Glama

excel_analyze_formula

Analyzes an Excel formula's structure in a specified cell so you can understand its components, references, and logic before editing or debugging.

Instructions

Analyze formula structure

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

Input Schema

NameRequiredDescriptionDefault
filenameYesWorkbook name
worksheetYesWorksheet name
cellAddressYesCell address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.2/5.0
Behavior1/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, yet it discloses nothing about behavior: not whether analysis reads only or mutates, not whether it requires a formula versus raw value, and not what happens on empty or non-formula cells. The single phrase merely restates the tool name.

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

Conciseness3/5

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

It is only three words with no padding, but it is under-specified rather than concise. Nothing is front-loaded because there is essentially nothing beyond the tautological phrase.

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

Completeness1/5

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

With no annotations, no output schema, and three required parameters, the description should explain what the analysis returns and how it treats the target cell. Instead it leaves the agent unable to predict the result of invoking the tool.

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 filename, worksheet, and cellAddress are already documented in the schema, and the description adds no additional meaning about expected formats or constraints. Baseline of 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.

Purpose3/5

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

"Analyze formula structure" does state a verb and resource, but "analyze" is vague and overlaps heavily with sibling names like excel_explain_formula, excel_audit_formulas, and excel_calculate_formula. The description gives an agent no basis to distinguish this tool's purpose from those siblings.

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 prerequisites, and no mention of alternatives, even though multiple formula-related siblings exist. The agent must guess whether this is the right tool from the name alone.

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