Skip to main content
Glama

Set the monthly X spending limit

set_x_budget
DestructiveIdempotent

X bills Shager for every read, reply and DM. This sets the most, in US dollars, that this workspace may use on X per calendar month (UTC) for comments and auto-replies; 0 turns X comments and auto-replies off. Default 5. Confirm the amount with your human. (Not available in an unclaimed sandbox.)

Input Schema

NameRequiredDescriptionDefault
workspace_idYesWorkspace id from list_workspaces
monthly_limit_usdYesUS dollars per month, e.g. 5

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only flag destructive/idempotent/not-readOnly; the description goes well beyond them by disclosing the billing model that motivates the setting, the exact scope affected (comments and auto-replies), the meaning of the zero value (feature shutdown, which explains the destructive hint), the default of 5, the human-confirmation requirement, and the unclaimed-sandbox restriction. This is precisely the added context the annotations cannot carry.

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?

Four compact sentences that front-load the billing rationale before the operational detail, with no filler. Slightly dense in the first two sentences, but every clause carries information an agent needs before calling a spend-affecting tool.

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?

Both required parameters are fully documented in the schema and reinforced in prose, annotations carry the safety profile, and no output schema exists to explain. The description closes the remaining gaps an agent would otherwise hit: cost implications, the zero-value behavior, the confirmation requirement, and the sandbox availability limit.

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 real meaning: the limit is in US dollars, applies per calendar month in UTC, and a value of 0 has the special semantics of disabling X comments and auto-replies. It also frames monthly_limit_usd's default as 5, which the schema does not state.

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?

States a specific verb and resource: sets the maximum monthly USD spend for this workspace on X, scoped explicitly to comments and auto-replies. The cost model sentence (X bills per read, reply and DM) plus the '0 turns X comments and auto-replies off' clause makes the tool's effect unmistakable and distinguishes it from every sibling, none of which touch spend.

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 clear operational guidance: 'Confirm the amount with your human' establishes an approval precondition, the default of 5 gives a fallback, and '(Not available in an unclaimed sandbox.)' names an environment where the call will fail. It stops short of naming an alternative tool or explicitly stating when not to use it, which is why it isn't a 5.

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