Skip to main content
Glama
askads

Yandex Webmaster MCP

Добавить sitemap

add_sitemap

Add a sitemap file manually to Yandex Webmaster by submitting its full URL. Returns a sitemap_id and alerts if the sitemap already exists.

Instructions

Добавляет sitemap-файл вручную (аналог раздела «Файлы Sitemap» в интерфейсе Вебмастера). Возвращает {"sitemap_id": строка} со статусом 201. Ошибка 409 SITEMAP_ALREADY_ADDED — такой sitemap уже добавлен. Требует подтверждённых прав на сайт.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesПолный URL sitemap-файла, напр. «https://example.com/sitemap.xml».
host_idNoИдентификатор сайта host_id вида «https:example.com:443» (получите из list_sites). Можно не указывать, если задана переменная YANDEX_WEBMASTER_HOST_ID.
Behavior5/5

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

Description adds significant behavioral details beyond annotations: returns 201 with sitemap_id, raises 409 SITEMAP_ALREADY_ADDED for duplicates, and requires confirmed site rights. This enriches the readOnly/idempotent hints and provides concrete error semantics.

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 sentences, front-loaded with the core action, then return format, error condition, and prerequisite. No filler or redundancy; 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 simple 2-parameter mutation tool, the description covers the main operational aspects: action, response, error, and permission requirement. However, it lacks an explicit note on when to use it vs. list_sitemaps or how host_id is used, though the schema fills that gap. Overall, sufficiently complete for invocation.

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?

Input schema has 100% coverage with descriptions for both parameters. The tool description itself does not add parameter-specific details, so the baseline of 3 applies because the schema already fully documents url and host_id semantics.

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?

The description clearly states the action ('Добавляет sitemap-файл вручную') and the resource (sitemap file). It distinguishes itself from siblings like list_sitemaps (which lists) and add_site (which adds a site), even referencing the Webmaster interface section as an analogy.

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?

The description implies usage context (manual addition, requires confirmed rights) but does not explicitly state when to use this tool versus alternatives. No reference to sibling tools like list_sitemaps or automatic sitemap detection is given, so guidance is only implied.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/askads/mcp-yandex-webmaster'

If you have feedback or need assistance with the MCP directory API, please join our Discord server