Skip to main content
Glama
stufently

yandex-metrica-mcp

yandex_metrica_create_counter

Create a new Yandex Metrica counter for a website and return its ID and tracking code. Use to add a site or start tracking a new property.

Instructions

Create a new Yandex Metrica counter for a site and return its id and tracking code. Use when the user asks to add a website or start tracking a new property. Do not use this to find a counter that already exists; call yandex_metrica_list_counters or yandex_metrica_get_counter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesCounter name
siteYesSite domain (e.g. "example.com")
mirrorsNoMirror domains
time_zone_nameNoTimezone (e.g. "Europe/Moscow")
gdpr_agreement_acceptedNoGDPR agreement accepted (required for EU sites)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, idempotentHint=false, destructiveHint=false, openWorldHint=true), so the safety burden is largely covered. The description adds return-payload behavior (id and tracking code), which is not in the structured fields, but it says nothing about auth/permission requirements or that repeated calls create duplicate counters.

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: the action first, then the trigger, then the exclusion with alternatives. No filler and every sentence earns its place.

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 create tool with full schema coverage and annotations covering the mutation profile, the description covers purpose, trigger, exclusion, and return shape despite there being no output schema. Only auth/permission prerequisites and duplicate-creation implications are absent.

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% for all five parameters (name, site, mirrors, time_zone_name, gdpr_agreement_accepted), so the schema carries the semantics. The description adds no parameter-level detail beyond that, making the baseline 3 appropriate.

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 resource (create a Yandex Metrica counter for a site) and adds the outcome (returns its id and tracking code). It also names the siblings it is not (list_counters/get_counter), so an agent can distinguish it without opening any schema.

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?

Explicit when-to-use ('user asks to add a website or start tracking a new property') plus an explicit when-not ('to find a counter that already exists') with two named alternatives. This is exactly the routing information an agent needs.

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