Skip to main content
Glama
ilyautov

marketplaces-mcp-ru

ym_delete_method

Destructive

Delete or irreversibly change Yandex Market data via the Partner API. Requires confirm_write and i_understand_this_modifies_data flags to be true before any request is sent.

Instructions

Execute one DESTRUCTIVE endpoint: deletes or irreversibly changes data.

Target API: https://yandex.ru/dev/market/partner-api/doc/ru/.

Both confirm_write=true and i_understand_this_modifies_data=true are required; nothing is sent without both.

Args: operation_id: id from the catalog (see ym_search_methods). path_values: values for {placeholders} in the path. query: query-string parameters. body: JSON request body. confirm_write: must be true. i_understand_this_modifies_data: must be true. Returns JSON: {"ok": true, "status", "data"} or the error envelope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNo
queryNo
path_valuesNo
operation_idYes
confirm_writeNo
i_understand_this_modifies_dataNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description reinforces this by stating the action deletes or irreversibly changes data. It adds valuable context beyond annotations: both confirm_write=true and i_understand_this_modifies_data=true are required, and 'nothing is sent without both,' which is a strong safety behavior not visible in the schema.

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?

The description is front-loaded with the most important fact (DESTRUCTIVE), followed by the target API, safety requirements, arguments, and return format. Every sentence earns its place, and the Args list is compact and readable 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?

For a generic destructive catalog method with six parameters and no schema descriptions, the description is nearly complete: it names the target API docs, explains all parameters, gives the required confirmation flags, and states the return envelope. It could slightly expand on optionality of path_values/query/body and prerequisites like authentication, but these are minor gaps given the output schema and existing context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the parameter documentation in the description carries the full burden. It explains each of the six parameters: operation_id is a catalog id from ym_search_methods, path_values fill path placeholders, query is query-string parameters, body is a JSON body, and both boolean flags must be true. This fully compensates for the schema's lack of descriptions.

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 clearly identifies a specific action: 'Execute one DESTRUCTIVE endpoint: deletes or irreversibly changes data.' It conveys the scope (a single catalog endpoint from the Yandex Market Partner API) and the destructive nature. It does not explicitly name sibling tools like ym_call_method or ym_delete_raw to differentiate, but the catalog-based operation_id makes the distinction reasonably clear.

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?

The description implies when to use the tool: for a destructive endpoint whose id was obtained via ym_search_methods. However, it does not explicitly state when not to use it or contrast it with alternatives such as ym_call_method (non-destructive) or ym_delete_raw (raw endpoint).

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

Deploy Server

Other Tools