Skip to main content
Glama

create_topup

Create a balance top-up checkout link (Stripe card or crypto USDC) for the authenticated account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pack_idNoSMS top-up pack ID (e.g. 'sms-300' for 300 MAD, 'sms-1000' for 1000 MAD, 'sms-5000' for 5000 MAD). Optional if amount_mad is provided.
currencyNoPayment presentation currency for card checkout ('mad' or 'eur'). Default 'mad'.
amount_madNoCustom recharge amount in MAD (minimum 300 MAD). Optional if pack_id is provided.
payment_methodNoPayment method ('stripe' for card or 'crypto' for USDC). Default 'stripe'.

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses that the tool creates a checkout link rather than directly crediting balance, and it names the payment methods. However, it does not explicitly state that the payment is not executed immediately, what the return value contains, or any authentication requirements beyond 'authenticated account'.

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?

A single, front-loaded sentence that conveys the core purpose and key options without wasted words. It is appropriately concise for a tool with well-documented parameters.

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

Completeness3/5

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

The description is adequate for a simple link-creation tool but leaves some context implicit: there is no output schema, yet the return value (presumably the checkout link) is not mentioned directly. The conditional relationship between pack_id and amount_mad is only in the schema, and no behavioral caveats about payment completion are given.

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%, so the baseline is 3. The description adds no parameter-level meaning beyond what the schema already provides; 'Stripe card or crypto USDC' merely restates the payment_method enum values.

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 clearly states the action ('Create'), the resource ('balance top-up checkout link'), and the payment options ('Stripe card or crypto USDC'). It is specific enough to distinguish this from the messaging and monitoring siblings, though it does not explicitly name or contrast a sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the tool is for topping up the authenticated account's balance via a generated checkout link, but it gives no explicit when-to-use or when-not-to-use guidance. There are no alternative top-up tools listed, so the usage context is reasonable but not fully elaborated.

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

A3.7/5.0
Disambiguation4/5

Tools split into clear clusters: customer-facing send/verify/get tools and admin ops tools. The three ops_* tools could initially seem similar, but their descriptions distinguish operational alerts, business health, and route quality. Minor overlap exists between ops_monitoring and ops_pulse, but overall boundaries are clear.

Naming Consistency4/5

The set uses consistent prefixes: get_, send_, verify_, and ops_. This creates a predictable pattern for agents. Minor deviation is that ops_pulse and ops_route_quality are noun-style rather than verb-noun, and 'pulse' is less descriptive than the others.

Tool Count5/5

Eight tools is well-scoped for an SMS/OTP server, covering customer actions, pricing/balance, and admin oversight without bloat. Each tool has a clear role and the count feels appropriate for the domain.

Completeness4/5

Core flows are covered: balance lookup, pricing, sending SMS, OTP lifecycle, and admin monitoring. A notable gap is lack of per-message delivery status or send history, but agents can still complete the primary send-and-verify workflows. Minor gaps exist but are workable.

Resources