Skip to main content
Glama
A1-x-Tech

Yandex Audience MCP

Создать сегмент на основе пикселя

create_pixel_segment

Create an audience segment of users tracked by a pixel within a chosen period, refining by impression frequency and UTM parameters.

Instructions

Создаёт сегмент типа pixel — пользователи, которых пиксель (pixel_id из list_pixels) видел за последние period_length дней (1..90). Дополнительные условия объединяются по «И»: частота показов (times_quantity + times_quantity_operation: lt | eq | gt) и фильтры по UTM-меткам (utm_source, utm_medium, utm_campaign, utm_content, utm_term). device_matching_type присутствует в примере запроса API, но не описан в документации — считайте экспериментальным. Ответ — {"segment": {...}}. Квота: 10/мин, 100/час, 500/сутки.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesНазвание сегмента.
pixel_idYesИдентификатор пикселя (id из list_pixels), на основе которого строится сегмент.
utm_termNoФильтр по метке utm_term.
utm_mediumNoФильтр по метке utm_medium.
utm_sourceNoФильтр по метке utm_source.
utm_contentNoФильтр по метке utm_content.
utm_campaignNoФильтр по метке utm_campaign.
period_lengthNoПериод в сутках (1..90), за который пользователь был замечен пикселем.
times_quantityNoПороговое количество срабатываний пикселя (используется вместе с times_quantity_operation).
device_matching_typeNoРежим сопоставления устройств (недокументирован для pixel-сегментов, экспериментально).
times_quantity_operationNoУсловие по частоте: lt (меньше), eq (равно), gt (больше) относительно times_quantity.
Behavior5/5

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

The description goes significantly beyond the minimal annotations (readOnlyHint=false, etc.) by disclosing rate limits ('Квота: 10/мин, 100/час, 500/сутки'), the response format ('{"segment": {...}}'), and the experimental nature of device_matching_type. These behavioral traits are not covered by the annotations, making the description highly transparent.

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 concise and information-dense, covering purpose, parameter logic, experimental warnings, response format, and rate limits in a few sentences. Every clause provides useful guidance without fluff or redundancy, and the core purpose is front-loaded.

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 tool with 11 parameters and no output schema, the description is quite complete: it explains the core logic, experimental parameter, response shape, and quotas. It does not mention potential follow-up steps like confirmation (the sibling confirm_segment exists), which could be relevant context, but given that the schema fully covers parameter semantics, the overall picture is strong.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds cross-parameter meaning by stating that conditions combine via logical AND ('Дополнительные условия объединяются по «И»'), which is not in the schema. It also reinforces the pairing of times_quantity and times_quantity_operation, adding value beyond the individual parameter descriptions.

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 explicitly states the tool's function: 'Создаёт сегмент типа pixel' (creates a pixel-type segment), identifying the resource (segment) and the specific base (pixel_id from list_pixels). This clearly distinguishes it from sibling tools like create_lookalike_segment, which create different segment types.

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 provides clear usage context by explaining how to construct the segment: 'пользователи, которых пиксель видел за последние period_length дней' and that additional conditions combine by 'AND'. It even flags device_matching_type as experimental, advising caution. However, it does not explicitly mention alternatives or when not to use this tool (e.g., using lookalike segments instead), missing the top criterion for a 5.

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