Skip to main content
Glama

Budget Manage Tool

budget_manage
Destructive

Check credit budget availability before dispatching expensive jobs, get a summary of current balance and MTD spend, or forecast future spend by extrapolating recent ledger entries.

Instructions

Team-wide credit budget overview, pre-flight cost guards, and spend forecasting. Read-only — does not move money. 1 credit ≈ $0.001 USD; balances and reservations track LLM + outbound + compute spend with pessimistic locking. Use check before dispatching any expensive job to avoid mid-run pause-on-budget-exhausted events.

Actions:

  • summary (read) — current balance, pending reservations, MTD spend by category (llm/outbound/compute).

  • check (read) — estimated_cost (credits). Returns pass/fail without reserving funds.

  • forecast (read) — period (week|month|quarter), granularity (day|week). Projects spend by extrapolating recent ledger entries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform: summary, check, forecast
deadline_msNoOptional: max wall-clock time (ms) the tool may spend. If exceeded during the call, returns a DEADLINE_EXCEEDED error. Minimum 100 ms. Leave unset for no deadline.
amountNoAmount of credits to check availability for. If not provided, returns general availability.
Behavior1/5

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

The description claims the tool is read-only ('does not move money'), but the annotation destructiveHint: true indicates the tool may be destructive. This contradicts the description, severely undermining transparency.

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 description is well-organized with a clear overview and bullet list of actions. It is slightly verbose but earns each sentence. Front-loads the key purpose.

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

Completeness3/5

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

No output schema is provided, so the description must explain return values. It partially does (check returns pass/fail, forecast projects spend), but lacks detail on output structure for summary. Adequate but not complete.

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%, so the baseline is 3. The description adds some context (e.g., check returns pass/fail), but most parameter meaning is already in schema descriptions. No significant added value beyond schema.

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 clearly states it provides budget overview, pre-flight cost guards, and spend forecasting. It lists specific actions (summary, check, forecast) and explicitly says it is read-only, distinguishing it from other 'manage' sibling tools that likely perform mutations.

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?

The description explicitly advises using the 'check' action before expensive jobs to avoid budget exhaustion events, providing clear usage context. However, it does not mention when not to use the tool or alternatives among siblings, slightly reducing clarity.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/escapeboy/agent-fleet-o'

If you have feedback or need assistance with the MCP directory API, please join our Discord server