Skip to main content
Glama

paybot_set_spending_limit

Set per-bot spending limits for daily spend, transactions, and recipients to cap agent payments and prevent overspending; operator ceilings are enforced, and loosening beyond policy is rejected.

Instructions

Set spending limits for a bot. Tightens the agent's own limits; the facilitator enforces the operator ceiling and may reject attempts to loosen beyond policy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
botIdNoBot identifier (defaults to env PAYBOT_BOT_ID)
maxDailySpendUsdNoMax USD spend per day
allowedRecipientsNoAllowlist of recipient addresses
maxTransactionUsdNoMax USD per transaction
maxTransactionsPerHourNoMax transactions per hour

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and usefully discloses policy behavior: self-tightening only, facilitator-enforced operator ceiling, possible rejection. It still omits what happens on success, whether it requires auth, and the response shape, so coverage is partial.

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?

Two tight sentences with the action front-loaded and the enforcement caveat second. Every clause earns its place with no redundancy.

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?

No annotations and no output schema, but the description covers the critical policy semantics and the schema fully documents all parameters. An agent can call it correctly; only success behavior and auth requirements remain unspecified.

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%, so all five parameters (botId default, daily spend, recipients, per-tx max, tx/hour) are documented in the schema. The description adds no field-level meaning beyond that, 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?

States a specific verb+resource: 'Set spending limits for a bot.' It is clearly distinguishable from all siblings (none of which set limits), though it does not explicitly name a contrasting tool. Clear and specific but without sibling routing.

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?

Gives the key operating condition: it 'Tightens the agent's own limits,' and that loosening beyond policy 'may reject' attempts. This tells the agent the direction of allowed change and a rejection condition, but names no alternative tool or explicit when-not scenario.

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