Skip to main content
Glama

Delegation Budget (agent allowances)

budget_delegate

Delegation Budget (agent allowances): a parent budget's OWNER gives a child agent its own bounded allowance: human/company -> supervisor agent -> workers -> sub-agents (4 levels). The child can only NARROW the parent: cap <= parent, per-purchase max, allowed payees (subset), blocked payees (inherited), velocity limit (purchases/hour), expiry <= parent. Every child spend is checked against and counted in every ancestor, so the company cap holds across the whole tree; freezing a parent stops all descendants; budget/status shows spend by child. Header X-Budget-Key = the parent's owner_key. Bookkeeping only. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/budget/delegate, $0.01 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": {
      "budget_id": "<budget_id>",
      "cap_usd": "<cap_usd>"
    },
    "name": "budget_delegate"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoname
periodNoperiod
cap_usdYescap usd
ttl_daysNottl days
budget_idYesbudget id
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. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, the description discloses key behaviors: children can only narrow parent limits, blocked payees are inherited, all ancestor budgets are checked and counted, freezing a parent stops descendants, and the required X-Budget-Key header uses the parent's owner_key. It also clarifies that the tool is bookkeeping-only and notes the production endpoint and cost.

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 dense but front-loaded, moving from purpose to narrowing constraints to cascade behavior and then authentication. Some title repetition and production endpoint details are less essential for tool selection, but the structure remains clear and most content earns its place.

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?

For a non-idempotent mutation tool with ten parameters, no output schema, and open-world behavior, the description supplies the missing context an agent needs: hierarchy model, inheritance rules, authentication header, cascade effects, and the bookkeeping-only nature of the operation.

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 already 100%, so the baseline is 3. The description adds useful meaning for several parameters by explaining cap inheritance, per-purchase maxima, recipient subsets, inherited blocks, velocity limits, and expiry constraints, though it does not explicitly cover every parameter such as name, period, or escalate_above_usd.

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 states a specific action: a parent budget owner grants a child agent a bounded subordinate allowance. It distinguishes this delegation operation from a general budget operation by emphasizing the parent-child hierarchy and narrowing rules.

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?

It clearly establishes the context in which this tool applies: giving a child agent its own allowance under an existing parent budget. It does not explicitly name when to use budget_create or other siblings instead, but the parent-child framing gives strong usage guidance.

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