Skip to main content
Glama
Pavelsiba

yandex-direct-mcp-plus

by Pavelsiba

Изменить ключевые слова

update_keywords

Edit keyword phrase text and {param1}/{param2} substitution variables for Yandex.Direct ads; verify results with list_keywords afterward, as duplicate phrases may change IDs or be removed.

Instructions

Изменить текст ключевых фраз и подстановочные переменные {param1}/{param2}. Правка текста может привести к появлению фразы с новым ID или к её удалению как дубликата — сверьтесь с list_keywords после вызова. Ставки меняет set_keyword_bids, статус — manage_keywords.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNotrue — ничего не менять: проверить параметры и вернуть тела запросов, которые ушли бы в Директ. Чтение при этом выполняется.
keywordsYesФразы и их новые значения; поля, которые не переданы, остаются прежними

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.7.0
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "description": "true — ничего не менять: проверить параметры и вернуть тела запросов, которые ушли бы в Директ. Чтение при этом выполняется.",
      +  "type": "boolean"
      +}
  2. First observedv1.6.1

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true), the description discloses a non-obvious destructive side effect: a text edit can produce a phrase with a new ID or delete it as a duplicate, and it instructs the agent to verify via list_keywords. This is exactly the kind of mutation risk the annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with purpose, then the behavioral warning, then the sibling routing. No filler and each sentence carries distinct information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description compensates by telling the agent to re-check via list_keywords and clarifying the alternatives for bids/status. Everything needed to invoke the mutation correctly and safely is present.

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 keyword_id, keyword, user_param1 and user_param2 are already fully documented in the schema. The description only alludes to the {param1}/{param2} variables, adding no syntax or format detail beyond structured data, so the baseline 3 applies.

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 (изменить) and the exact resource fields it touches: the phrase text plus the {param1}/{param2} substitution variables. It also distinguishes itself from sibling tools by naming set_keyword_bids (bids) and manage_keywords (status), so an agent can route correctly without opening schemas.

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?

Explicitly carves out the when-to-use boundary: this tool is for text/variable edits, while set_keyword_bids handles bids and manage_keywords handles status. This is the textbook when-not/alternative pattern and leaves nothing to inference.

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