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

metrika_report

Read-onlyIdempotent

Generate Yandex Metrika reports with period comparison: totals, absolute and percentage deltas, sampling details, and JSON or CSV output for a counter and date range.

Instructions

One-call Metrika report with optional period comparison (compare_date1/2): totals, abs/% deltas, sampling info, JSON or CSV. Use for period-over-period analysis; raw params via metrika_get_statistics. <=12 metrics, 5 dimensions, 93 days. Read-only.

Input Schema

NameRequiredDescriptionDefault
sortNo
date1Yes
date2Yes
outputNojson
filtersNo
metricsYes
max_pagesNo
page_sizeNo
counter_idYes
dimensionsNo
compare_date1No
compare_date2No

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds real context beyond that: hard limits (<=12 metrics, 5 dimensions, 93 days), output formats, and sampling info being surfaced. Pagination behavior (max_pages/page_size) is not disclosed, which is the remaining gap.

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?

Front-loaded with the main purpose and densely packed with limits, formats, and the alternative tool. Every clause carries information, though the terse punctuation-separated style is slightly harder to parse than prose.

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 needn't be explained, and annotations cover the safety profile. However, with 12 params at 0% schema coverage, the omission of filters, sort, and pagination semantics leaves the definition short of what an agent needs to invoke it fully.

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 0% across 12 params, so the description carries the burden. It clarifies compare_date1/compare_date2 semantics, the output format (JSON/CSV), and metric/dimension caps, but leaves filters, sort, max_pages, page_size, and date formats undocumented, so it only partially compensates.

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?

States a specific verb+resource ('One-call Metrika report') and enumerates what it returns (totals, abs/% deltas, sampling info, JSON or CSV). It explicitly distinguishes itself from the sibling metrika_get_statistics for raw params, so an agent can route without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use ('Use for period-over-period analysis') and names the alternative tool plus the condition that selects it ('raw params via metrika_get_statistics'). Nothing is left to inference about which of the two report tools to pick.

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