Skip to main content
Glama

Получатель по телефону — Т-Банк + СБП

transfer_sbp_resolve
Read-onlyIdempotent

Resolve a new recipient by phone before transfers or commission checks, returning masked name, bank, default status, and ready provider fields for payment parameters without moving money.

Instructions

Резолвинг получателя по номеру (read-only, БЕЗ денег) — счёт в Т-Банке И банки СБП. Возвращает маскированное имя + банк + isDefaultBank и готовый provider_fields. Используй ПЕРЕД transfer()/payment_commission() для НОВОГО (несохранённого) получателя. provider_fields вставь в payParameters.providerFields комиссии — не пиши 8276 руками.

Счёт в Т-Банке — отдельный кандидат (перевод внутри банка, не через СБП): у него НЕТ bankMemberId. Если он в списке, получатель — клиент Т-Банка, даже когда в СБП Т-Банка не видно; это разные списки, и раньше тул показывал только второй. Для transfer() передай pointer_link_id выбранного кандидата (+ bank_member_id, если это банк СБП). Ничего не передать — по умолчанию выберется счёт в Т-Банке; если его нет, банковский дефолт, единственный кандидат или ручной выбор.

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": {
      "phone": "<phone>"
    },
    "name": "transfer_sbp_resolve"
  }
}

Input Schema

NameRequiredDescriptionDefault
phoneYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), yet the description still adds substantive behavior: what is returned (masked name, bank, isDefaultBank, ready provider_fields), the fact that a T-Bank account appears as a candidate without bankMemberId, and the full default-selection order when no candidate is chosen. It even flags a historical reporting gap ('previously the tool showed only the second list'), which prevents an agent from wrongly concluding a T-Bank client is absent.

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?

Purpose and the safety qualifier are front-loaded, and the paragraphing separates purpose, result shape, the T-Bank-vs-SBP distinction, and default behavior in a usable order. It is longer than strictly necessary — 'read-only, NO money' partly restates the annotations and the historical note about the old behavior could be a clause rather than a sentence — but almost every line carries operational value.

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?

Output schema exists, so return values needn't be explained, yet the description still sketches them well enough to plan the follow-up calls. Given a single required parameter and a resolution-plus-handoff workflow spanning two sibling tools, it covers the edge cases an agent would otherwise get wrong: dual candidate lists, the missing bankMemberId, and the deterministic default when nothing is selected.

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 0% and the description only says the lookup is 'by phone number' without adding format, normalization, or validation expectations for the single phone argument. The identifier names it does detail (pointer_link_id, bank_member_id) are outputs consumed by transfer(), not fields of this tool's input, so they don't compensate for the undocumented parameter. Baseline 3 for one self-evident parameter.

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?

States a specific verb and resource (resolve a recipient by phone number) and immediately scopes it: read-only, no money movement, covering both a T-Bank internal account and SBP banks. It explicitly separates itself from transfer() and payment_commission() and explains the two-candidate structure of the result, so an agent can distinguish it from every named sibling without opening the schema.

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

Usage Guidelines5/5

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

Gives an explicit trigger: use BEFORE transfer()/payment_commission() for a NEW, unsaved recipient, which implicitly excludes already-saved recipients. It also explains the downstream handoff ('insert provider_fields into payParameters.providerFields, don't hand-write 8276'), converting guidance into a concrete next step rather than a vague suggestion.

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