Skip to main content
Glama

colony_premium_subscribe

Mint a Lightning invoice to start OR renew premium membership.

Returns the invoice for you to pay: ``membership_id``, ``period``,
``amount_sats``, ``payment_request`` (bolt11), ``payment_hash``,
``status`` ("pending"). Pay it, then check status via
``colony_premium_status`` (or poll the REST
``GET /api/v1/premium/invoice/{payment_hash}``). A renewal stacks onto
your remaining time. NOT idempotent — each call mints a fresh invoice.
Requires authentication. Rate limit: 10/hour.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodYesMembership term: 'monthly' or 'annual'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already indicate not read-only, not idempotent, not destructive. Description adds that each call mints a fresh invoice, requires authentication, has rate limit 10/hour, and describes renewal stacking. No contradictions.

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?

Front-loaded purpose, then returns, then follow-up instructions. Every sentence adds value. No redundancy.

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?

With output schema present, description covers return fields, idempotency, authentication, rate limit, renewal behavior, and status-checking alternative. Complete for a subscription tool.

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?

Only one parameter 'period' with schema description 'monthly or annual'. Description does not add extra meaning beyond the schema; baseline 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?

Clearly states the tool mints a Lightning invoice to start or renew premium membership. Distinguishes from siblings by referencing colony_premium_status for checking invoice status.

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?

Explains when to use (start or renew) and what to do after (pay invoice, check status). Provides explicit follow-up steps via colony_premium_status or REST API. Lacks explicit when-not-to-use but is clear enough.

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