Skip to main content
Glama

budget_enforce

Check if an agent spending amount exceeds its monthly limit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYes
agent_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. The name 'budget_enforce' implies enforcement (blocking/denying) while the description only says 'Check', leaving it unclear whether this is a pure read or a gate that fails a request, and there is no mention of auth needs, side effects, or what a failing result means.

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?

A single, front-loaded sentence with no filler. It is efficient, though its brevity is partly under-specification rather than tight editing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and no parameter descriptions, an agent cannot tell whether an over-limit result is a boolean, an error, or a side effect, nor what the preconditions are. More detail is needed for a tool whose name implies enforcement semantics.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% for both parameters. The description hints that 'amount' is the spending amount being tested and that the limit is monthly, but it never defines the units/currency, whether 'amount' is a single transaction or cumulative spend, or what 'agent_id' refers to.

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 ('Check') and resource (an agent's spending vs its monthly limit), so the intent is unambiguous. It does not explicitly distinguish itself from siblings like request_approval or lawful_check, but the budget scope is clear enough to route correctly.

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

Usage Guidelines2/5

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

The description says what is checked but never when to call it — e.g. before a spend, as a pre-flight gate, or on a schedule. No alternatives or preconditions (existing budget, registered agent) are mentioned, leaving the agent to infer usage.

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