Skip to main content
Glama

upgrade_to_pro

Get a checkout link so the user can upgrade THIS account to Epublys Pro.

Call this when another tool is refused with daily_limited or a Pro-only error, or when the user asks to upgrade. Returns a Stripe checkout URL to hand to the user — they complete payment in their own browser.

Creates no charge by itself, and the link is bound to the account that owns the API key being used, so it cannot be used to pay for anyone else. If the account is already Pro it says so and returns no link. Needs an API key: without one it returns the pricing URL instead of a checkout link. Free: 3 operations/day, 5MB per file. Pro: unlimited daily operations, 30MB per operation, 60 req/min.

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": "upgrade_to_pro"
  }
}

Input Schema

NameRequiredDescriptionDefault
planNomonthly is $9/month; yearly is $72/year (4 months free, 33% off). Defaults to monthly.monthly

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does well: it states no charge is created, the link is bound to the API-key's account and cannot pay for anyone else, already-Pro returns no link, and missing API key yields a pricing URL instead. It does not say whether the link expires or how long it is valid, and the appended free/Pro quota block is useful context but not behavior of this call. Solid but not exhaustive.

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?

Front-loaded with the action, then trigger conditions, then return semantics, then prerequisites — a sensible ordering. The closing free/Pro quota comparison is tangential to invoking this tool and is the one part that does not fully earn its space.

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?

For a zero-required-param, no-output-schema tool with no annotations, everything an agent needs is present: what it returns, what it does not do, prerequisites, and failure modes. No output schema exists, so return values are described inline as required.

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 100% and the single `plan` enum is fully described with prices and the monthly default, so the baseline holds. The description itself never mentions the plan choice, so it adds no meaning beyond the schema.

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 first sentence states a specific verb and artifact — 'get a checkout link' — and pins the scope to 'THIS account' upgraded to Epublys Pro. No sibling tool in the list (all format converters and EPUB utilities) could be confused with this billing action.

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?

Explicit triggers are given: call when another tool is refused with `daily_limited` or a Pro-only error, or when the user asks to upgrade. It also documents the already-Pro case, which preempts a common misuse/retry loop.

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.