Skip to main content
Glama

excel_financial_sum

Sums values in a specified Excel worksheet range using criteria from a chosen column and filter value.

Instructions

Sum values with criteria

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

Input Schema

NameRequiredDescriptionDefault
filenameYesWorkbook name
rangeEndYesRange end
worksheetYesWorksheet name
rangeStartYesRange start
criteriaValueNoFilter value
criteriaColumnNoCriteria column

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the entire behavioral burden and discloses almost nothing. It does not state whether the workbook is modified or only read, what happens when no cell matches the criteria, or how non-numeric or empty cells are treated — all material for an Excel aggregation 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?

Four words is not conciseness but under-specification; there is nothing to be front-loaded against. The single clause omits the essential facts an agent would need, so brevity here costs more than it saves.

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 six-parameter tool with no annotations and no output schema, the description is far too thin. An agent must discover from the schema alone that criteria filtering is optional and gets no statement of return behavior such as the computed sum or the non-matching case.

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 six parameters already have descriptions in the schema, which sets the baseline at 3. The tool description adds no meaning beyond that — in particular it never explains that criteriaColumn and criteriaValue are an optional pair used together as the filter.

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?

States a verb (sum) and an implicit resource (values) with a criteria qualifier, so the gist is retrievable. However, 'Sum values with criteria' is a near-restatement of a SUMIF-style function and does not distinguish this tool from siblings like excel_financial_average or excel_calculate_formula, leaving the agent to infer the difference.

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 at all: nothing says when to prefer this over excel_financial_average, excel_calculate_formula, or plain formula calculation. The presence of optional criteria parameters hints at conditional aggregation, but the description never states that criteria are optional or when to omit them.

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