Skip to main content
Glama

Show Plans & Credits (Popcraft)

popcraft_show_plans_and_credits
Read-onlyIdempotent

Show the user their current credit balance and plan with live plan/credit-pack pricing and direct purchase links — use this as the recovery step after a popcraft_generate_* call fails with insufficient credits, or whenever the user asks about pricing/plans/credits. Pass intent:"topup" (out of credits / buy more) or intent:"upgrade" (plan change / model locked) so the response is ordered for that purchase path. The returned text is ready-made, user-facing copy whose Markdown links point at the exact purchase pages — relay it verbatim (do NOT summarize, reorder, or drop the links; in widget-capable clients you may add that the pricing card above shows the same options).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
intentNo"general" (default) orders by account state; "topup" leads with credit packs (out-of-credits recovery); "upgrade" leads with subscription plans

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds critical behavioral context the annotations cannot carry: the output is ready-made user-facing copy with Markdown links that must be relayed verbatim, with explicit prohibitions on summarizing, reordering, or dropping links. That is exactly the kind of non-obvious trait an agent needs.

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?

It is a dense single block, but it is front-loaded with the core purpose and every clause earns its place (trigger conditions, intent semantics, relay instructions). Slightly long, though nothing is redundant with structured fields.

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

Completeness5/5

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

There is no output schema, so the description carries the burden of describing the return value — and it does ('ready-made, user-facing copy whose Markdown links point at the exact purchase pages'), plus how to present it. For a zero-required-param read tool this is fully sufficient.

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% and the enum values are already documented, so the baseline is 3. The description adds value by explaining the consequence of each intent — topup/upgrade change how the response is 'ordered for that purchase path' — which the schema only hints at.

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 states a specific verb+resource ('Show the user their current credit balance and plan') and immediately scopes it beyond a bare balance call by adding 'live plan/credit-pack pricing and direct purchase links'. This lets an agent distinguish it from siblings like popcraft_balance or popcraft_transactions without opening 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 Guidelines5/5

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

It gives explicit triggers: 'use this as the recovery step after a `popcraft_generate_*` call fails with insufficient credits, or whenever the user asks about pricing/plans/credits.' It further routes between parameter choices (topup for out-of-credits, upgrade for model-locked). Nothing is left to inference.

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