Skip to main content
Glama

Update Shared Capacity Group

update_capacity_group
DestructiveIdempotent

Reconfigure one of the customer's Shared Capacity Groups (capacity groups): rename it and/or change its shared_channels_count / metered_channels_count. Only the provided fields are changed. Shared channels are drawn from (or returned to) the Capacity Pool's free channels — raising shared_channels_count is not a purchase, it allocates channels already bought into the pool. Raising metered_channels_count DOES enable more pay-per-use channels, billed at the pool's metered rate (all amounts are in USD), which is why raising it is two-call confirmation-gated: the first call returns a preview + confirmation_token and changes nothing; re-call with the token to apply it. Every other change applies immediately. Returns the updated group, or a readable error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew friendly name of the Shared Capacity Group.
capacity_group_idYesUUID of the Shared Capacity Group to update (must belong to the customer).
confirmation_tokenNoOnly needed when RAISING metered_channels_count. Leave empty on the first call — the tool returns a preview + confirmation_token and changes nothing. Re-call with that confirmation_token to apply the change. Retrying with the SAME token after a lost response is safe — a repeat returns the original result.
shared_channels_countNoNew number of shared channels drawn from the Capacity Pool. A COUNT, not a boolean: pass N to allow up to N concurrent shared channels, 0 for none.
metered_channels_countNoNew number of metered (overload) channels. A COUNT, not a boolean: pass N to allow up to N metered channels, 0 to disable metered usage. Raising it is confirmation-gated.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: partial-update semantics, the billing consequence of raising metered channels (pay-per-use at the pool's metered rate, in USD), the two-call preview/confirmation_token gate, immediate application for all other changes, and token-retry idempotency ('a repeat returns the original result'). This is exactly the kind of context annotations (destructive/idempotent hints) cannot convey.

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?

Purpose and scope are front-loaded in the first two sentences, and the confirmation-gating rule follows logically. The prose is dense and mostly earns its length, though the billing explanation could be tightened slightly.

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

Completeness5/5

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

With no output schema, the description correctly states the return ('the updated group, or a readable error'), and it covers the confirmation flow, partial-update behavior, and billing implications. An agent has everything needed to invoke this correctly, including the non-obvious two-call path.

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 100%, so the baseline is 3; the description goes further by explaining why confirmation_token exists (billing-gated metered increase) and clarifying that raising shared_channels_count is an allocation, not a purchase. That rationale is not present in the schema, though the field-level mechanics largely are.

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?

States a specific verb (reconfigure/update) and a specific resource (Shared Capacity Group), and enumerates exactly which fields can change (name, shared_channels_count, metered_channels_count). An agent can immediately distinguish it from create_capacity_group, delete_capacity_group, and list_capacity_groups without opening any schema.

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?

Gives clear context on when the tool is appropriate, including partial-update semantics ('Only the provided fields are changed') and the precise condition that triggers the two-call confirmation flow (raising metered_channels_count). It does not explicitly name sibling alternatives (e.g., buy_capacity_channels for actually purchasing channels), so it stops short of a 5.

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