Skip to main content
Glama

schedule-iii

Read budget

get_budget
Read-only

MANAGEMENT data class. Read the exact existing ACTIVE budget_id returned by list_budgets for the requested Entity and fiscal year, including earlier fiscal years: identity-free header, its pinned P&L tree, and filtered/paginated cells with entered-versus-inferred truth. A draft or archived id is not readable and is never replaced inside a read. Amounts and locked FX rate are decimal strings. Filter months, lines, centres, or inference before paging. The signed page_token binds this exact id and source; if source_changed after a replacement, discard partial results, rediscover ACTIVE with list_budgets and start the new exact id at page 1 without the old token. Never combine budget versions or select a substitute mid-walk. Cells across different P&L lines are not one meaningful grand total, so no cross-line grand total is exposed. No people, ownership, editability, or approval identities are returned.

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": {
      "client_id": "<client_id>",
      "budget_id": "<budget_id>"
    },
    "name": "get_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
monthNoOptional budget month in YYYY-MM.
budget_idYesBudget id from list_budgets.
client_idYesThe entity (client) id — from list_clients.
inferenceNoCell inference state (default all).
page_sizeNoCells per source-pinned page (default 100, max 200).
line_codesNoUp to 25 P&L line codes.
page_tokenNoSigned continuation from the prior page; restart without it if source_changed.
cost_centre_idsNoUp to 25 cost-centre ids.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly and non-destructive annotations, it discloses important behavior: source-pinned pagination, token invalidation after replacement, decimal-string amounts and locked FX rates, and the absence of people, ownership, editability, or approval identities. It also explains that no cross-line grand total is exposed and that budget versions must not be combined.

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 key constraints are front-loaded, and the dense content is justified by the tool's pagination and source-consistency complexity. However, the all-caps terminology and repeated phrasing around the 'exact' ACTIVE id make it somewhat harder to scan than necessary.

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?

There is no output schema, so the description carries the burden of explaining the return payload, and it does so thoroughly: header, P&L tree, cells, inference state, decimal formatting, and exclusions around identities and grand totals. It also covers pagination behavior and recovery from source changes, which are essential for correct invocation.

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 the schema already documents every parameter. The description adds operational meaning beyond that, especially that filters should be applied before paging and that page_token is bound to the exact budget id and source state, requiring a restart if source_changed occurs.

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?

It states a specific verb and resource: read an existing ACTIVE budget_id returned by list_budgets. It also specifies what is returned—identity-free header, pinned P&L tree, and filtered/paginated cells—which distinguishes this read operation from budget discovery via list_budgets.

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 routes the agent to list_budgets for discovering the ACTIVE budget id and says draft or archived ids are not readable. It also gives concrete recovery guidance: if source_changed, discard partial results, rediscover the ACTIVE id with list_budgets, and restart at page 1 without the old token.

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