Skip to main content
Glama
A1-x-Tech

Yandex Audience MCP

Загрузить CSV-файл сегмента (CRM-данные)

upload_segment_csv_file

Upload a CSV file of CRM data to create a new Yandex Audience segment. The file must include a header row with email, phone, or external_id and at least 100 records.

Instructions

Создаёт сегмент из CSV-файла с CRM-данными. Первая строка — заголовок: колонки email, phone, ext_id (или external_id) и произвольные дополнительные поля; минимум 100 записей, до 1 ГБ. Это первый шаг двухфазного создания: в ответе сегмент со статусом uploaded и его id — затем сегмент нужно сохранить инструментом confirm_segment (content_type: crm). Источник данных: file_path (путь к локальному файлу) или content (содержимое строкой) — ровно одно из двух. Квота на создание сегментов: 10/мин, 100/час, 500/сутки.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentNoСодержимое файла строкой (для небольших сегментов). Укажите либо content, либо file_path (ровно одно).
file_nameNoИмя файла для загрузки. По умолчанию — имя из file_path или стандартное имя.
file_pathNoПуть к локальному файлу с данными. Укажите либо file_path, либо content (ровно одно).
Behavior5/5

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

Beyond the annotations, the description discloses important behavioral traits: the two-phase creation flow, the uploaded status and id in the response, the need for subsequent confirmation, the 100-record minimum and 1 GB maximum size, and the creation rate limits (10/min, 100/hour, 500/day).

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 description is longer than average but every sentence contributes essential information: file format, constraints, two-phase flow, data source options, and quotas. It is front-loaded with the primary purpose and well-structured.

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?

For a multi-phase tool with no output schema, the description covers all necessary context: input format, source selection, size limits, status semantics, next step, and rate limits. It is sufficiently complete for an agent to invoke correctly.

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?

The schema already has 100% description coverage for all three parameters, including the 'exactly one' constraint. The tool description repeats this constraint but does not add new parameter-level meaning beyond what the schema provides, so the baseline of 3 is appropriate.

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 clearly states the tool creates a segment from a CSV file with CRM data, using a specific verb and resource. It also distinguishes itself from siblings by emphasizing the CSV format and the two-phase creation flow with confirm_segment.

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?

The description gives clear context: this is the first step of a two-phase process, followed by confirm_segment. It also clarifies the data source must be exactly one of file_path or content. However, it does not explicitly contrast with the sibling upload_segment_file, so it lacks a direct when-not-to-use statement.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/A1-x-Tech/mcp-yandex-audience'

If you have feedback or need assistance with the MCP directory API, please join our Discord server