Skip to main content
Glama
yandex-direct-mcp

yandex-direct-mcp

by s3rezhkaa

get_campaign_report

Load daily Yandex Direct campaign statistics for a date range, filter by campaign IDs, and add Yandex Metrica goal conversion columns.

Instructions

Load daily Yandex Direct campaign statistics for a date range.

Args: start_date: Start date in YYYY-MM-DD format. end_date: End date in YYYY-MM-DD format. campaign_ids: Optional list of campaign IDs to filter. goal_ids: Optional list of Yandex Metrica goal IDs for conversion columns.

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": {
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "get_campaign_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateYes
goal_idsNo
start_dateYes
campaign_idsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose two useful behavioral traits beyond the schema: the data granularity is 'daily' and the operation is a read ('Load'). However, it says nothing about rate limits, row caps, pagination, behavior when the range spans many campaigns, or required Yandex Direct permissions — meaningful gaps for a reporting tool with zero annotation coverage.

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 operative sentence is front-loaded and the parameter list is terse and scannable, with no filler. The 'Args:' block is somewhat redundant in structure with the schema, but every line adds information the schema lacks, so the size is justified.

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 four-parameter read-only reporting tool with an output schema (so return values need no explanation), the description covers purpose, granularity, date formats, and the two optional filters. The gaps — default scope when campaign_ids is omitted and any limits on range size — are modest but would matter to an agent planning a call.

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 0%, so the description must compensate, and it largely does: it documents all four parameters, including the YYYY-MM-DD format for both dates and the non-obvious purpose of goal_ids (adding Yandex Metrica conversion columns). The one remaining ambiguity is what omitting campaign_ids means — all campaigns versus an error — which is not stated.

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 and resource ('Load daily Yandex Direct campaign statistics') plus the scoping dimension (date range). The word 'campaign' implicitly distinguishes it from the ad-, placement-, and search-query-level siblings, but the description never explicitly contrasts those granularities, so differentiation relies on the tool name rather than the text.

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

Usage Guidelines3/5

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

Usage is only implied: the description makes clear this is the daily campaign-level reporting tool for a date range, and the sibling names suggest when another report type would be more appropriate. There is no explicit 'use this when…' statement, no exclusion of alternatives, and no note about prerequisites such as account authorization or date-range limits.

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