Skip to main content
Glama

update_pricing_tier

Update a pricing tier by id; only fields you pass change (same price rules as create). Pass credit_type_ids to re-scope it ([] = all credit types), is_active: false to stop selling it without deleting. Costs 1 CRD (platform credit) per call, charged even when the call is then rejected (a 429 RATE_LIMITED costs nothing). Error results include request_id; quote it to support.

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": {
      "id": "<id>"
    },
    "name": "update_pricing_tier"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPricing tier ID
nameNo
priceNoPrice in dollars
api_keyNoCred API key (optional if set via the x-api-key header)
creditsNo
currencyNo
is_activeNoWhether the tier can be purchased
is_popularNo
project_idNoCred project ID (optional; the API key already identifies the project. Signed in with 1Profile and owning several projects, it picks one)
descriptionNo
billing_typeNoWhich checkouts may sell the tier. A subscription is created only when checkout is sent billing: "recurring"; recurring-only tiers cannot be used for saved-card charges or auto top-up.
x402_paymentNoBase64 x402 PaymentPayload, only when a previous call failed with an x402 PaymentRequired because the account is out of CRD
credit_type_idsNoCredit type UUIDs; [] = all

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Cred project ID (optional; the API key already identifies the project)"New value: +"Cred project ID (optional; the API key already identifies the project. Signed in with 1Profile and owning several projects, it picks one)"
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the load and does so unusually well: it discloses the 1 CRD per-call cost, that the charge applies even on rejection, that a 429 RATE_LIMITED is free, that error results carry a request_id for support, and that credit_type_ids: [] means all credit types. It does not cover authorization requirements, reversibility of changes, or whether omitted fields are preserved beyond the 'only fields you pass change' statement.

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?

Dense and front-loaded: patch semantics come first, then the two high-consequence parameter behaviors, then cost/error handling. Every clause is actionable, though it packs three distinct concerns (update semantics, billing, support escalation) into a single run-on block that could be marginally tighter.

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?

For a 13-parameter mutation tool with no annotations and no output schema, the description supplies the behavior an agent needs: partial-update contract, cost model with an exception for rate limiting, and an error-recovery path via request_id. It leaves the return shape and auth specifics implicit, but the schema's api_key/project_id descriptions pick up much of the auth side.

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?

At 62% schema coverage the description must compensate, and it does so for the highest-risk parameters: the pass-through semantics of fields, the empty-array meaning of credit_type_ids, and the lifecycle meaning of is_active: false. Undocumented areas such as billing_type and price/currency are left to the schema, so it is not fully compensating but covers the ambiguous cases.

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 ('Update a pricing tier by id') plus the crucial modifier that it is a partial update ('only fields you pass change'). References create_pricing_tier implicitly via 'same price rules as create', which separates it from the create and delete siblings without needing their schemas.

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 when-to-use guidance for two parameters: use credit_type_ids to re-scope (with [] meaning all) and is_active: false to stop selling without deleting, which implicitly routes the agent away from delete_pricing_tier for that case. It stops short of stating exclusions or prerequisites such as required permissions or when to prefer create instead.

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