Skip to main content
Glama

excel_period_comparison

Compare current and previous Excel worksheet ranges, calculate differences and optional percentage changes, and write the comparison results to a specified output range.

Instructions

Compare periods

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>",
      "currentValueRange": "<currentValueRange>",
      "previousValueRange": "<previousValueRange>",
      "outputRange": "<outputRange>"
    },
    "name": "excel_period_comparison"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesWorkbook name
worksheetYesWorksheet name
outputRangeYesOutput range
showPercentageNoShow percentage
currentValueRangeYesCurrent range
previousValueRangeYesPrevious range

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.7/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 behavioral burden, and it discloses nothing. It does not say that results are written to outputRange (overwriting prior content there), what metric is computed (difference, percentage change, growth), or whether showPercentage alters the written values — a significant gap for a mutation tool.

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

Conciseness2/5

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

Two words are technically concise but represent under-specification rather than efficiency. There is no lead sentence establishing what the comparison produces, so nothing meaningful is front-loaded.

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?

For a 6-parameter tool with 5 required inputs, no annotations, and no output schema, the description provides none of the context an agent needs to invoke it correctly. It cannot determine the comparison metric, the write behavior, or the expected range formats.

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 the baseline is 3; however the schema's own descriptions are near-placeholders ("Current range", "Previous range", "Output range"), and the description adds no meaning beyond them. The one genuinely ambiguous parameter, showPercentage, is left entirely undefined in both places.

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

Purpose2/5

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

"Compare periods" restates the tool name (excel_period_comparison) without adding a specific resource or scope. It never says what is being compared — the current vs. previous value ranges in an Excel worksheet — nor what the output is, so an agent must infer the entire operation from the name and schema.

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

Usage Guidelines1/5

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

There is no guidance on when to use this versus the many other excel_* analysis or formatting tools, no prerequisites such as an open workbook, and no exclusions. The agent is left to guess whether this is a read-only analysis or a write operation.

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