Skip to main content
Glama

Plan usage and upgrade

upgrade
Idempotent

View your current plan and remaining quotas, see what a higher plan unlocks, and get the plan-change link or start a free no-card trial.

Instructions

Show your current Misar.Blog plan, how much of each quota you have left, and what upgrading unlocks, with the link to upgrade. Call it any time — not only after hitting a limit. By default it only reads. With start_trial=true it starts the free, no-card trial on the account (a plan change; no payment is taken). It never upgrades a paid plan or takes payment itself: the user does that by following the link. On a local install, open=true also opens that link in the user's browser.

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

Input Schema

NameRequiredDescriptionDefault
openNoLocal installs only: also open the upgrade link in the user's browser. Ignored by the hosted server, which returns the link instead.
planNoPlan slug to open (e.g. 'pro', 'business'). Defaults to the recommended plan.
start_trialNoStart the free no-card trial immediately, if you're eligible.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv5.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed3 schema fields changedv5.1.3
    • changedInput schema / properties / open / description
      Previous value: -"Open the checkout page in the user's default browser. Side effect on their desktop — only when they asked to upgrade."New value: +"Local installs only: also open the upgrade link in the user's browser. Ignored by the hosted server, which returns the link instead."
    • changedInput schema / properties / plan / description
      Previous value: -"Plan slug to open, e.g. 'pro' or 'business'. Defaults to the recommended plan. Only meaningful with open=true."New value: +"Plan slug to open (e.g. 'pro', 'business'). Defaults to the recommended plan."
    • changedInput schema / properties / start_trial / description
      Previous value: -"Enrol in the free no-card trial now, if eligible. This changes the account's plan — do not set it speculatively."New value: +"Start the free no-card trial immediately, if you're eligible."
  3. Changed3 schema fields changedv5.1.0
    • changedInput schema / properties / open / description
      Previous value: -"Open the upgrade/checkout page in the default browser."New value: +"Open the checkout page in the user's default browser. Side effect on their desktop — only when they asked to upgrade."
    • changedInput schema / properties / plan / description
      Previous value: -"Plan slug to open (e.g. 'pro', 'business'). Defaults to the recommended plan."New value: +"Plan slug to open, e.g. 'pro' or 'business'. Defaults to the recommended plan. Only meaningful with open=true."
    • changedInput schema / properties / start_trial / description
      Previous value: -"Start the free no-card trial immediately, if you're eligible."New value: +"Enrol in the free no-card trial now, if eligible. This changes the account's plan — do not set it speculatively."
  4. First observedv2.0.0

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: it explains why readOnlyHint=false even though the default call is a pure read — only start_trial=true mutates the account, and that mutation is a free no-card trial with no payment taken. It also discloses the local-install-only browser-opening side effect for open=true and that the hosted server returns the link instead, which is exactly the kind of environment-dependent behavior annotations cannot express.

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 with what the tool returns, then behavior under each flag, in five tight sentences with no filler. Every clause carries an operational fact (quota, link, anytime, default read-only, trial mutation, browser opening).

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 only three optional parameters and no output schema, the description compensates by naming exactly what comes back: plan, per-quota remaining amounts, upgrade benefits, and the upgrade link. The mutation, environment, and payment semantics are all covered, leaving nothing an agent needs missing.

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?

Schema description coverage is 100%, so the baseline is 3 and all three parameters are already documented. The description goes a step further by framing start_trial as an actual plan change with no payment and eligibility conditions, and by reiterating the local-vs-hosted semantics of open. It does not, however, clarify the `plan` slug parameter, which is the only parameter left unaddressed in prose.

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?

A concrete verb plus resource: it shows the current plan, remaining quota per quota type, what upgrading unlocks, and the upgrade link. That is specific enough to distinguish it from content tools like list_my_articles or get_profile. It never explicitly contrasts itself with the sibling `status` tool, so an agent must infer which of the two answers account-level questions.

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?

'Call it any time — not only after hitting a limit' gives clear positive usage guidance and removes the false assumption that a limit must be hit first. It also implicitly bounds scope by stating the tool never upgrades a paid plan or takes payment, directing that step to the user via the link. It does not say when to prefer `status` instead, which is the main remaining gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.