Skip to main content
Glama

excel_trace_precedents

Trace formula precedents in a worksheet cell to see which cells feed a formula, making workbook auditing and debugging easier.

Instructions

Trace formula precedents

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_trace_precedents"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesWorkbook name
worksheetYesWorksheet name
cellAddressYesCell address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden and discloses almost nothing. It does not say whether the trace is read-only, whether it recurses through nested references, how deep it goes, whether it errors on a non-formula cell, or what shape the result takes. Only the bare fact that it is a tracing operation is conveyed.

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?

Three words with zero waste and the verb front-loaded, so there is no structural problem. The issue is under-specification rather than verbosity, which caps the score: the sentence is efficient but does not do enough work. A single extra clause about direction of the trace would have made it a 5.

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?

A three-required-parameter tool with no annotations and no output schema needs the description to explain both the direction of the trace and the return shape, and it explains neither. An agent cannot tell from this text whether it will receive a list of cell addresses, a nested tree, or a formula string. For a domain-specific analysis tool, this leaves the caller guessing on the two things that matter most.

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, and the baseline of 3 applies when the schema does the heavy lifting. The description adds no format detail such as whether cellAddress should be A1-style or absolute, or whether the worksheet must be the sheet where the formula lives. Nothing is added beyond the schema.

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?

The description names a specific verb and object ("Trace formula precedents"), which is more than a restatement of the name in the sense that it identifies the spreadsheet concept being traversed. However, it never distinguishes itself from the sibling excel_trace_dependents, which is the exact confusion an agent will have for a tracing pair. An agent must guess that precedents are the cells a formula reads from, not the cells that read it.

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 mention of the dependents alternative, and no prerequisites (e.g. that the target cell must contain a formula). The only signal is the tool name, which is exactly what the description is supposed to add to. Implied usage is weak because the precedents/dependents split is genuinely ambiguous in spreadsheet terminology.

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