Skip to main content
Glama

excel_calculate_formula

Recalculate all formulas in an opened Excel workbook to refresh calculated values after data or formula changes.

Instructions

Recalculate all formulas

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

Input Schema

NameRequiredDescriptionDefault
filenameYesOpened workbook name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden and does not meet it. It never states that recalculation is a workbook-wide mutation that may overwrite cached formula results, whether errors like #REF! propagate, whether volatile functions or external links are affected, or what the call returns.

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 front-loaded clause with no redundant or filler wording. It is terse to the point of under-specification, but every word present earns its place.

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 workbook-mutating recalculate tool with zero annotations and no output schema, the definition is too thin: it never says whether all sheets are recalculated, how errors are surfaced, or what state changes. The single-parameter schema is documented, but the behavioral picture an agent needs before calling it is missing.

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?

There is one required parameter and schema description coverage is 100% ("Opened workbook name"), so the schema already explains the parameter fully. The description adds no further meaning about filename handling, so the baseline 3 applies.

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?

"Recalculate all formulas" gives a specific verb (recalculate) and resource scope (all formulas), so the agent knows it is a recompute operation rather than an analysis/explanation one. It does not explicitly distinguish itself from siblings such as excel_analyze_formula, excel_audit_formulas, or excel_explain_formula, which is what keeps it at 4 rather than 5.

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 contains no when-to-use or when-not-to-use guidance. An agent must infer on its own that this fits after writing values or formulas — nothing states the trigger condition, prerequisites (e.g., whether the workbook must be open), or what alternative to use for diagnostics.

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