Describe Metrica counter
describe_counterReads a Yandex Metrica counter's configuration sections, including goals, so you can get the goal IDs needed before building conversion metrics.
Instructions
Read a single counter's configuration — settings, goals, segments, filters, operations and access grants and chart annotations — choosing sections with include. The goals section returns the goal ids needed to build conversion metrics (ym:s:goalreaches / conversionRate) in run_report, so call this with include=["goals"] before any conversion question. To list the account's counters, use get_metadata. Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "describe_counter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Which configuration sections to return. Default ["settings","goals"]. "goals" gives the goal ids needed for conversion metrics in run_report; "grants" is a read-only access audit; "annotations" lists the notes pinned to chart dates (releases, campaigns, outages) — useful context when explaining a change. | |
| counterId | No | Yandex Metrica counter id. Optional if YANDEX_METRIKA_COUNTER_ID is configured. | |
| fullResponse | No | If true, return the full raw objects with every field. Default false: a curated subset to save context. |