Skip to main content
Glama
askads

Yandex Direct MCP

Данные аккаунта

get_account_info
Read-onlyIdempotent

Retrieve current advertiser account details—login, currency, type, and country—or query a managed client account to verify settings and account context.

Instructions

Возвращает данные текущего аккаунта рекламодателя (логин, валюта, тип, страна) через сервис clients Яндекс Директа.

Input Schema

NameRequiredDescriptionDefault
fieldNamesNoКакие поля клиента вернуть. По умолчанию — типовой набор.
client_loginNoЛогин клиента агентства или кабинета в управлении (из list_clients). Если не указан — YANDEX_DIRECT_LOGIN из конфигурации, а без него собственный аккаунт токена.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.11.0
    • addedInput schema / properties / fieldNames / items / enum
      Added value: +[
      +  "AccountQuality",
      +  "Archived",
      +  "ClientId",
      +  "ClientInfo",
      +  "CountryId",
      +  "CreatedAt",
      +  "Currency",
      +  "Grants",
      +  "Bonuses",
      +  "Login",
      +  "Notification",
      +  "OverdraftSumAvailable",
      +  "Phone",
      +  "Representatives",
      +  "Restrictions",
      +  "Settings",
      +  "Type",
      +  "Subtype",
      +  "VatRate",
      +  "ManagedLogins",
      +  "ForbiddenPlatform",
      +  "AvailableCampaignTypes",
      +  "AvailableAdGroupTypes",
      +  "ProductMode"
      +]
  2. Changed1 schema field changedv1.6.0
    • addedInput schema / properties / client_login
      Added value: +{
      +  "description": "Логин клиента агентства или кабинета в управлении (из list_clients). Если не указан — YANDEX_DIRECT_LOGIN из конфигурации, а без него собственный аккаунт токена.",
      +  "pattern": "^[A-Za-z0-9][A-Za-z0-9._@-]{0,99}$",
      +  "type": "string"
      +}
  3. Changed1 schema field changedv1.5.1
    • changedInput schema / properties / fieldNames / description
      Previous value: -"Client fields to return. Defaults to a common set."New value: +"Какие поля клиента вернуть. По умолчанию — типовой набор."
  4. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered. The description adds that the call is served by the `clients` service and that a default field set applies when none is given, but it says nothing about permissions, token scope, or how restricted/agency logins affect the result.

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 states the action, the resource, the returned fields, and the backing service with no filler.

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?

For a non-destructive two-parameter read with 100% schema coverage and no output schema, the description plus schema is nearly sufficient; only the sibling-selection guidance and the account-resolution fallback story are left implicit in the schema text.

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 100% and both parameters carry full descriptions (field enum, login pattern, fallback to YANDEX_DIRECT_LOGIN then the token's own account). The description adds nothing beyond the schema, so the baseline 3 applies.

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?

Specific verb+resource: returns data of the current advertiser account and names the backend service (`clients`) plus example fields (login, currency, type, country). It does not differentiate itself from neighbors like list_clients or clients_overview, which also return client data, so an agent must infer the boundary.

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

Usage Guidelines2/5

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

There is no statement of when to use this rather than list_clients, clients_overview, or get_balance, and no mention of the agency/managed-login scenario implied by the client_login parameter. Usage is only implied by the phrase 'current account'.

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