Skip to main content
Glama

Get Budgets

get_budgets
Read-only

List the organization's budget definitions (GET /api/budgets). Each budget carries budgetId, name, amount, currency, period (monthly | quarterly | annual), startDate/endDate, thresholdPcts (alert crossings), who a crossing notifies (channels — attached notification channels by name and type — and emails, ad-hoc addresses), and a scope (org-wide / platform / a single integration / a cost center / a service or tag). Optionally scope with integration_id to one connection; limit caps the list. Use response_format="concise" (default) for key fields, "detailed" for every field. This returns the budget DEFINITIONS — for current spend vs budget (actual + forecast + status) use get_budget_status. Read-only. Example: {} returns every budget; { "integration_id": "abc-123" } scopes to one connection.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax budgets to return (default: no cap beyond the truncation guard).
integration_idNoScope to a single provider connection (integration id). Omit for all connections / org-wide.
response_formatNoconcise = key fields only (default, lower token cost); detailed = the full parsed payload.concise

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description's "Read-only" restates that, but it goes further by enumerating the exact payload fields (budgetId, amount, currency, period, thresholdPcts, notification targets, scope) — essential context given there is no output schema. It does not mention pagination or the truncation guard behavior beyond the schema's own note, which keeps it from a 5.

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

Conciseness4/5

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

The purpose and the sibling exclusion are front-loaded, and every sentence carries information. The middle enumeration of budget fields is dense but earns its place because no output schema exists; the trailing example is compact. Slightly long as a single block, but no filler.

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

Completeness5/5

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

For a read-only list tool with three optional parameters and no output schema, the description covers purpose, scoping semantics, response format choice, sibling alternative, and returned shape. Nothing an agent needs to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description still adds modest value by pairing each parameter with concrete usage (integration_id as a one-connection scope, limit as a list cap, response_format's token-cost tradeoff) and by supplying worked examples the schema cannot express.

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 opens with a specific verb+resource ("List the organization's budget definitions") and even names the backing endpoint. It then explicitly disambiguates from the closest sibling: "This returns the budget DEFINITIONS — for current spend vs budget ... use get_budget_status." An agent can route correctly without opening either schema.

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?

Explicit alternative routing is provided (get_budget_status for spend vs budget), along with when to scope by integration_id versus omit it, and when to pick response_format="concise" versus "detailed". Concrete call examples ({} and {"integration_id": "abc-123"}) remove remaining ambiguity.

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