Skip to main content
Glama
yandex-direct-mcp-plus

yandex-direct-mcp-plus

by Pavelsiba

Изменения объектов

get_changes
Read-only

Retrieve campaign, ad group, and ad changes since a specified timestamp, or check dictionary updates and current Yandex.Direct server time by choosing the appropriate mode.

Instructions

Проверить изменения кампаний, групп и объявлений начиная с указанного времени, а также изменения справочников (mode=dictionaries) и текущее время сервера Директа.

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": {
      "mode": "<mode>"
    },
    "name": "get_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYescampaigns — какие кампании менялись целиком; objects — что изменилось внутри выбранных объектов; dictionaries — менялись ли справочники регионов, часовых поясов и интересов
ad_idsNoОбъявления для mode=objects
timestampNoМомент, начиная с которого искать изменения: YYYY-MM-DDThh:mm:ssZ. Обязателен для campaigns и objects; для dictionaries без него возвращается только текущее время сервера
field_namesNoКакие изменения интересуют; по умолчанию — соответствующие переданным ID
ad_group_idsNoГруппы для mode=objects
campaign_idsNoКампании для mode=objects

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.1.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv1.6.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds one genuinely useful behavioral fact beyond the annotations: that this call also returns the current Yandex.Direct server time, and that for dictionaries without a timestamp only that server time is returned. It does not describe the shape of a 'change' record or any rate/size behavior.

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?

A single sentence, front-loaded with the primary resource checked, with no filler. It is somewhat run-on, bundling the dictionary mode and server-time return into the tail of the same clause rather than separating them.

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?

For a 6-parameter, annotation-backed read tool with full schema coverage, the description covers the main purpose and one output nuance (server time). It omits what a change result actually contains and how the three modes differ in output, which matters for a change-tracking tool with no output schema.

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 100%, so mode, timestamp, field_names and the ID lists are all documented in the schema itself. The description restates the timestamp lower-bound semantics but adds no format, default, or interaction detail beyond what the schema already provides, so the baseline 3 applies.

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 names a specific verb ('Проверить изменения') and the resources affected (кампании, группы, объявления) plus the dictionary mode and server-time side output. An agent can tell this is a change-tracking/read tool. It stops short of naming any sibling it overlaps with (e.g. get_statistics, get_campaign) or clarifying the campaigns-vs-objects scope split, which lives only in the schema.

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 only usage cue is 'начиная с указанного времени' and the parenthetical that mode=dictionaries returns dictionary changes. There is no statement of when to prefer this over get_statistics/get_campaign, no prerequisites, and no when-not guidance.

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