Skip to main content
Glama

set_spend_limit

Assign a hard spending limit in dollars to a team member, blocking further API requests when the limit is reached.

Instructions

Set a hard spending limit (in dollars) for a specific team member. Use with caution — this will block the user from making requests once the limit is reached.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYesUser email to set the limit for
limitDollarsYesHard spending limit in dollars (0 to remove limit)
Behavior4/5

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

No annotations are provided, so the description must carry the full burden. It discloses that setting a limit 'will block the user from making requests once the limit is reached', which is the key behavioral trait. It also hints at removal via the parameter description (0 to remove limit), but does not elaborate on side effects or reversibility beyond that.

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 sentences with no waste: first sentence states the core purpose, second provides a critical warning. The structure is front-loaded and efficient.

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

Completeness3/5

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

For a mutation tool with no annotations and no output schema, the description is missing important context: what the response is, whether the tool is idempotent, authentication requirements, and how it interacts with existing spending. The caution about blocking is good, but overall completeness is average.

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% with straightforward parameters. The description adds no new semantic information beyond what the schema provides (e.g., 'in dollars' is already in the schema). It restates the concept of a hard limit but does not clarify edge cases like what happens if limit is below current spend.

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 clearly states the verb 'set', the resource 'hard spending limit', and the target 'for a specific team member'. It distinguishes well from all sibling tools, which are read-only 'get_' operations, so the agent can easily tell this is a mutation tool.

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?

The description includes a cautionary note about blocking users, which helps the agent understand when to exercise care. However, it does not explicitly state when to use this tool versus alternatives or provide conditions for use (e.g., admin privileges). Given siblings are all read-only, the context is clear but not fully explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ofershap/cursor-usage-plugin'

If you have feedback or need assistance with the MCP directory API, please join our Discord server