После этой страницы вы сможете подключить любой MCP-клиент к CountViews, чтобы он видел инструменты бренда, вызывал их и понимал, как ими пользоваться. MCP — одна из трёх дверей к одному реестру инструментов; REST и POST /call ведут к тем же инструментам.
Инструменты бренда, доступные вашему ключу (см. ниже).
instructions
Отправляются в initialize. Составлены под этот ключ: только его инструменты, его мир (тестовый или боевой), правила, основные пути. Не длиннее 6 КБ.
Prompts
launch_campaign, review_clips, end_campaign, fund_and_verify_account (только боевые ключи), try_in_test_space (только тестовые ключи). Подсказка предлагается, только если в списке ключа есть все нужные ей инструменты.
Resources
countviews://guide (инструкции, примеры аргументов и сценарий передачи человеку) и countviews://errors (все коды ошибок и что делать).
В каждом результате инструмента есть _meta.space (test или live). Неудачный вызов — это isError: true с текстом code: message, затем Next: …, и _meta.error с code, status, retryAfterSec и next.
Список зависит от прав ключа и от его мира. Ключ никогда не видит больше 20 инструментов, а тестовый ключ видит не тот набор, что боевой (пять инструментов sandbox_* есть только в тестовом пространстве; банковские инструменты и инструменты компании — только у боевых ключей). Вызов инструмента, которого у ключа нет, — это ошибка инструмента с названием недостающего права или аналога из другого мира.
У инструментов есть аннотации MCP, по которым клиент понимает, когда сначала спросить человека:
Аннотация
Инструменты
readOnlyHint: true
Все чтения: whoami, campaigns_list, campaign_report, review_queue, events_list, …
readOnlyHint: false, idempotentHint: true
Все записи.
destructiveHint: true
Записи, которые тратят деньги или необратимы: campaign_activate, campaign_budget_add, campaign_end, campaign_terms_update, campaign_draft_discard, sandbox_reset.
29 инструментов
Названия и описания инструментов остаются английскими: так их видит агент.
Who this token is
whoami
Returns which brand workspace this token belongs to, the token's name and the scopes it holds, and — in one answer — what stands between this brand and its first campaign.
Право: любой ключ
читает
Полное описание
Returns which brand workspace this token belongs to, the token's name and the scopes it holds, and — in one answer — what stands between this brand and its first campaign. limits: calls per minute, page sizes, and the key's own limits — what it may launch without asking a person (autoActivateUpTo, dailyCap, monthlyCap; null means none, so every launch waits for a person) and how much of each it has used, and how many clips it may decide in a day. A key cannot change its limits: a person does. readiness: whether the brand can launch (canLaunch, blockers, next), and the company on record — its state (missing, submitted, verified), whether publishing is gated on it (gate), missing (what is still to send, in words), details (legal name, country, registration number, site and logo) and countries (where a company may be registered); company_set sets it. Call it first when you do not know what the token can do; a tool whose scope is missing from the list will be refused. It needs no scope and changes nothing.
Первое, о чём стоит попросить агента, — whoami: он вернёт кабинет, права, лимиты, то, что стоит между брендом и первой кампанией (readiness), и guide.nextBestAction.