Skip to main content
Glama
yandex-metrica-mcp

yandex-metrica-mcp

by s3rezhkaa

get_pages_report

Load traffic and engagement metrics grouped by landing page URL for a Yandex Metrica counter, with date range filters and optional goal reach counts.

Instructions

Load traffic and engagement stats grouped by landing page URL.

Args: counter_id: Yandex Metrica counter ID. start_date: Start date in YYYY-MM-DD format. end_date: End date in YYYY-MM-DD format. goal_ids: Optional list of Metrica goal IDs to include reach counts. limit: Maximum number of rows to return (1 to 100000).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "counter_id": "<counter_id>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "get_pages_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
end_dateYes
goal_idsNo
counter_idYes
start_dateYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden; 'Load' implies a read-only operation but nothing states permissions, rate limits, or pagination behavior. It does add useful behavioral detail on parameter constraints (date format, limit range 1-100000), and the output schema covers return values.

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?

The one-line purpose is front-loaded and the Args list is compact with no filler sentences. The Args block is somewhat mechanical but earns its place given zero schema description coverage.

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?

With an output schema present, return values need no explanation, and all five parameters are described. What is missing is any statement of how goal_ids interacts with the report (extra columns versus filtering) and whether results are paginated or capped beyond the limit range.

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 description coverage is 0%, so the Args block does real work: it documents date formats as YYYY-MM-DD, the purpose of goal_ids (reach counts), and the limit range 1 to 100000. However it is largely a restatement of parameter names with types, and it omits the default limit of 100 that the schema supplies.

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 ('Load') and a specific resource ('traffic and engagement stats grouped by landing page URL'), which distinguishes it from sibling report tools like get_sources_report or get_tech_report by the grouping dimension. It does not explicitly name those siblings or state the contrast, so it falls short of a 5.

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?

The description contains no when-to-use or when-not-to-use guidance and never references the sibling report tools or the conditions that would select a page report over a sources or tech report. Usage must be fully inferred from the tool name and the grouping phrase.

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