Skip to main content
Glama
LamPyrid
by RadCod3

Get Available Budget

get_available_budget
Read-onlyIdempotent

Check unallocated budget for a date range to see funds set aside but unassigned, helping plan new budgets or cover unexpected expenses.

Instructions

Check unallocated budget available for new budgets or unexpected expenses.

Shows money set aside but not assigned to specific budgets.

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": {
      "req": "<req>"
    },
    "name": "get_available_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
reqYesRequest for getting available budget.

Output Schema

NameRequiredDescriptionDefault
amountYesTotal unallocated budget available for the period
end_dateYesEnd of the budget period this amount covers
start_dateYesBeginning of the budget period this amount covers
currency_codeYesCurrency code (ISO 4217) for the budget amount

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=false, so the safety profile is covered. The description adds the substantive semantic of what 'available' means, but omits behavior an agent would care about, such as whether the figure nets out pending or upcoming allocations and how the date window affects the result. With an output schema present, return format need not be described.

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?

Two short sentences, front-loaded with the action, with no filler. The second sentence partially restates the first, which is mild redundancy but not harmful.

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 single-parameter read tool with full schema coverage, complete annotations, and an output schema, the description provides enough to invoke it correctly. The remaining gap is a clearer statement of how the unallocated figure is computed relative to the date range and sibling summary tools.

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 description coverage is 100%: the nested req object documents start_date and end_date with formats and month-boundary defaults. The description adds no parameter meaning beyond the schema, so the 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 gives a specific read verb ('Check') and a well-defined resource ('unallocated budget'), and the second sentence clarifies the concept as 'money set aside but not assigned to specific budgets'. It does not explicitly differentiate from siblings like get_budget_summary or get_budget, so an agent must infer the distinction from the 'unallocated' qualifier.

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

Usage Guidelines3/5

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

'For new budgets or unexpected expenses' implies a use case but is not an operational rule for when to call this versus get_budget_summary or list_budgets. There are no stated exclusions, prerequisites, or explicit alternative-tool routing, leaving selection to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.