Skip to main content
Glama

Budget trends

get_budget_trends
Read-onlyIdempotent

Budget vs actual spending trends across multiple months. Use to answer "am I over budget" or "how has my spending compared to budget over time".

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_budget_trends"
  }
}

Input Schema

NameRequiredDescriptionDefault
numMonthsNoNumber of past months to include, 1–24 (default: 3)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered upstream. The description adds only the comparative/time-series nature of the result, with nothing about return granularity (per-month buckets), default window behavior, or what happens when no budget exists for a month.

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?

Two short sentences, front-loaded with what the tool returns, followed by the user intents it serves. No filler, no restatement of the title, nothing that could be cut without losing information.

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?

For a simple, annotation-covered read tool with one optional parameter and no output schema, the definition supplies enough to call it correctly: the comparison being made, the multi-month scope, and the questions it answers. Only marginal gaps remain, such as result granularity and default-window behavior.

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% for the single numMonths parameter, including its 1–24 range and default of 3, so the schema does the documentation work. The description says 'multiple months' but never references the parameter, its bounds, or the 24-month cap, adding no meaning beyond the schema; baseline 3 applies.

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?

The description names a specific comparison (budget vs actual spending) and a specific shape (trends across multiple months), which implicitly separates it from single-period siblings like get_budget_status or get_spending_by_month. It stops short of naming an alternative outright, so the differentiation is inferred rather than stated.

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

Usage Guidelines4/5

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

It gives concrete intent-based triggers, quoting the user questions it answers ("am I over budget", "how has my spending compared to budget over time"), which is strong guidance for selection. It offers no explicit exclusions or when-not-to-use, so an agent must infer that point-in-time status questions belong to get_budget_status.

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.

Resources