Skip to main content
Glama

work_budget_set

Set or clear a spend limit on one work item (a person only).

A new paid run tied to the item is refused once its cost reaches the limit, even when the agent's own cap has room; the tighter of the two holds. An agent seat, including one acting for a person, is refused: an agent cannot set or raise its own limit.

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": {
      "work_id": "<work_id>"
    },
    "name": "work_budget_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
clearNoRemove the limit
work_idYesWork item UUID
budget_usdNoUSD limit as a decimal string, e.g. "5.00". "0" refuses all new paid runs

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden and does so well: it explains that new paid runs are refused once cost reaches the limit, that the tighter of the item limit and agent cap wins, and that agents cannot set or raise their own limits. These are non-obvious enforcement and authorization semantics that materially affect invocation.

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 front-loaded with the core action and scope, then adds only behavior that an agent needs to know. Every sentence earns its place, with no filler.

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?

Given moderate complexity, full schema coverage, and an output schema, this description includes the key mutation semantics, scope restriction, and authorization constraint. Nothing essential for correct invocation is missing.

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. The description adds useful meaning beyond the schema by clarifying that the work item must be a person and by explaining how the budget value interacts with agent caps and paid-run admission.

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: set or clear a spend limit on one work item, constrained to a person. It distinguishes this from agent-seat behavior, so an agent can tell exactly what operation this is.

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 applicable scope (person work items only) and explicitly excludes agent seats, including agents acting for a person. It does not name alternative tools or state when to prefer clearing versus setting, but the usage boundaries are clear.

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.