Skip to main content
Glama

upGrowth Growth Toolkit

Year-to-date (YTD) growth calculator

ytd_growth
Read-onlyIdempotent

Compares year-to-date totals with the same period last year, from monthly values or YTD totals, and gives a simple full-year run rate.

Input Schema

NameRequiredDescriptionDefault
last_ytd_totalNoAlternative: last year's total for the same period.
months_elapsedNoMonths covered, needed with totals for the run rate.
this_ytd_totalNoAlternative: this year's YTD total.
last_year_monthlyNoLast year's values for the same months.
this_year_monthlyNoThis year's values by month so far, January first (or first month of the financial year).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description usefully adds that the calculation supports two input shapes and emits a full-year run rate, but it does not say what happens if both input modes are supplied, if monthly arrays are uneven, or what the response contains.

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

Conciseness5/5

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

A single front-loaded sentence that states the comparison, the accepted inputs, and the extra output. Nothing redundant and nothing buried.

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

Completeness3/5

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

With no output schema, the description should say what the tool actually returns beyond 'a simple full-year run rate' – the growth figure and its shape are unstated. All five parameters are optional, and the description does not explain which combinations are valid, leaving a gap for a calculator with mutually exclusive input modes.

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 coverage is 100%, so the baseline is 3. The description does add a little meaning by framing this_ytd_total/last_ytd_total as one alternative and the monthly arrays as another, but it does not clarify constraints such as matching lengths or that months_elapsed is what enables the run rate.

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

Purpose4/5

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

placeholder

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

Usage Guidelines3/5

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

Usage is implied by the mention of YTD comparison and the two accepted input modes (monthly values or YTD totals), so an agent can infer the scenario. There is no explicit when-to-use or when-not, and no pointer to growth_rate or period_change for non-YTD comparisons.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.