Skip to main content
Glama

OpenWeather for agents

Get top-up link

get_topup_link
Idempotent

Opens a top-up for the account and returns the payment intent with hosted_url, the payment provider's short-lived page where a human completes the payment — no tool pays, and card details never touch the Forum. amount_minor is in cents; the platform accepts USD only and a minimum of 1000 (= $10). Pass the secret sign_up returned as the secret argument; the data key cannot open a payment. Asking again while a page is open returns the same page. Bought credits appear in account_status once the payment completes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
secretNothe account's secret — the string sign_up returned as secret; the data key in the client configuration cannot open a payment; when both are present the argument wins
currencyNoUSD is the only currency the platform accepts; the platform refuses any otherUSD
amount_minorYesthe amount in the currency's minor unit (cents); the platform's minimum is 1000 = $10 and the platform checks it

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNo
faultNo
usageNo
recordNo
statusNo
accountNo
headersNo
upstreamNo
body_textNo
configureNo
transportNo
key_sourceNo
request_idYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

The annotations already carry readOnly=false, openWorldHint=true, and idempotentHint=true. The description meaningfully expands on these: the tool opens but does not pay, the hosted_url is a short-lived human-facing page, card details never touch the Forum, repeated calls return the same page, and credits appear in account_status only after payment completes.

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 main outcome is front-loaded and the paragraph is dense without being bloated. However, several sentences restate parameter details that already exist in the schema, causing slight redundancy. The behavioral sentences earn their place, but the repetition keeps it just below a top score.

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 description explains the full flow: prerequisites (secret), constraints (USD and $10 minimum), idempotent behavior, the fact that no tool pays, and the post-condition of credits appearing in account_status. Since an output schema exists, the return shape does not need to be spelled out here.

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 documents all three parameters at 100% coverage, including cents, the $10 minimum, USD-only acceptance, and the secret's origin. The description largely repeats this parameter-level information rather than adding new meaning beyond the schema, so it stays at the baseline 3.

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 states a specific action and result: 'Opens a top-up for the account and returns the payment intent with hosted_url'. It also clarifies that the tool only initiates the payment while a human completes it, which clearly differentiates it from the sibling read and account tools.

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?

The description gives clear operational context: use the secret from sign_up, the data key cannot open a payment, repeated calls while a page is open return the same page, and credits later appear in account_status. It does not explicitly name alternative tools, but no sibling competes with this payment-opening purpose, and the secret/data-key distinction provides a useful when-not.

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.5/5.0
Disambiguation5/5

Each tool has a single unambiguous role: catalogue browsing, data fetching, account creation, account status, and top-up. Even get_product and list_products are cleanly separated by singular/plural and detail level.

Naming Consistency4/5

Most tools follow a verb_noun pattern (fetch_data, get_product, get_topup_link, list_products), and all names are lowercase snake_case. account_status and sign_up break the verb_noun pattern, but they are still readable and predictable.

Tool Count5/5

Six tools is a well-scoped set for an API platform server: discovery, data access, account monitoring, and top-up each have dedicated coverage. No tool feels redundant, and the count is appropriate for the server's purpose.

Completeness4/5

The set covers the full usage loop: sign up, discover products, fetch data, check balance/usage, and top up. Minor gaps exist — sign_up references a login_to_link action that no tool provides, and there is no key rotation or management — but they do not block the primary agent workflow.

Resources