Skip to main content
Glama
shiiman

multi-agent-mcp

by shiiman

set_cost_warning_threshold

Set a cost warning threshold in USD to receive alerts when spending exceeds the limit. Only usable by the owner agent.

Instructions

コスト警告の閾値を設定する。

※ Owner のみ使用可能。

Args: threshold_usd: 新しい閾値(USD) caller_agent_id: 呼び出し元エージェントID(必須)

Returns: 設定結果(success, threshold, message)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
threshold_usdYes
caller_agent_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description carries full burden. It discloses the permission constraint (Owner only) and the return format, but does not explain side effects, such as whether the threshold replaces an existing one or if there are limits. For a mutation tool, more transparency is needed.

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?

The description is concise and structured with clear sections for args and returns. It is front-loaded with the purpose and permission note. Every sentence adds value, though the args section could be more compact.

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 output schema exists, the description's return section is redundant but harmless. It covers parameters and permissions but lacks context on the scope of the threshold (e.g., global vs per workspace) and how it interacts with cost monitoring. Siblings suggest cost management context, but this tool's description could be more complete.

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?

The description adds meaning to both parameters beyond the schema (which lacks descriptions). However, it incorrectly states that caller_agent_id is required, contradicting the schema which marks it as optional. This misleads the agent.

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?

The description clearly states the verb and resource: 'Set cost warning threshold'. It is specific among siblings, which include other cost tools like get_cost_estimate and reset_cost_counter, but none that set a threshold. However, it does not explicitly differentiate from them, so a slight deduction.

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 notes that only the Owner can use this tool, providing usage context. However, it does not give guidance on when to use this tool versus alternatives or when not to use it. The note is helpful but incomplete.

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/shiiman/multi-agent-mcp'

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