Skip to main content
Glama
Pavelsiba

yandex-direct-mcp-plus

by Pavelsiba

Удалить группы

delete_ad_groups
Destructive

Permanently delete Yandex.Direct ad groups by ID, with an optional dry run to validate parameters and preview requests before applying irreversible changes.

Instructions

Удалить группы объявлений по их ID. ⚠️ Необратимо.

Input Schema

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

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

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds the explicit warning '⚠️ Необратимо' (irreversible), which reinforces destructiveness but is largely redundant; it does not mention dry_run availability, authorization requirements, or batch limits beyond what the schema provides.

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?

Two short, front-loaded sentences with zero waste. The core action and the critical irreversible warning are delivered immediately without unnecessary elaboration.

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?

Given a simple delete operation, full schema coverage, and annotations that already declare destructiveness, the description provides the essential context (what is deleted, permanence). It could mention dry_run or usage scenarios, but the structured fields cover those adequately for a basic call.

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%, with both ad_group_ids and dry_run fully documented in the schema. The description only restates 'by their ID' which is already covered, so the baseline of 3 applies when structured fields do the heavy lifting.

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?

The description states a specific verb ('Удалить' / delete) and resource ('группы объявлений' / ad groups) and clarifies the scope ('по их ID' / by their ID). It clearly distinguishes this tool from siblings like list_ad_groups, create_ad_group, or other delete_* tools for different resources.

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 offers no guidance on when to use this tool versus alternatives, nor does it mention the dry_run parameter or any prerequisites. It only states what the tool does and that it is irreversible, leaving the agent to infer usage context.

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