Skip to main content
Glama

AI Source of Truth Evidence Rooms

Choose a plan

choose_plan

Ask to move an organization to a plan. The answer says how to pay; nothing is charged without the payment step. Scope: billing:write. REST twin: POST /api/orgs/:org/billing/plan. Errors: unauthorized, insufficient_scope, not_found, forbidden, validation_error, conflict, payment_required.

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": {
      "org_id": "<org_id>",
      "plan": "<plan>"
    },
    "name": "choose_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
planYes
org_idYes
intervalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations supply only readOnlyHint=false and openWorldHint=false, so the description carries most of the burden and does well: it discloses the deferred-payment semantics ('nothing is charged without the payment step'), the required scope (billing:write), the REST twin, and the full error surface including payment_required and conflict. It omits what happens to the existing plan or proration, but the critical two-step behavior is clear.

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?

Four short clauses, front-loaded with the action, then the payment caveat, then scope/REST mapping, then errors. Dense but every element is functional; the error enumeration is the only slightly bulky part and it earns its place.

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?

With no output schema, the description compensates by stating what the response conveys ('says how to pay'), plus errors and scope. For a three-parameter mutation the remaining gap is parameter-level detail, which is a real but bounded omission.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three parameters, so the description needs to compensate and does not — plan, org_id, and interval get no explanation of accepted values, format, or the meaning of the month/year interval choice. The enum is self-describing but the description adds nothing beyond it.

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 opens with a specific verb and resource ('move an organization to a plan') and frames it as a request rather than a direct charge, which separates it from a plain billing-read sibling like get_billing or get_pricing. It stops short of naming an explicit alternative, but the action is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the phrase 'Ask to move' plus the note that payment is a separate step tells an agent this initiates a plan-change flow rather than finalizing it. There is no explicit statement of when to prefer this over get_pricing/get_billing or what preconditions (e.g., admin rights on the org) must hold.

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