Skip to main content
Glama

Get a checkout link to upgrade a key

get_upgrade_link

Return a hosted checkout URL for upgrading an Attestwire key to a paid plan (starter: 2,500 documents/month at $49; scale: 25,000 at $199). THIS DOES NOT BUY ANYTHING. It creates a checkout link and charges nothing; a human must open the link, enter their own card and confirm the recurring charge on the payment provider's page. You cannot complete the purchase and must not report it as completed. Use this when a key has hit its quota or the user asks to upgrade. Costs no documents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoThe Attestwire API key to upgrade (aw_live_...). Optional if this server is configured with an Authorization header, which is read instead.
planYesWhich paid plan to price up: "starter" ($49/mo) or "scale" ($199/mo).

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=false), the description discloses critical behavioral traits: it creates a checkout link, charges nothing, requires a human to complete payment, and costs no documents. This goes well beyond the structured metadata and clarifies side effects and limitations.

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?

Every sentence earns its place: it starts with the core purpose, then highlights critical warnings, gives usage context, and ends with the document cost. The structure is front-loaded and the length is appropriate for the complexity.

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?

The tool has no output schema, but the description adequately explains the return type (hosted checkout URL) and covers the full flow: link creation, human confirmation, non-purchase side effects, and usage trigger. For a two-parameter tool, this is fully complete.

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?

The input schema already describes both parameters with full coverage, including key optionality and plan enum values with prices. The description adds some context about plan limits (2,500 vs 25,000 documents) but largely reiterates schema information. Thus the schema carries the semantic weight, and the description provides marginal extra value.

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 uses a specific verb and resource: 'Return a hosted checkout URL for upgrading an Attestwire key to a paid plan.' It also distinguishes the tool from siblings by detailing the plans (starter/scale) and emphasizing it only creates a link, not a purchase. This is unambiguous and unique among the sibling tools.

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?

The description explicitly states when to use it: 'Use this when a key has hit its quota or the user asks to upgrade.' It also provides clear exclusions: 'THIS DOES NOT BUY ANYTHING' and 'You cannot complete the purchase and must not report it as completed.' This gives the agent firm guidance on when and how to invoke.

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.

TDQS

A4.7/5.0
Disambiguation5/5

Each tool targets a distinct resource and action: validation (two input formats), generation, rule explanation, company readiness, VIES status, platform listing, key issuance, and upgrade link. Even the two validation tools are clearly split by input type (JSON vs XML), and the descriptions explicitly prevent confusion.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern (check_, explain_, generate_, get_, issue_, list_, validate_). The verbs are precise and the nouns clearly indicate the target, with no mixing of conventions or vague terms.

Tool Count5/5

Nine tools is well within the ideal scope for a specialized e-invoicing compliance server. Each tool serves a distinct purpose in the workflow—validate, generate, explain, check company/VIES/platform status, and manage API keys—without redundancy or bloat.

Completeness5/5

The tool surface covers the full lifecycle of e-invoicing compliance: validation (JSON and XML), generation, rule explanation, and external status checks (company, VIES, approved platforms). API key management and upgrade paths are also included. No obvious missing operations for the stated purpose.

Resources