Skip to main content
Glama

excel_financial_average

Calculate the average of values in a specified Excel worksheet range to summarize financial data; provide workbook name, worksheet, and range start/end cells.

Instructions

Average values

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>",
      "rangeStart": "<rangeStart>",
      "rangeEnd": "<rangeEnd>"
    },
    "name": "excel_financial_average"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesWorkbook name
rangeEndYesRange end
worksheetYesWorksheet name
rangeStartYesRange start

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.9/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 — and it discloses nothing. It does not say whether the tool reads or writes the workbook, whether non-numeric or empty cells are skipped, what the return value looks like, or whether the workbook must be open.

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 not conciseness but under-specification; there is no front-loaded statement of what the tool does or returns. Nothing here is wasted, but almost nothing is said.

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 four-required-parameter tool with no annotations and no output schema, the description should at minimum explain what is averaged and what comes back. It supplies none of that, leaving the agent to guess the operation's semantics entirely from the name and schema.

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 all four parameters (filename, worksheet, rangeStart, rangeEnd) are documented in the schema and the baseline is 3. The description adds no meaning beyond it — no range syntax (A1 vs. row/column), no note on whether the range is inclusive, no interaction between worksheet and range.

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?

"Average values" restates the tool name (excel_financial_average) rather than describing the operation. It gives no resource scope — nothing indicates it averages numeric cells in a worksheet range of an Excel workbook, nor how it differs from siblings like excel_financial_sum or excel_calculate_financial_ratio.

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 any alternative tool. An agent gets no signal about when averaging is the right operation versus summing or applying a formula.

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