Skip to main content
Glama

Get a link to buy Pro

get_upgrade_link
Read-only

A link the owner opens to buy ShareHTML Pro for their own account on Stripe's checkout, yearly unless plan is monthly. It needs no sign-in and works for 7 days. Use it when the owner asks for Pro or wants something only Pro has; you cannot pay for them. Use it only for the owner's own pages, as they ask, under ShareHTML's rules: https://sharehtml.org/acceptable-use.

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_upgrade_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
planNoyearly (the default) or monthly

Output Schema

NameRequiredDescriptionDefault
urlYes
planYes
expiresAtYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered; the description adds the facts an agent could not infer — the link needs no sign-in, expires in 7 days, and targets the owner's own account. These are the operationally important traits for a credential-like artifact. It stops short of saying what happens on repeat calls or for an owner who already has Pro.

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 output itself is front-loaded — what the link is and its key properties come before the usage rules — and almost every clause carries information. The final sentence stacks three constraints comma-separated and reads as slightly compressed, but nothing is padding.

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

Completeness4/5

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

With an output schema present, return structure need not be described, and the description covers the semantic essentials: who the link is for, no sign-in, 7-day validity, and acceptable-use constraints. It leaves minor gaps about failure modes (owner already subscribed, repeated generation), which are secondary for a link-producing 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?

Schema description coverage is 100% and the single enum parameter already documents 'yearly (the default) or monthly'. The description restates the default behaviour ('yearly unless plan is monthly') but adds no new syntax or consequence-of-choice detail. This is the baseline case where the schema does the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete deliverable — a Stripe checkout link that lets the owner buy ShareHTML Pro for their own account — rather than restating the name. Scope details (yearly by default, monthly on request) pin it down precisely. It does not explicitly contrast with siblings like 'account', but the resource it produces is specific enough that no confusion arises.

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 states exactly when to call ('when the owner asks for Pro or wants something only Pro has'), what the agent must not do ('you cannot pay for them'), and a usage boundary ('only for the owner's own pages'). It also points to an external rules page for edge cases, which is genuine routing guidance rather than filler.

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