Skip to main content
Glama

Shared Budget

budget_create

Shared Budget: one spending cap a whole TEAM of agents draws from (total, per day or per month), with a per-purchase max, an escalate line and allowed/blocked payees. Spend Gate is stateless, so 5 agents can each stay under $1 and spend $5 together; a Shared Budget keeps the one running total. Returns budget_id + owner_key + spender_key (shown once). Bookkeeping only: OMENZ never holds or moves money. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/budget/create, $0.002 via x402.)

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": {
      "cap_usd": "<cap_usd>"
    },
    "name": "budget_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoname
periodNoperiod
cap_usdYescap usd
ttl_daysNottl days
per_tx_max_usdNoper tx max usd
allowed_recipientsNoallowed recipients
blocked_recipientsNoblocked recipients
escalate_above_usdNoescalate above usd
velocity_max_per_hourNovelocity max per hour

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / velocity_max_per_hour
      Added value: +{
      +  "description": "velocity max per hour",
      +  "type": "integer"
      +}
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that the returned budget_id, owner_key, and spender_key are shown only once, that the service is bookkeeping-only and never holds or moves money, and that production calls cost $0.002 via x402. It does not detail failure behavior or what happens on duplicate creation, but it adds substantial context beyond the structured annotations.

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

Conciseness3/5

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

The description is front-loaded with the core concept and is generally readable, but it includes promotional or implementation details such as 'By OMENZ', the playzone name, and the production endpoint and price, which are not essential for selecting and invoking the MCP tool. It could be tightened without losing decision-relevant information.

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 nine-parameter mutation tool with no output schema, the description supplies the key return identifiers and important behavioral caveats such as keys being shown once and money not being held or moved. It is complete enough to call correctly, though it does not cover every parameter edge case or the budget lifecycle.

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 baseline is 3, but the description adds meaning by explaining that the cap can apply to a total, day, or month, and by naming the per-purchase max, escalate line, and allowed/blocked payees. It does not explain ttl_days or velocity_max_per_hour, but it meaningfully clarifies the core parameters.

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 makes clear that this tool establishes a shared spending cap for a team and returns identifying keys, though it never explicitly says 'creates a budget' and does not directly distinguish itself from sibling budget_delegate, budget_release, budget_spend, or budget_status. The resource and scope are specific enough for an agent to identify it as the budget-creation tool.

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?

It gives a useful contextual rationale by contrasting a stateless Spend Gate with a Shared Budget that keeps one running total, implying when a shared cap is needed. However, it does not explicitly state when to call budget_create rather than the sibling budget tools, nor does it describe prerequisites such as whether a budget already exists.

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