Skip to main content
Glama

Last Price

update_billing_settings

DestructiveIdempotent

Change your workspace's billing settings. Only the settings you send change. outcome_pricing turns on paying in full only when a price is used: a rejection reported with report_outcome within its window gives part back. balance_billing makes every compute call draw on the prepaid balance, and a call the balance cannot cover is refused. auto_topup is an offer, not a charge: below the threshold, results carry a top-up hint and nothing is paid automatically. A self-registered agent workspace cannot change outcome_pricing or balance_billing until it is claimed. Needs a Last Price credential with price compute scope; a person also needs the owner, admin or billing role.

Input Schema

NameRequiredDescriptionDefault
auto_topupNoThe auto top-up offer, or null to clear it.
balance_billingNoTurn balance billing on or off.
outcome_pricingNoTurn outcome pricing on or off.

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 destructiveHint=true and idempotentHint=true; the description adds substantial context beyond them: that omitted settings are untouched, that a covered balance call is refused rather than charged, that auto_topup is an offer and never an automatic charge, and the credential/scope/role requirements. It does not explain what is lost when a setting is cleared (auto_topup=null), which keeps it below a 5 for a destructive mutation.

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?

Front-loaded with the action and the partial-update rule, then one clause per setting. Dense but each sentence carries information; minor cost is that the credential/role sentence packs several conditions into one long clause.

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

Completeness4/5

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

There is no output schema, and the description covers mutation semantics, per-setting effects, and authorization preconditions well enough to call the tool safely. It stops short of indicating what the response returns (e.g. the resulting settings), a small gap for a no-output-schema mutation.

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 coverage is 100%, giving a baseline of 3, and the description adds genuine semantic meaning beyond the schema: outcome_pricing is tied to full-price billing with report_outcome refund behavior, and balance_billing to refusal of uncovered calls. The auto_topup 'offer, not a charge' clarification largely restates the schema's 'Whether to offer a top-up below the threshold', so it is not uniformly additive.

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 ('Change your workspace's billing settings') and immediately qualifies scope with partial-update semantics ('Only the settings you send change'). The three settings are named with their effects, so it is distinguishable from the read-only sibling get_billing_settings.

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?

Clear usage context: partial update behavior plus an explicit description of when each setting matters (paying in full only on priced calls, compute drawing on prepaid balance, offering rather than charging a top-up). Prerequisites and the restriction for unclaimed self-registered agent workspaces are stated, but no alternative tool (e.g. get_billing_settings) is named as a comparison.

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