Skip to main content
Glama

set_user_spend_limit

Set or remove a spend limit for a team member by email; specify a dollar amount or null to clear the limit.

Instructions

Set or clear a user's spend limit (POST /teams/user-spend-limit).

Args: user_email: Team member email. spend_limit_dollars: Integer dollar limit, or null to clear.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_emailYes
spend_limit_dollarsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations provided, the description must fully disclose behavioral traits. It only states that the tool performs a POST request to set or clear a limit, but it omits important details such as authentication requirements, potential side effects (e.g., immediate effect, impact on spending), and response behavior. This lack of transparency could lead to misuse.

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 extremely concise, using just two sentences and a bullet list of parameters. It wastes no words and front-loads the primary purpose. Every part of the description contributes to understanding.

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?

Given the tool's mutation nature and lack of annotations, the description is somewhat incomplete. It does not explain prerequisites (e.g., user must exist, caller must be admin) or confirm the immediacy of the effect. However, it leverages an output schema (not shown) for return values, and the sibling list lacks similar tools, so the basic usage is clear.

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 description coverage is 0%, so the description must compensate. It clearly explains both parameters: user_email and spend_limit_dollars, with the critical detail that null clears the limit. This adds significant meaning beyond the schema's type information, though additional details like email format or validation rules would be beneficial.

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 action 'Set or clear a user's spend limit' and identifies the HTTP endpoint. It uses a specific verb-resource combination that differentiates this tool from its siblings, none of which involve spend limit management.

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

Usage Guidelines3/5

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

The description provides basic usage context by mentioning that spend_limit_dollars can be null to clear the limit. However, it does not specify when to set versus clear, nor does it mention any prerequisites or alternatives. Given the simplicity of the tool and the absence of similar siblings, this is adequate but not exemplary.

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/PhillipChaffee/cursor-api-mcp'

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