Skip to main content
Glama

Select package

select_package
Idempotent

Select a package by name (e.g. 'starter'). A free package is activated immediately. A paid one is NOT activated — it returns a payment_url (Stripe Checkout); the package becomes active once payment completes. Callable even when blocked.

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": {
      "package": "<package>"
    },
    "name": "select_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
packageYesThe package's `name`, as listed by list_packages.
intervalNoBilling interval for a paid package. Defaults to month.
billing_emailNoInvoice recipient. Defaults to the key owner's e-mail.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false); the description goes well beyond by disclosing the two distinct outcome paths — immediate activation for free plans versus a returned payment_url (Stripe Checkout) for paid plans whose activation is deferred until payment completes. That is exactly the branch information an agent needs to decide whether to surface a link to the user or report success.

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?

Three short sentences, front-loaded with the verb and resource, followed by the free/paid branch and the blocked-state exception. Every sentence carries distinct information with no restatement of the title or schema.

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 non-destructive mutation with no output schema, the description covers the critical behavioral branches and the availability precondition, which is what an agent needs to act correctly. It does not describe the shape of the successful response beyond payment_url (e.g. what is returned on free activation), leaving a small gap given the absence of an output schema.

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 schema already explains `package`, `interval` (with its default), and `billing_email` (with its default). The description adds only a concrete example value and the reminder that names come from list_packages, so the baseline of 3 is appropriate.

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 ('Select a package by name') and immediately names the referring sibling ('as listed by list_packages'), so the agent knows both what it does and where the identifier comes from. The example value ('starter') further pins down the expected form.

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 conditional guidance for the two branches: free packages activate immediately, paid packages require a follow-up payment step. It also names the precondition exception ('Callable even when blocked'), which tells the agent this tool remains available in a restricted state. It stops short of naming an explicit alternative tool for package changes (e.g. upgrade/downgrade paths), keeping it at 4 rather than 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