Skip to main content
Glama

compare_segments_drilldown

Compare two segments in a drill-down tree view to analyze differences across metrics and dimensions.

Instructions

Compare two segments in a hierarchical tree-view report with drill-down capability.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
counter_idYesYandex Metrika counter ID
metricsYesMetrics to compare, e.g. ['ym:s:visits', 'ym:s:users']
dimensionsYesComma-separated dimension path, e.g. 'ym:s:regionCountry,ym:s:regionCity'
segment_a_nameYesHuman-readable name for segment A
segment_a_filterYesFilter expression for segment A
segment_b_nameYesHuman-readable name for segment B
segment_b_filterYesFilter expression for segment B
parent_idNoParent node ID to drill into (omit for root level)
date_fromNoStart date YYYY-MM-DD
date_toNoEnd date YYYY-MM-DD
limitNoMaximum rows to return

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

Annotations are absent, and the description provides no behavioral details such as authorization needs, rate limits, side effects, or return format. The burden falls entirely on the description, which only states the action.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, which is concise but lacks necessary detail for a tool with 11 parameters and drill-down behavior. It is not overly verbose, but brevity sacrifices completeness.

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

Completeness2/5

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

Given the complexity (11 parameters, output schema exists), the description is incomplete. It doesn't explain the hierarchical tree-view output, how drill-down works, or any usage context beyond the basic action.

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% with all parameters described. The description adds no additional parameter semantics beyond the schema, so baseline score of 3 is appropriate.

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?

The description clearly states the tool compares two segments in a hierarchical tree-view with drill-down capability. It distinguishes from sibling 'compare_segments' by adding 'drilldown' but does not explicitly say when to use this over others.

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 guidance on when to use this tool versus alternatives like 'compare_segments' or 'get_drilldown'. The description implies drill-down capability but offers no exclusions or prerequisites.

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/mrkhachaturov/ya-metrics-mcp'

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