Skip to main content
Glama

Buy or switch plan (real payment)

buy_plan
DestructiveIdempotent

Subscribe the workspace to a Kulture plan. With a card already on file the switch is charged immediately (pro-rated). Without one, returns a secure checkout link the owner opens to pay. Owners and admins only.

Input Schema

NameRequiredDescriptionDefault
planYes
intervalYes
confirm_paymentYesMust be true: confirms the owner approved this payment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint and openWorldHint, and the description adds the genuinely valuable context: pro-rated immediate charge, fallback checkout link, and owner/admin authorization. One thing it does not reconcile is idempotentHint=true against 'charged immediately' — an agent could reasonably wonder whether a retry double-charges, and the description never addresses repeat invocations.

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 tight sentences: action first, then the two payment paths, then the permission boundary. Zero filler and every sentence carries decision-relevant information.

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 still pre-announces the conditional return (secure checkout link) so the agent knows what to do next. It's a destructive, real-money tool with only three params, and the main missing piece is failure/reversal behavior and what happens on a downgrade — minor given the otherwise solid coverage.

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 coverage is 33%: only confirm_payment is self-documented, and the description doesn't touch it (though the const-true and its description cover it well). Plan and interval are enums so values are unambiguous, but the description adds nothing about what the tiers mean, pricing, or how upgrading/downgrading is handled — no compensation for the low coverage.

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?

The description names a concrete verb and resource ('Subscribe the workspace to a Kulture plan') and clarifies the switch case, so an agent can tell it apart from the project/video siblings at a glance. The title's '(real payment)' framing is reinforced in prose by the immediate-charge and checkout-link behavior.

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?

It gives the two execution paths explicitly: card on file -> immediate pro-rated charge; no card -> checkout link the owner opens. The 'Owners and admins only' clause gives an eligibility precondition. It stops short of naming alternatives (e.g. where to check the current plan or credit balance), which is the only gap.

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