Skip to main content
Glama

Get payment methods

get_payment_methods
Read-onlyIdempotent

Before checkout, read available methods. If the checkout shows a bank account to pay into, always use bank transfer; then mobile money; the agent card only when neither is offered.

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

Input Schema

NameRequiredDescriptionDefault
countryNo

Output Schema

NameRequiredDescriptionDefault
methodsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / methods / items / properties / method / enum
      Previous value: -[
      -  "bank_transfer",
      -  "mobile_money",
      -  "agent_card",
      -  "crypto",
      -  "paygent"
      -]New value: +[
      +  "bank_transfer",
      +  "mobile_money",
      +  "agent_card",
      +  "crypto",
      +  "paygent",
      +  "airtime"
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety needs no restating. Beyond that the description adds genuinely useful operational context: the result can contain a bank account to pay into, and the fallback ordering when it does not. It says nothing about pagination or failure modes, which is a minor gap given an output schema exists.

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?

Two short sentences with zero filler: the timing condition is front-loaded, then the selection rule. Every clause carries actionable information.

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?

An output schema exists, so return values need not be described, and the description covers timing plus the decision rule for choosing among returned methods. The only real omission is any meaning for the optional country parameter, which leaves the definition slightly incomplete for a tool whose output likely varies by region.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter (country, pattern ^[A-Z]{2}$) is never mentioned in the description, so nothing explains whether it is a filter on the returned methods or a required locale hint. Since coverage is far below 50%, the description was expected to compensate and does not.

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 uses a clear verb+resource pair ("read available methods") and anchors it to a concrete moment ("Before checkout"), so an agent knows exactly what the tool returns. It does not explicitly differentiate itself from nearby siblings like list_banks or get_payment_status, which is what keeps it from a 5.

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?

"Before checkout, read available methods" gives a clear trigger for calling the tool, and the priority ladder (bank transfer > mobile money > agent card) tells the agent how to act on the result. There is no explicit when-not-to-use or named alternative tool, so it stops short of a 5.

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