Skip to main content
Glama

Ask the owner for a budget

request_budget

Ask this organization's owner for a spend budget (a mandate) for THIS agent: the currency, how much per purchase / per day / per month, optionally caps per seller and what the money is for. Nothing is granted here: a person sees the request under Approvals (and by e-mail) and signs it. Use it after a refusal that names a currency you have no budget in (MANDATE_NOT_FOUND with currency=…). Then retry the purchase later, or check budget_request_status.

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": {
      "currency": "<currency>",
      "per_tx_limit": "<per_tx_limit>",
      "daily_limit": "<daily_limit>",
      "monthly_limit": "<monthly_limit>"
    },
    "name": "request_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
purposeNoOne line on what the money is for; the owner reads it.
currencyYesISO 4217 code of the budget, e.g. USD or KZT.
daily_limitYesMost per day, e.g. "75"; at least the per-purchase figure.
per_tx_limitYesMost for one purchase, e.g. "25".
entity_limitsNoOptional caps per seller: [{match, per_tx_limit, monthly_limit}]. `match` is the seller AS THE RAIL NAMES IT (case does not matter): for Agentcard the store id from a shop result (amazon, walmart, target), for your own tool its name, for a Stripe destination the account id; or * for every other seller. A name the rail never reports caps nothing.
monthly_limitYesMost per month, e.g. "300"; at least the daily figure.
allowed_resourcesNoOptional: only these tools or shops (names / prefixes).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / daily_limit / description
      Previous value: -"Most per day (optional)."New value: +"Most per day, e.g. \"75\"; at least the per-purchase figure."
    • changedInput schema / properties / monthly_limit / description
      Previous value: -"Most per month (optional)."New value: +"Most per month, e.g. \"300\"; at least the daily figure."
    • changedInput schema / required
      Previous value: -[
      -  "currency"
      -]New value: +[
      +  "currency",
      +  "per_tx_limit",
      +  "daily_limit",
      +  "monthly_limit"
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already state readOnlyHint=false and destructiveHint=false, so the safety profile is partly covered. The description adds the critical behavior that nothing is granted synchronously: a human sees the request under Approvals and by e-mail and signs it, which explains the asynchronous human-in-the-loop flow beyond the annotations. It does not clarify duplicate-request behavior or what identifier is returned, which is a minor gap.

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

Conciseness5/5

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

The description is dense but waste-free and front-loaded: what the tool does first, the key non-granting behavior second, and the triggering condition plus next steps last. Every sentence carries 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?

With seven parameters and no output schema, the description covers purpose, behavior, trigger, and normalization of next steps, which is nearly complete. The only omission is what the call returns (e.g., a request identifier) that an agent would need to poll status, though budget_request_status is pointed to.

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 descriptions are already detailed (including the seller `match` semantics and the '*' wildcard). The description mainly restates the fields (currency, per purchase/day/month, optional caps, purpose) without adding format rules or constraints beyond the schema, so the baseline of 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?

The description states a specific verb and resource — asking the organization's owner for a spend budget (mandate) scoped to THIS agent — and enumerates the limits involved (currency, per-purchase, per-day, per-month, optional per-seller caps). It is clearly distinguishable from siblings like my_budget (existing budget) and budget_request_status (status of a request).

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

Usage Guidelines5/5

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

It names an explicit triggering condition — a refusal with MANDATE_NOT_FOUND naming a currency — and explicit follow-up actions: retry the purchase later or check budget_request_status. When-to-use is not left to inference.

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