Skip to main content
Glama
zai-one
by zai-one

audience_get_segment

Read-onlyIdempotent

Retrieves a specific audience segment by its ID from the documented authoritative list. Use for fetching segment details in Yandex Direct advertising.

Instructions

Read one segment by filtering the documented authoritative segment list.

Input Schema

NameRequiredDescriptionDefault
segment_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds only a hint that retrieval is a filter over the authoritative segment list, implying a deterministic read with no side effects, but discloses nothing about behavior on missing/invalid ids or result shape.

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?

A single short sentence with the action and scope front-loaded; nothing is padded. The phrasing 'documented authoritative segment list' is slightly redundant, keeping it just short of a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation, and annotations cover the safety profile. The gap is provenance of the id and the sibling relationship to audience_list_segments, which the description leaves unaddressed for a lookup tool.

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

Parameters2/5

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

One parameter with 0% schema description coverage and no enum, so the schema gives only a name and integer type. The description does not explain where segment_id comes from, its expected form, or its relationship to the ids returned by audience_list_segments, leaving the parameter effectively undocumented.

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?

States a specific verb (Read) and resource (one segment), scoped to a single item, which implicitly distinguishes it from audience_list_segments. The trailing phrase about 'filtering the documented authoritative segment list' is odd but does not obscure the core purpose.

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?

No explicit when-to-use, when-not, or named alternative. The agent must infer that this is the single-item counterpart to audience_list_segments; nothing states that segment_id must come from that list, nor what happens when the id is unknown.

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

Deploy Server

Other Tools