Skip to main content
Glama

Банковские данные по разделам

get_data
Read-onlyIdempotent

Retrieve banking data by section, such as accounts, cards, subscriptions, bills, statements, investments, contacts, or profile; pass section with optional arg, days, and max_chars to query records.

Instructions

Универсальный getter. section = subscriptions | subscription_bills | credit_schedule | credit_rating | statements | invoices | templates | contacts | cards | loans | autopayments | sbp | offers | gifts | services | bundles | manager | merchant_subs | profile | homes | cars | shortcuts | finhealth_total | finhealth_turnover | finhealth_presets | finhealth_invest | invest_accounts | invest_offers | invest_yield | pension | broker_margin | shared | shared_owned | business_info | appointments | account_details | full_debt_amount | statement_exist. Секция вне списка — отказ со списком допустимых, а не запрос наугад. Платёжный QR разбирает payment_qr(qr), не эта секция.

⚠️ Счета к оплате лежат в ДВУХ разных местах, и «пусто» в одном не значит, что счетов нет: invoices — выставленные счета (e-invoicing). Часто пусто. subscription_bills — счета по подпискам на ЖКХ и прочие услуги. Именно здесь обычно и лежит неоплаченная квитанция, вместе с paymentFields, которые нужны pay_bill(). Проверяй ОБА, прежде чем сказать «неоплаченных счетов нет».

ШЕСТИ секциям НУЖЕН arg — без него тул не вернёт пустоту, а поднимет ошибку: providers — arg = список id через запятую («fns-rf,gibdd-online-rf»). Перечислить все провайдеры этим эндпоинтом нельзя, только найти известные по id. requisites — arg = телефон. Обычно вместо этого нужен transfer_sbp_resolve(phone); а реквизиты СВОЕГО счёта — это account_requisites(account_id). statements — arg = номер счёта из list_accounts(). days задаёт окно выписки (по умолчанию 30 — раньше это окно было зашито и нигде не упоминалось; другие секции days не принимают). account_details — arg = id счёта из list_accounts(). full_debt_amount — arg = номер счёта (полная сумма долга по кредиту). statement_exist — arg = номер счёта (есть ли выписка за период).

max_chars — кап ответа в символах (по умолчанию 5000; 0 = весь JSON без обрезки). Обрезка всегда помечена заголовком «ПОКАЗАНО X из Y».

(invest_portfolio/operations/securities и account_requisites — отдельные тулы.)

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": {
      "section": "<section>"
    },
    "name": "get_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
argNo
daysNo
sectionYes
max_charsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A5/5.0
Behavior5/5

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

Beyond the read-only and idempotent annotations, the description explains error behavior for invalid sections, error behavior for six arg-requiring sections, default and override behavior for days, and max_chars truncation with the 'ПОКАЗАНО X из Y' marker. This is unusually complete behavioral context for a read-only universal getter.

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?

The definition is long but appropriately sized for a universal getter with roughly forty sections and four undocumented parameters. It is front-loaded with the section list, then organized into warnings and parameter-specific notes, with no filler sentences.

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?

Given the complexity of one getter serving many banking sections, the description covers all decision-critical aspects: valid sections, required arg cases, days scoping, response-size control, error behavior, and sibling alternatives. An output schema exists, so the description does not need to explain return shapes.

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

Parameters5/5

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

Schema description coverage is 0%, so the description has to carry parameter meaning, and it does: section values are enumerated, arg requirements are mapped to six specific sections, days is limited to statements with a default of 30, and max_chars explains default 5000, 0 for full JSON, and truncation marking.

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 identifies a section-based universal getter for banking data and enumerates the supported sections, making the resource and operation concrete. It explicitly distinguishes the tool from payment_qr, transfer_sbp_resolve, account_requisites, and separate invest tools, so an agent can tell what belongs here.

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?

It gives explicit routing guidance: payment QR must use payment_qr, requisites usually need transfer_sbp_resolve or account_requisites, and account IDs come from list_accounts. It also warns that invoices and subscription_bills are different places and both must be checked before concluding there are no unpaid bills.

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