Skip to main content
Glama

excel_year_to_date

Calculates year-to-date totals from date and value columns in an Excel worksheet, writing results to a specified output column for the given date range.

Instructions

Calculate YTD totals

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>",
      "dateColumn": "<dateColumn>",
      "valueColumn": "<valueColumn>",
      "rangeStart": "<rangeStart>",
      "rangeEnd": "<rangeEnd>",
      "outputColumn": "<outputColumn>"
    },
    "name": "excel_year_to_date"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesWorkbook name
rangeEndYesData end
worksheetYesWorksheet name
dateColumnYesDate column
rangeStartYesData start
valueColumnYesValue column
outputColumnYesOutput column

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?

No annotations are supplied, so the description carries the full behavioral burden, and it discloses nothing: not that the tool is a mutation that writes computed results into outputColumn, not that existing data in that column may be overwritten, not whether the source cells or formulas are preserved, and not what happens if the workbook is open or invalid. Only the bare "calculate" verb hints at its effect.

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 no wasted wording, so it is nothing if not concise, but the brevity is under-specification rather than efficiency. There is no structure to speak of — no statement of scope, input expectations, or result placement.

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 tool with 7 required parameters that mutates a workbook and has no annotations and no output schema, the description is far too thin to tell an agent what it needs to invoke it correctly. Key facts — that results are written to outputColumn, how the date range interacts with "YTD", and any overwrite risk — are absent.

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% and every parameter has a short description, so the schema baseline applies even though the tool description adds no parameter meaning. The terse schema labels ("Data start", "Data end", "Output column") are still thin on format and semantics, but the description neither compensates nor contradicts them.

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?

"Calculate YTD totals" names an operation and an aggregate type, which is more specific than a bare tautology, but it never says over what data, in which workbook, or in what sense "year-to-date" applies — especially confusing given the tool requires explicit rangeStart and rangeEnd. It gives no basis for distinguishing this from the many other excel_* calculation/formatting siblings.

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 alternatives or when not to use it. The agent is left to infer entirely from the name that this is the right tool for YTD aggregation rather than, say, a generic formula or financial-ratio tool.

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