Skip to main content
Glama

schedule-iii

List allocation runs

list_allocation_runs
Read-only

MANAGEMENT data class. Discover the latest generated persisted allocation run for each requested period and its separate cost-centre and profit-centre reconciliations; do not add them together. This does not generate or recompute allocation. Money is decimal-string rupees. Choose one allocation_dimension in a detail read. Results are ordered period, version, then run id, and the signed page_token is pinned to the complete filtered source: if it reports source_changed, restart at page 1. Latest generated does not establish source freshness; known_stale and not_assessed are both warnings, never a claim that the source is fresh. Raw stale reasons and warning context are not 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>"
    },
    "name": "list_allocation_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoOptional management month in YYYY-MM.
client_idYesThe entity (client) id — from list_clients.
page_sizeNoRows per source-pinned page (default 20, max 50).
page_tokenNoSigned continuation from the prior page; restart without it if source_changed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / current_only
      Removed value: -{
      -  "description": "Return only the latest generated version per period (default true); this is not a freshness claim.",
      -  "type": "boolean"
      -}
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the readOnly/non-destructive annotations: it discloses result ordering (period, version, run id), that page_token is pinned to the complete filtered source and requires a restart on source_changed, and that known_stale and not_assessed are warnings rather than a freshness claim. It also states what is NOT returned (raw stale reasons, warning context) and that money is decimal-string rupees — unusually rich disclosure for a read tool.

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?

Purpose and the not-generate exclusion are front-loaded, and nearly every clause carries a distinct constraint. It is dense and leans on internal jargon ('MANAGEMENT data class', 'source-pinned page'), which costs a little readability but not information.

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?

With no output schema and no annotations covering return shape, the description compensates by describing ordering, the two separate reconciliation result sets, the pagination continuation contract, currency representation, and what warning fields are withheld. That is enough for an agent to consume the result correctly without a return schema.

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% and the schema already documents period format, the client_id provenance, page_size bounds, and page_token restart behavior. The description adds only modest meaning beyond that (periods being 'requested', the source-pinned nature of the token), so the baseline 3 applies.

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?

States a specific verb and resource: discovering the latest generated persisted allocation run per requested period, plus its separate cost-centre and profit-centre reconciliations. It also draws a hard boundary ('does not generate or recompute allocation'), which separates it from any allocation-producing sibling without needing the sibling named.

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?

Gives real usage direction: use a detail read with exactly one allocation_dimension, and this tool never generates or recomputes. The gap is that the detail-read alternative is described only by role, not named, so an agent must still map that phrase to get_allocation_account_figures or get_allocation_target_figures.

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