Skip to main content
Glama
Rezlazy

yandex-metrika-mcp

by Rezlazy

mgmt_chart_annotation_create

Creates a chart annotation on a Yandex Metrika counter to mark specific dates or events in analytics reports.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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

C2.5/5.0
Behavior2/5

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

Annotations are absent, so the description carries the full burden. It discloses that this is a create (mutation) operation but provides no details on side effects, such as whether it overwrites existing annotations, what permissions are required, or what the response format is. The reference to the API docs URL is a weak substitute for explicit behavioral disclosure.

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

Conciseness3/5

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

The description is short and direct, but it wastes a sentence on a URL that does not provide actionable guidance. It front-loads the action but includes extraneous content. Could be more concise by focusing on the semantics of the body parameter and any unique aspects of chart annotation creation.

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 create tool with no annotations and no output schema, the description should explain what a chart annotation is, what fields are expected in the body, and any constraints (e.g., required fields, validation rules). It also lacks guidance on how the response is structured. The description is incomplete for an agent to confidently call this tool without additional context.

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?

The schema description coverage is 100% (all parameters are described), so the baseline is 3. The description adds minimal value beyond the schema: it mentions that the body should contain a 'chart_annotation' object, which aligns with the schema but does not elaborate on the structure or required fields within that object. The 'pretty' parameter is not mentioned in the description, but the schema covers it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the action ('create chart annotation') and the resource ('chart_annotation'), which is clear, but it does not distinguish this tool from its sibling tools such as mgmt_chart_annotation_update or mgmt_chart_annotation_delete. It also includes a redundant URL that adds no purpose information.

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 provides no guidance on when to use this tool versus alternatives. It does not mention any prerequisites, such as the need for valid counterId or authentication, nor does it explicitly state that this is for creating a new chart annotation as opposed to updating or deleting. The usage context is implied only by the verb 'create'.

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