Skip to main content
Glama
Rezlazy

yandex-metrika-mcp

by Rezlazy

mgmt_chart_annotation_update

Update an existing chart annotation in Yandex Metrika by providing its ID and the updated annotation data.

Instructions

https://yandex.ru/dev/metrika/ru/management/ Update chart annotation. Body: {"chart_annotation": {...}}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesChart annotation ID
bodyYesJSON request body. For POST/PUT use the structure from API docs (e.g. {"counter": {...}}).
prettyNoPretty-print response (1)
counterIdYesCounter ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

B3/5.0
Behavior2/5

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

There are no annotations to indicate mutability, auth requirements, or side effects. The description only says 'Update' and gives a body shape; it does not disclose whether the update replaces the entire object, what the response looks like, or what permissions are needed. For a mutation tool this is a notable gap.

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 description is brief and free of filler, conveying the core action and body shape quickly. However, it opens with a bare documentation URL and then a terse body hint, making the structure slightly less organized than ideal.

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

Completeness2/5

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

For a mutation tool with no annotations, no output schema, and a nested request body, the description is under-specified. It provides only the resource, a generic docs link, and a body wrapper; it lacks response expectations, permission context, and details on constructing the inner chart_annotation object, so an agent may not reliably call it correctly.

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?

All four parameters have schema descriptions (100% coverage), so the schema handles the basic semantics. The description adds useful value by specifying that the body must use the wrapper structure {'chart_annotation': {...}}, which the generic body schema does not make explicit. It still leaves inner field details undocumented.

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 states a specific verb and resource ('Update chart annotation') and adds the expected body wrapper. It clearly identifies the operation, but it does not explicitly distinguish itself from sibling chart annotation create/get/delete tools beyond relying on the word 'update'.

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?

No guidance is provided about when to use this tool versus alternatives like mgmt_chart_annotation_create, mgmt_chart_annotation_get, or mgmt_chart_annotation_delete. There are no conditions, prerequisites, or exclusions, so the agent must infer usage from the tool name alone.

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