Skip to main content
Glama

cb_configure_thresholds

Configure circuit breaker thresholds using real-time traffic metrics—latency, error rate, and requests per second—to prevent service failures and maintain stability.

Instructions

Configure and tune circuit breaker thresholds based on traffic patterns (Pro)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoAPI key for authentication
service_nameYesName of the service
avg_latency_msYesAverage latency in milliseconds
error_rate_percentYesCurrent error rate percentage
requests_per_secondYesAverage requests per second
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It implies a mutating configuration operation, but it does not state whether existing thresholds are overwritten, whether the change is immediate or reversible, what side effects occur, or what authentication/entitlement requirements exist beyond the api_key parameter.

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 a single efficient sentence with no wasted words. The '(Pro)' qualifier is brief and informative, though 'configure and tune' is slightly redundant and could be tightened.

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?

For a configuration-mutation tool with no annotations and no output schema, this description is incomplete. It lacks information about the outcome, whether thresholds are recomputed or appended, what response the agent can expect, and any operational caveats. The agent is left to infer most of the behavior from parameter names.

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%, so each parameter is already documented. The description adds the useful context that thresholds are tuned 'based on traffic patterns,' which maps to the latency, error-rate, and RPS parameters, but it does not explain how these values are combined or how they affect the resulting thresholds.

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 a specific action ('Configure and tune') on a distinct resource ('circuit breaker thresholds') and ties it to traffic patterns. It goes beyond a tautology and is easily distinguishable from generic sibling names, though it does not explicitly differentiate itself from related tools like cb_add_fallbacks or retry_add_circuit_breaker.

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?

There is no guidance on when to use this tool versus alternatives, no mention of prerequisites, and no statement of when it should not be used. The '(Pro)' hint provides minimal context but does not help an agent decide between this and related circuit breaker tools.

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/barnburner121/claude-plugin-marketplace'

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