Skip to main content
Glama
Bukvarix MCP Server

Bukvarix MCP Server

by VKirill

Get Domain Keywords

bukvarix_get_domain_keywords
Read-onlyIdempotent

Retrieve the keywords a domain or subdomain ranks for in Yandex or Google, with optional region, result count, and output format controls.

Instructions

Get keywords for a specific domain or subdomain.

This tool retrieves keywords that the domain ranks for in search engines (Yandex or Google). You can specify domain or subdomain (without protocol). Cyrillic domains (.рф, .укр) are supported.

Args:

  • domain (string, required): Domain or subdomain without protocol. Examples: "example.com", "subdomain.example.com", "кто.рф" Must match regex: /^[a-zA-Z0-9а-яёА-ЯЁ.-]+$/ Do NOT include: http://, https://, www., paths, or query parameters

  • region (string, optional): Search engine region. Default: 'msk' (Moscow Yandex). Available regions: msk, gmsk, spb, rus, nsk, ekb, kzn, nnv, kry, che, sam, ufa, rnd, krr, oms, vrn, prm, vlg, sar, tmn, tom, gkiev, minsk, gminsk, nursul Format: lowercase code (e.g., 'msk', 'spb', 'rus', 'gmsk')

  • num (number, optional): Number of results to return. Range: 1-1,000,000. Default: 250.

  • format ('txt' | 'json' | 'csv' | 'tsv', optional): Output format. Default: 'json'.

  • result_count (boolean, optional): If true, return only total count. Default: false.

Returns: Response format depends on 'format' and 'result_count' parameters.

If result_count=true:

  • Text: "Total keywords found for {domain}: {count}"

  • Structured: { "total": number, "domain": string }

If result_count=false and format='json': { "data": [ [keyword, words_count, chars_count, search_results_count, broad_frequency, exact_frequency, position], ... ] } Where array indices:

  • [0]: keyword (string) - Keyword phrase

  • [1]: words_count (number) - Number of words in phrase

  • [2]: chars_count (number) - Number of characters

  • [3]: search_results_count (number) - Search results count in Yandex/Google

  • [4]: broad_frequency (number) - Broad frequency worldwide

  • [5]: exact_frequency (number) - Exact frequency worldwide

  • [6]: position (number) - Position in search results (1-based)

Examples:

  • "Get keywords for wildberries.ru" -> { domain: "wildberries.ru", num: 50 }

  • "Find keywords for subdomain" -> { domain: "shop.example.com" }

  • "Get keywords for SPb region" -> { domain: "example.com", region: "spb" }

  • "Count only" -> { domain: "example.com", result_count: true }

  • "Cyrillic domain" -> { domain: "кто.рф" } (automatically encoded)

Error Handling:

  • 400: "Error: Invalid request" - Domain format incorrect (includes protocol/path)

  • 401: "Error: Authentication failed" - Check BUKVARIX_API_KEY

  • 402: "Error: Limit exceeded" - Reduce 'num' parameter

  • 429: "Error: Rate limit exceeded" - Wait before retrying

  • Other errors: See bukvarix_search_keywords error handling

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "domain": "<domain>"
    },
    "name": "bukvarix_get_domain_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
numNoКоличество строк в отчете (по умолчанию 250, максимум 1000000)
domainYesДомен или поддомен (без протокола, например: example.com или subdomain.example.com)
formatNoФормат данных: 'txt' (список), 'json' (массив), 'csv' (точка с запятой), 'tsv' (табуляция)json
regionNoРегион поисковой машины (по умолчанию: msk - Москва Яндекс)
result_countNoЕсли true, вернуть только общее количество результатов без данных

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Well beyond the annotations, the description discloses authentication dependence (BUKVARIX_API_KEY), rate limiting, a limit-exceeded condition tied to 'num', Cyrillic domain auto-encoding, and specific 400/401/402/429 failure meanings. The annotations already establish readOnly/idempotent/non-destructive semantics, so the added operational context is the real contribution here. It loses a point only because error handling is partially deferred ('See bukvarix_search_keywords error handling') rather than fully self-contained.

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 purpose is correctly front-loaded and the sectioned structure (Args / Returns / Examples / Error Handling) is easy to scan, but the Returns block is very long, enumerating every array index in prose, and the 25-value region list duplicates the schema enum verbatim. Some of that length is defensible given the absence of an output schema, yet it still reads as over-specified relative to what an agent needs before calling.

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

Completeness5/5

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

With no output schema, the description carries the full burden of return-value documentation and does so thoroughly: both the result_count=true shape and the positional JSON array layout with per-index meanings, plus txt/csv/tsv alternatives. Combined with the error taxonomy and authentication note, nothing material is missing for correct invocation or interpretation.

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?

Schema coverage is 100%, so the baseline is 3, and the description earns above that by adding what the schema does not: concrete domain examples, explicit negative guidance (no http://, https://, www., paths, or query parameters), a spelled-out region list with the default, and the result_count shortcut. Enum values are largely restated from the schema, but the worked examples and format prohibitions add genuine meaning.

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 first sentence states a specific verb and resource (get keywords for a domain/subdomain) and the second clarifies the data source (keywords the domain ranks for in Yandex or Google). It is unmistakably a domain-centric lookup rather than a keyword-centric search, so an agent can distinguish it from bukvarix_search_keywords in practice. It stops short of naming a sibling or explicitly contrasting scope, which keeps it out of the 5 band.

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?

Usage is only implied through worked examples ('Get keywords for wildberries.ru', 'Count only', 'Cyrillic domain'), which do help map user intent to parameters. There is no explicit statement of when to prefer this over bukvarix_search_keywords or bukvarix_compare_domains, and no prerequisites or exclusions beyond the domain-format constraint.

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