Skip to main content
Glama
yandex-direct-mcp

yandex-direct-mcp

by s3rezhkaa

get_search_queries_report

Load weekly Yandex Direct search query statistics by date range and campaign or goal filters to analyze search terms and identify negative keywords.

Instructions

Load weekly search query statistics to analyze search terms and negative keywords.

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. clicks_only: If true, return only search queries with at least one click.

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_search_queries_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateYes
goal_idsNo
start_dateYes
clicks_onlyNo
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 behavioral burden. It usefully discloses the weekly aggregation granularity, the filtering behavior of campaign_ids, the column-adding behavior of goal_ids, and the exact effect of clicks_only — but it says nothing about result size limits, pagination, or permission requirements for a data-heavy report.

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 summary sentence is front-loaded and each Args line adds distinct information without repetition. The docstring-style Args block is slightly heavier than prose would be, but nothing is wasted.

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?

With five parameters, no annotations, and an output schema that covers return shape, the description supplies enough to call the tool correctly: dates, filters, and the click-only switch. The missing pieces — default values and any row/pagination limits — are modest given the output schema exists.

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 coverage is 0%, so the description must compensate, and it largely does: all five parameters get meaning, including the YYYY-MM-DD format for both dates, that goal_ids add conversion columns, and that clicks_only restricts to queries with at least one click. It does not mention that clicks_only defaults to true, which is the one gap.

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?

"Load weekly search query statistics" gives a specific verb, resource, and time granularity, and the added clause names the two concrete use cases (search-term analysis, negative-keyword work). It is distinguishable from the report siblings (ad, campaign, placements) by resource, though it never explicitly contrasts itself with them.

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 through the purpose clause ("to analyze search terms and negative keywords"); there is no statement of when to pick this report over get_ad_report or get_campaign_report, and no prerequisites or exclusions are given.

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