Skip to main content
Glama

set_overage_billing

Destructive

Turn the project owner's overage billing on or off, for the whole account. Returns {overageBilling}, the setting get_billing reads back. Available for Pro and Scale when the feature is enabled. Owner-only. Requires the manage:billing scope.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "enabled": "<enabled>"
    },
    "name": "set_overage_billing"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYesTrue (the default) bills credits past your allowance and prepaid balance as overage; false slows the account to the free rate once its credits are gone instead, and nothing is refused. Turning it off still bills overage already used this billing cycle; turning it on bills only usage after the change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the write/destructive profile is covered; the description adds useful context beyond that — account-wide blast radius, auth/scope requirements, and the exact response shape `{overageBilling}`. It does not restate the downstream billing consequences of toggling off (deferred billing, rate slowdown), which remain only in the parameter schema.

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 tight sentences: purpose and scope first, then return value, then availability/auth constraints. Every clause carries operational information with no filler.

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?

For a single-boolean mutation there is no output schema, but the description supplies the return shape, plan gating, ownership requirement, and scope requirement. Nothing an agent needs in order to call this correctly is missing.

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 description coverage is 100% and the `enabled` property already documents default value, overage behavior, and the asymmetry between turning off (still bills used overage) and turning on (bills only future usage). The description adds no parameter-level meaning beyond telling the reader the setting is read back by get_billing, so the baseline 3 applies.

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 and resource ('Turn the project owner's overage billing on or off') plus the scope ('for the whole account'), and names get_billing as the read counterpart that reflects the value. An agent can distinguish this write-setter from the read sibling 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 concrete applicability conditions: Pro and Scale plans, feature must be enabled, owner-only, and requires the `manage:billing` scope. It also points to get_billing for reading the current value. It stops short of explicitly naming alternatives such as other billing-configuration setters or stating when not to use this instead of them.

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