Skip to main content
Glama
KitchenSink4AI

io.github.nometalalchemist/kitchensink4xl

audit_formulas

Read-only

Inspect formulas with five safety reports: external references, volatile functions, missing cached values, error cells, and cross-sheet dependencies. Use before/after edits to verify cached values.

Instructions

Read-only formula intelligence for a range, one sheet (sheet alone), or the whole workbook (no scope): the formula list plus five safety reports. external_references flags formulas reaching into other workbooks; volatile lists always-recalculating functions (NOW, RAND, OFFSET, INDIRECT and kin); missing_cached_values names formula cells with NO stored result, which read as blank to every non-Excel consumer until a recalculation; error_cells catches #REF!, #NAME?, and the other error literals in cached results or formula text; and cross_sheet_dependencies summarizes which sheets' formulas depend on which. Each list is capped with exact counts and a truncated flag. Use it before and after structural edits, and to judge whether cached values can be trusted. Read-only; works while the file is open in Excel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
sheetNo
locationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.0
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "type": "object"
      -}New value: +null
  2. Changed2 schema fields changedv1.1.0
    • addedInput schema / properties / location / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / location / title
      Removed value: -"Location"
  3. First observedv1.0.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, and the description aligns with and enriches that by adding substantial behavioral context: it works while the file is open, lists are capped with counts and a truncated flag, missing cached values read as blank to non-Excel consumers until recalculation, and it enumerates exactly what each of the five reports catches. This goes well beyond the annotation.

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 long but dense and well-organized, front-loading the scope and core deliverable before enumerating the five reports and usage guidance. Every section adds value, though 'Read-only' appears at both the start and the end, a small redundancy that could be trimmed for conciseness.

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

Completeness4/5

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

For a complex tool with no output schema, the description covers the main behaviors, report semantics, truncation behavior, scope selection, and safe usage context. It stops short of describing the exact response envelope or how the counts/truncated flag are structured per report, which would be useful for parsing results, but it is sufficient for selecting and invoking the tool correctly.

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 0%, so the description must compensate. It partially does by describing the three scopes: a range, one sheet (sheet alone), or the whole workbook (no scope), which maps conceptually to location, sheet, and omitting both. However, it does not explicitly explain the path parameter or describe the expected format/shape of location (e.g., A1 notation or object form), leaving notable ambiguity for parameter construction.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

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

The description clearly identifies the tool as a read-only formula intelligence audit that produces a formula list plus five named safety reports, across three explicit scopes (range, sheet, workbook). It distinguishes itself from siblings like read_range, set_formula, and diagnose_workbook by focusing specifically on formula auditing and safety analysis.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit usage context: 'Use it before and after structural edits, and to judge whether cached values can be trusted.' It also notes it works while the file is open in Excel. However, it does not name alternatives or state when not to use this tool versus diagnose_workbook or read_range, so it stops short of full routing guidance.

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