Skip to main content
Glama

Growth Rates

growth_rates
Read-onlyIdempotent

Compute period-over-period growth and CAGR for a numeric series. FREE.

Typical input {"values": [1000, 1100, 1320]} returns {"period_over_period_pct": [10.0, 20.0], "total_change_pct": 32.0, "avg_growth_per_period_pct_cagr": 14.89}.

Use when one series is already in period order. Not for comparing two variants (ab_test) and not for projecting future periods (forecast_trend). Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""} (for example {"error": "need at least 2 values"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valuesYesOrdered numeric series, oldest first, at least 2 values, e.g. monthly revenue [1000, 1100, 1320].

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.4/5.0
Behavior4/5

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

The description clearly states the tool is 'read-only and idempotent' and reveals a crucial behavioral trait: instead of throwing protocol errors, it returns a structured error object with a fix message. The annotations already declare `readOnlyHint: true`, `idempotentHint: true`, and `destructiveHint: false`, so the bar for transparency is lower. The description goes beyond annotations by detailing the error-handling behavior and retry safety. No contradictions with annotations are present.

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?

The description is well-structured, front-loading the core purpose in the opening sentence. Every sentence contributes distinct value: purpose, example input/output, usage guidance, error handling, and idempotency assurance. No filler or repetition. It is highly efficient and earns every word.

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

Completeness4/5

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

Given the tool's low complexity (single required parameter), the presence of a clear output schema, and rich annotations, the description is nearly complete. It provides an illustrative example, usage guidelines, sibling differentiation, and error behavior. The only slight gap is that it does not explicitly state the return type format (e.g., that it returns an object with specific keys) beyond the JSON example, but the output schema covers this. For a one-parameter tool, this is very complete.

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?

The input schema has perfect coverage (100%), with a detailed description for the `values` parameter ('Ordered numeric series, oldest first, at least 2 values'). The tool's description reinforces this with a concrete example. Since schema coverage is complete, the baseline is 3. The description adds an example but does not significantly expand on the semantics already present in the schema.

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

Purpose5/5

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

The description clearly specifies the action ('Compute period-over-period growth and CAGR'), the target resource ('numeric series'), and the output format with an example. It distinguishes the tool from siblings by naming `ab_test` and `forecast_trend` and stating what it does not do ('Not for comparing two variants' and 'not for projecting future periods'), making the purpose highly specific and unambiguous.

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

Usage Guidelines5/5

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

The description explicitly states when to use this tool ('Use when one series is already in period order') and explicitly when not to use it, naming two sibling alternatives (`ab_test` and `forecast_trend`) with different purposes. This provides clear context for selection and exclusion, meeting the highest standard for usage guidance.

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.

TDQS

A4.7/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: A/B testing, cohort retention, correlation, CSV profiling, trend forecasting, funnel analysis, and growth rates. There is no overlap or ambiguity between them.

Naming Consistency5/5

All tool names follow a consistent lower_snake_case pattern with descriptive names (ab_test, cohort_retention, correlation, csv_profile, forecast_trend, funnel_report, growth_rates). The naming is uniform and predictable.

Tool Count5/5

With 7 tools, the server is well-scoped for a data analysis toolkit. It covers a range of common tasks without being too sparse or overwhelming.

Completeness4/5

The set covers key analysis tasks (A/B test, correlation, cohort retention, funnel, growth, forecast, profiling). However, it lacks a tool for continuous hypothesis testing (e.g., t-test) and basic descriptive statistics, which are minor gaps for the domain.

Resources