Skip to main content
Glama

add_site

Add or update a website configuration with live validation of API contract and token. Supports Yandex.Webmaster host IDs, Metrika counters, and hidden tags for excluded topics.

Instructions

Добавить/обновить сайт в конфиге (существующий alias перезаписывается — так ротируется токен). Валидирует живьём: GET /api/articles/list (сайт реализует контракт) и, если передан token, GET /api/account/mcp-tokens (токен жив). Невалидное НЕ сохраняется. Первый сайт становится дефолтным. yandexHost принимает и URL, и host_id Вебмастера (https:site.ru:443 — двоеточия не опечатка), нормализуется сам. hiddenTags — темы, скрытые на самом сайте (напр. VPN на zaytsv.ru из-за РКН): исключаются из перелинковки/аудитов.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aliasYesКороткое имя сайта, напр. zaytsv
tokenNoPAT вида zmcp_... с <baseUrl>/articles/api. Можно опустить — read-only тулы работают без него
baseUrlYeshttps://site.ru (без хвостового /)
defaultNoСделать сайт дефолтным
hiddenTagsNoТеги/темы, скрытые на сайте (статьи отдаются API, но 404 для посетителей). Для zaytsv.ru: ["vpn","vless"] — фронт прячет обе темы
yandexHostNohost_id Яндекс.Вебмастера или просто URL — для скилла seo-growth-loop
articlePathNoПубличный префикс статей, по умолчанию /articles
metrikaCounterNoНомер счётчика Метрики (для скиллов)
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses overwriting, live validation, invalid not saved, first becomes default, yandexHost normalization, hiddenTags exclusion. This is thorough, though could mention side effects like token rotation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is efficient, front-loading purpose and key behaviors. However, it's a single dense paragraph; breaking into sentences would improve readability. No wasted words.

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

Completeness3/5

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

Given 8 parameters and no output schema, description covers validation, default behavior, and param nuances well. But it lacks details on return value or confirmation message, which would be helpful for an agent invoking the tool.

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 description coverage is 100%, so baseline is 3. Description adds value by explaining yandexHost accepts URL or host_id, hiddenTags meaning, and token optionality for read-only. This enhances understanding beyond the schema.

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?

Description clearly states 'Add/update a site in the config', specifies verb and resource, and distinguishes from sibling tools by explaining overwrite, validation, and default behavior. No other sibling tool adds sites.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Description provides clear context for when to use (to add or update a site), including validation rules and token requirement. However, it does not explicitly mention when not to use or list alternatives, though sibling tools are mostly unrelated.

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/skiddgoddamn/seo-factory-mcp'

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