Skip to main content
Glama

Subscription checkout and credits

get_subscription_checkout
Read-only

Read your personal subscription balance and get the link the human opens to subscribe or manage their allowance when credits are short. Charges nothing and never starts a paid checkout. topUpAvailable says whether the human can buy a pack of never-expiring credits from the dashboard (dashboardUrl) now, which also switches on automatic top-ups or resumes paused ones; the message mentions top-ups only when it is true. An existing subscriber gets the dashboard and reset date. After the human finishes checkout, use get_budget to verify the credits, then retry pay_service. OAuth commerce connections must explicitly grant Nevermined credits.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_subscription_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and destructiveHint=false, yet the description still adds substantial behavior: it never starts a paid checkout, it explains topUpAvailable semantics (buy a pack of never-expiring credits, switch on automatic top-ups, resume paused ones), states the message only mentions top-ups when true, and notes existing subscribers get the dashboard plus reset date. It also discloses the prerequisite that OAuth commerce connections must explicitly grant Nevermined credits, which annotations cannot convey.

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?

The core purpose and the 'charges nothing' safety statement are front-loaded, and the follow-up flow (checkout → get_budget → pay_service) is ordered logically. It is dense and slightly overpacked with parenthetical field explanations, but nearly every clause carries actionable information.

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's explanation of topUpAvailable, dashboardUrl, and the reset date fills a real gap for a read-only tool. Combined with the auth prerequisite and the post-checkout workflow, an agent has enough to call it and interpret the result correctly.

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?

With zero parameters the baseline is 4, and there is no input meaning to clarify. The description instead documents the semantics of the returned fields (topUpAvailable, dashboardUrl, reset date), which is useful but technically return-value context rather than parameter guidance.

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 opening sentence gives a specific verb and resource pair ('read your personal subscription balance') plus the secondary output ('the link the human opens to subscribe or manage their allowance'), so an agent knows exactly what comes back. It also positions itself against siblings by name, telling the agent to verify with get_budget and retry pay_service rather than using this tool for those jobs.

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?

Usage is stated explicitly: call it when credits are short or to surface the subscribe/manage link, then after checkout use get_budget to verify and retry pay_service. It also scopes itself with 'charges nothing and never starts a paid checkout', implying the actual purchasing path lives elsewhere (top_up_credits / dashboard).

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