Skip to main content
Glama
askads

Yandex Webmaster MCP

Завершить подключение Вебмастера

finish_login
Idempotent

Exchange the one-time confirmation code from start_login for a secure access token, save it to a protected file, and verify it with a live request. Once verified, all other tools work immediately.

Instructions

Второй шаг подключения: обменивает код подтверждения из start_login на токен доступа, сохраняет его в файл только для владельца (0600) и сразу проверяет живым запросом к Вебмастеру. После успеха остальные инструменты работают немедленно — перезапускать клиент не нужно. Код одноразовый и живёт 10 минут: если он не принят, вызовите start_login заново и попросите свежий.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesКод подтверждения, который Яндекс показал пользователю после входа.
Behavior1/5

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

The description discloses side effects (saving a file with 0600 permissions) and code validity (single-use, 10 minutes), adding context beyond annotations. However, it contradicts the idempotentHint: true annotation because a single-use code makes repeated calls with the same argument non-idempotent, conflicting with the annotation's implication of safe repetition.

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?

The description is three concise sentences, front-loaded with the step context ('Второй шаг подключения'), and contains no redundancy. Every sentence adds value, covering purpose, side effects, and failure handling.

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?

Given the simple tool with one parameter and no output schema, the description covers the essential flow, side effects (file save and verification), and failure handling. It could more explicitly mention the return value or how success/failure is signaled, but overall it provides sufficient context for correct usage.

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?

The schema already describes the code parameter, but the description adds critical meaning: it must come from start_login, is one-time, and expires in 10 minutes. This extra context guides the agent on valid input beyond the schema's basic description.

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 explicitly states the tool's function: it exchanges a confirmation code from start_login for an access token, saves it with 0600 permissions, and verifies it with a live request. This clearly distinguishes it from sibling tools like start_login (first step) and logout (opposite).

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?

It provides explicit usage context: it is the second step after start_login, and if the code is not accepted, it instructs to call start_login again for a fresh code. It also notes that after success, other tools work immediately without restart, giving clear when-to-use guidance.

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