Skip to main content
Glama

Resolve recipient

resolve_recipient
Read-onlyIdempotent

Resolve the recipient before preparing a transfer. For a bank outside Nigeria give country (KE or ZA); in South Africa also give account_name. Mobile money is in GH, KE or TZ. To pay another Paygent user by their @username (method paygent), give username: it is free and instant, in the same currency. To pay a business on Paygent (method paygent), give its @handle as username, or checkout: the address of its Paygent checkout page (…/pay/chk_…); then prepare the exact amount in NGN. Airtime or data for a Nigerian phone (method airtime): give operator (MTN, Airtel, Glo or 9mobile) and mobile_number; the answer lists the data plans, and for data call it again with plan_code.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "method": "<method>"
    },
    "name": "resolve_recipient"
  }
}

Input Schema

NameRequiredDescriptionDefault
methodYes
countryNo
checkoutNo
operatorNo
usernameNo
bank_codeNo
bank_nameNo
plan_codeNo
account_nameNo
mobile_numberNo
account_numberNo

Output Schema

NameRequiredDescriptionDefault
kindNo
noteNo
planNo
businessNo
operatorNo
usernameNo
verifiedYes
bank_codeNo
bank_nameNo
data_plansNo
account_nameYes
amount_rangeNo
mobile_numberNo
account_numberNo
recipient_tokenYes
token_expires_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / method / enum
      Previous value: -[
      -  "bank_transfer",
      -  "mobile_money",
      -  "paygent"
      -]New value: +[
      +  "bank_transfer",
      +  "mobile_money",
      +  "paygent",
      +  "airtime"
      +]
    • addedInput schema / properties / plan_code
      Added value: +{
      +  "maxLength": 40,
      +  "type": "string"
      +}
    • addedOutput schema / properties / amount_range
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "max": {
      +      "type": "string"
      +    },
      +    "min": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "min",
      +    "max"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / data_plans
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "amount": {
      +        "type": "string"
      +      },
      +      "code": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "name",
      +      "amount"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / kind
      Added value: +{
      +  "enum": [
      +    "airtime",
      +    "data"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / plan
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "amount": {
      +      "type": "string"
      +    },
      +    "code": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "name",
      +    "amount"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld=false, and the description adds real value beyond them: Paygent payments are 'free and instant, in the same currency', and the airtime path returns data plans that require a second call with plan_code. It still omits practical traits such as name-match verification behavior, error modes when a recipient cannot be resolved, or whether the resolved recipient expires.

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?

Front-loads the purpose, then organizes by method, which is the right structure for a 4-way branch with 11 params. Prose is telegraphic in places ('for data call it again with plan_code') and would read better as a per-method list, but there is little true waste.

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?

An output schema exists, so return detail needn't be spelled out, and the two-step airtime flow is correctly noted. However, for an 11-parameter resolver with zero schema descriptions, the silence on account_number/bank_code/bank_name and on the required `method` field leaves a material hole an agent would hit on the most common path.

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 coverage is 0% across 11 params, so the description must compensate and it only partly does: it explains country, account_name, username, checkout, operator, mobile_number and plan_code with per-method conditions. Three parameters central to the primary bank_transfer path — bank_code, bank_name and account_number — are never mentioned, leaving their format and requiredness unstated.

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?

Opens with a specific verb+resource ('Resolve the recipient') and anchors the timing ('before preparing a transfer'), so the agent knows this is a validation/lookup step, not the transfer itself. It does not name the sibling it is distinct from (e.g. resolve_coin_address for crypto), so differentiation is left implicit.

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?

Effectively a routing table: it states which inputs select each of the four methods (bank outside Nigeria, mobile money in GH/KE/TZ, paygent by @username or checkout, airtime with operator+number). Missing is any explicit 'when not to use' — e.g. that crypto recipients belong to resolve_coin_address — or that method is required.

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