Skip to main content
Glama

peer-agents-mcp

MCP-сервер, который позволяет другим ИИ-инструментам для кодинга (Codex, Claude, Cursor и т. д.) вызывать Grok CLI и Antigravity CLI в качестве коллег-ревьюеров и соавторов.

What it does

Этот сервер предоставляет локальные CLI grok и agy (Antigravity) через чистый интерфейс Model Context Protocol (MCP).

Любой агент, поддерживающий MCP, теперь может:

  • Отправлять изменения кода, планы, ошибки или вопросы в Grok или Antigravity

  • Получать структурированную обратную связь от коллег

  • Запускать многоходовые сессии ревью/отладки/планирования с памятью сессии

  • Получать независимые мнения, запуская оба CLI на одной и той же задаче

Основной агент (Codex, Claude и т. д.) сохраняет контроль. Он просто делегирует конкретные задачи этим коллегам, когда хочет получить второе (или иное) мнение.

Related MCP server: xAI Grok MCP Bridge

Core idea

Вместо того чтобы одна модель делала всё, ваш основной агент кодинга может использовать Grok и Antigravity как коллег:

  • Grok — для большинства задач кодинга (ревью, планирование, отладка, критика реализации)

  • Antigravity — для больших контекстов, общих знаний или мультимодальных задач

Умная маршрутизация происходит автоматически на основе типа запроса.

Available tools

Tool

Purpose

Routed to

peer_review_diff

Ревью unified diff или патча

Grok (обычно)

peer_plan

Создать план реализации

Grok

peer_debug

Диагностировать сбои по логам/стек-трейсам

Grok

peer_verify

Проверить вывод тестов/сборки на безопасность

Grok

peer_ask

Общие вопросы и ответы с опорой на контекст

Antigravity

peer_debate

Независимо сравнить План A и План B

Grok

peer_turn

Продолжить многоходовую сессию с коллегой

Тот же коллега

peer_turn_async

Долгий последующий ход (фоновая задача)

Тот же коллега

peer_implement_async

Передача реализации в Grok с холодного старта

Grok

peer_review_diff_async

Долгое ревью diff (фоновая задача)

Grok

peer_debug_async

Долгая передача отладки (фоновая задача)

Grok

peer_job_status

Опрос фоновой задачи (включает progress)

peer_job_cancel

Отменить фоновую задачу

peer_jobs_gc

Сборка мусора старых завершённых задач

peer_compare

Низкоуровневый параллельный вызов обоих CLI

Оба

Дополнительные инструменты сессий: peer_summarize, peer_transcript, peer_list_sessions, peer_reset и peer_health.

Все маршрутизируемые инструменты принимают полное содержимое файлов через параметр files и diff через diff. Никогда не отправляйте сводки — отправляйте фактическое содержимое.

When to use sync vs async

Синхронные ревью Grok обычных diff обычно занимают 3–6 минут. Тайм-аут дочернего процесса Grok — GROK_TURN_TIMEOUT_MS (по умолчанию 6 минут). Увеличение тайм-аута дочернего процесса не увеличивает время ожидания MCP-клиента хоста. Если хост сдаётся первым, Codex никогда не увидит durationAdvisory / continuationHint / nativeSessionId в ответе этого инструмента — используйте *_async.

Сервер не преобразует синхронные инструменты в задачи незаметно.

Используйте sync (peer_review_diff, peer_plan, peer_turn, …)

Используйте async (*_async + peer_job_status)

Обычные diff / планы, которые умещаются в ~80k символов промпта

~80k символов (~20k токенов), близко к лимиту 120k или обрезано

По умолчанию / средний риск

risk_level=high или focus=security (--effort high)

Последующее «перепроверь этот один файл»

Передача реализации (peer_implement_async)

Хост может ждать ~6 минут

Тайм-аут MCP хоста ≤ 2–3 минут; огромные логи; отладка с несколькими попытками

Синхронные результаты Grok/маршрутизируемых инструментов могут включать дополнительный durationAdvisory, когда промпт был обрезан, расчётное количество токенов превышает ~20k (~80k символов), задан risk_level=high / focus=security или была израсходована заглушка авто-продолжения. Пример:

{
  "durationAdvisory": "Grok sync reviews of this size often take 3–6 minutes. If your MCP client times out sooner, use peer_review_diff_async / peer_turn_async and poll peer_job_status."
}

Обрезанный peer_review_diff всё равно выполняется синхронно (инструкция tools-against-cwd добавляется в начало). В следующий раз предпочитайте peer_review_diff_async; не воспринимайте обрезание как жёсткий отказ.

Long-running async jobs

Крупные передачи реализации могут превысить синхронный тайм-аут инструмента MCP-клиента. Используйте асинхронный путь вместо блокировки на peer_turn:

  1. Начните работу с peer_implement_async (холодный старт) или peer_turn_async (существующая сессия).

  2. Продолжайте локальную работу, пока коллега работает.

  3. Опрашивайте peer_job_status каждые 30–60 секунд (избегайте агрессивного опроса).

  4. Пока status равен running, необязательный progress может включать textSnippet, lastThought и eventCount (Grok streaming-json / agy stream-json).

  5. Когда status равен succeeded, прочитайте result и при необходимости продолжите с помощью peer_turn.

  6. Используйте peer_job_cancel, чтобы остановить поставленную в очередь/выполняющуюся задачу, принадлежащую этому MCP-процессу.

Терминальные статусы: succeeded, failed, timed_out, cancelled, orphaned.

Идемпотентность: повторные попытки с тем же idempotency_key возвращают ту же задачу (выполняющуюся или с закреплённым терминальным статусом). После timed_out / cancelled / failed используйте новый ключ для повторной попытки.

Задачи и завершённые результаты хранятся в ~/.peer-agents/jobs/. Живые процессы провайдеров не переживают перезапуск MCP-сервера; нетерминальные задачи помечаются как orphaned при гидратации (если только сессия уже не зафиксировала операцию — в этом случае она восстанавливается как succeeded).

Терминальные задачи старше 7 дней удаляются сборщиком мусора при гидратации (переопределите с помощью PEER_AGENTS_JOB_GC_MAX_AGE_MS) или через peer_jobs_gc.

Асинхронные задачи используют отдельный тайм-аут, отличный от синхронных ходов:

  • PEER_AGENTS_JOB_TIMEOUT_MS — по умолчанию 30 минут (1800000)

  • GROK_JOB_TIMEOUT_MS / ANTIGRAVITY_JOB_TIMEOUT_MS — необязательные переопределения для конкретного провайдера

  • PEER_AGENTS_JOB_GC_MAX_AGE_MS — срок хранения терминальных задач (по умолчанию 7 дней)

  • PEER_AGENTS_GROK_TRANSPORTheadless (по умолчанию) или acp для тёплого пула процессов

  • PEER_AGENTS_GROK_ACP_MAX_CLIENTS — максимальное количество одновременных ACP-процессов (по умолчанию 4)

  • PEER_AGENTS_GROK_ACP_IDLE_MS — переработка простоя ACP между ходами (по умолчанию max(5 min, GROK_TURN_TIMEOUT_MS + 60s)). Простой — это не время жизни задачи; выполняющийся session/prompt игнорирует его.

Держите процесс MCP-сервера запущенным в течение всего времени выполнения задачи.

Grok transport: headless vs ACP

headless (default)

acp

Вызов

grok --prompt-file каждый ход

Долгоживущий grok agent stdio для каждой cwd

Задержка

Холодный старт каждый ход

Тёплый процесс; многоходовые сессии переиспользуют процесс + сессию

Возможности CLI

Sandbox, worktree, созданный --session-id; нет --json-schema в цикле инструментов; всегда --output-format streaming-json

Подмножество (--always-approve); структурированные результаты через промпт. Простой — это страховка между ходами, а не время жизни задачи.

Включение

(по умолчанию)

PEER_AGENTS_GROK_TRANSPORT=acp

Предпочитайте headless для разовых ревью со строгой песочницей. Предпочитайте acp, когда вы запускаете много последующих peer_turn и хотите снизить стоимость запуска процессов.

How other agents use it

Codex, Claude или любой другой MCP-клиент подключается к этому серверу через stdio. После подключения агент может вызывать инструменты для работы с коллегами точно так же, как любой другой инструмент.

Типичный процесс:

  1. Ваш агент подготавливает diff, лог ошибок или описание задачи.

  2. Он вызывает peer_review_diff, peer_plan, peer_debug и т. д.

  3. Сервер запускает соответствующий CLI (или CLI) в headless-режиме.

  4. Ответ коллеги возвращается с sessionId.

  5. Ваш агент может позже продолжить с помощью peer_turn, используя этот sessionId.

Это даёт вам постоянные, контекстные диалоги с коллегами, без необходимости основному агенту самостоятельно управлять вызовом CLI.

Prerequisites

  • Node.js ≥ 18

  • CLI grok (или установите GROK_COMMAND)

  • CLI agy (Antigravity, или установите ANTIGRAVITY_COMMAND)

Оба CLI должны быть аутентифицированы и работать на вашей машине.

Installation & usage

git clone https://github.com/Rakeen70210/peer-agents-mcp
cd peer-agents-mcp
npm install
npm run build

Запуск напрямую:

node dist/index.js

MCP client configuration

Добавьте его в конфигурацию MCP-серверов вашего клиента (пример для типичной настройки stdio):

{
  "mcpServers": {
    "peer-agents": {
      "command": "node",
      "args": ["/absolute/path/to/peer-agents-mcp/dist/index.js"],
      "env": {
        "GROK_COMMAND": "/home/you/.grok/bin/grok",
        "ANTIGRAVITY_COMMAND": "/home/you/.local/bin/agy"
      }
    }
  }
}

Environment variables

  • GROK_COMMAND — путь к бинарнику grok (по умолчанию: grok)

  • ANTIGRAVITY_COMMAND — путь к бинарнику agy (по умолчанию: agy)

  • GROK_ARGS / ANTIGRAVITY_ARGS — JSON-массив дополнительных аргументов CLI

  • ANTIGRAVITY_CONVERSATIONS_DIR — переопределение хранилища диалогов agy, используемого как запасной вариант для захвата session-id (по умолчанию: ~/.gemini/antigravity-cli/conversations)

  • PEER_AGENTS_WORKTREE_DIR — родительская директория для DIY git worktree Grok (по умолчанию: ~/.peer-agents/worktrees)

  • PEER_AGENTS_STORAGE_DIR — где сохраняются сессии (по умолчанию: ~/.peer-agents/sessions)

  • PEER_AGENTS_ENABLED_PROVIDERS — список-белый список CLI коллег через запятую (grok, antigravity). Используйте только antigravity, когда хост — Grok, чтобы коллеги никогда не возвращались в Grok.

  • PEER_AGENTS_DISABLED_PROVIDERS — список-чёрный список через запятую (игнорируется, если задан PEER_AGENTS_ENABLED_PROVIDERS)

  • GROK_TURN_TIMEOUT_MS — синхронный тайм-аут Grok для headless и ACP (по умолчанию 6 минут / 360000). Единственный источник, кроме timeoutMs в вызове. Grok не читает PEER_AGENTS_TURN_TIMEOUT_MS.

  • PEER_AGENTS_TURN_TIMEOUT_MS — только запасной синхронный тайм-аут Antigravity (по умолчанию 300 с). Не ограничивает Grok. Сбросьте его или задайте GROK_TURN_TIMEOUT_MS явно. Операторы, которые хотят старый тайм-аут Grok 120 с, должны задать GROK_TURN_TIMEOUT_MS=120000.

  • ANTIGRAVITY_TURN_TIMEOUT_MS — необязательное переопределение синхронного тайм-аута Antigravity (по умолчанию 300 с)

  • PEER_AGENTS_GROK_ACP_IDLE_MS — переработка простоя ACP между ходами (по умолчанию max(5 min, GROK_TURN_TIMEOUT_MS + 60s)). Выполняющийся session/prompt игнорирует простой (promptDepth). Не время жизни 30-минутной задачи.

  • PEER_AGENTS_JOB_TIMEOUT_MS — тайм-аут асинхронной задачи (по умолчанию 30 минут)

  • GROK_JOB_TIMEOUT_MS / ANTIGRAVITY_JOB_TIMEOUT_MS — необязательные асинхронные переопределения для конкретного провайдера

  • PEER_AGENTS_MAX_PROMPT_CHARS — предохранительный лимит размера промпта (по умолчанию 120000); при обрезании в начало добавляется инструкция tools-against-cwd, и синхронный ход продолжается

Multi-turn peer sessions

Каждый маршрутизируемый вызов возвращает sessionId. Используйте peer_turn, чтобы продолжить диалог:

  • Сообщите коллеге, что изменилось

  • Прикрепите новые diff или файлы

  • Попросите его пересмотреть или проверить ваши исправления

Сессии сохраняются на диск, поэтому они переживают перезапуски MCP-сервера.

Многоходовые ходы Grok и Antigravity предпочитают нативное возобновление CLI, когда идентификатор диалога/сессии был захвачен на первом ходу; в противном случае MCP восстанавливает недавний транскрипт в промпте.

Grok CLI integration (1.0.x+)

Ходы Grok с коллегами используют современные headless-флаги под капотом (вызывающие их не передают):

Аспект

Поведение

Большие промпты

Всегда --prompt-file (позволяет избежать ограничений argv)

Многоходовые диалоги

--resume <nativeSessionId>, когда доступен; при холодном старте создаётся --session-id перед запуском; запасной вариант — восстановление из транскрипта MCP

Ревьюер / критик

--sandbox read-only, --always-approve, запрет инструментов редактирования, без веб-поиска, --no-plan, --no-subagents

Планировщик

--sandbox read-only, --permission-mode plan, --always-approve

Исполнитель

--sandbox workspace, --always-approve

Разрешения

Ревьюер/критик/планировщик используют --always-approve (ревьюер никогда не использует --permission-mode default), чтобы дочерний процесс MCP без TTY не ждал клика. Сохраняйте read-only песочницу, --disallowed-tools search_replace,write и --deny для деструктивных bash-команд.

peer_implement_async

Изоляция git worktree по умолчанию через git worktree add + --cwd (use_worktree: false для отказа). Headless-режим Grok 1.0 игнорирует --worktree.

Замечания ревью

Разбор JSON замечаний из итогового текста по принципу best-effort; обычный текст также считается валидным ревью. Headless-режим Grok не передаёт --json-schema (этот флаг прерывает цикл инструментов на 1.0.5).

Риск / безопасность

Повышенный --effort; дополнительная самопроверка через --rules (Grok 1.0 удалил --check). Высокий effort — это повод для durationAdvisory / *_async, а не для отказа от --effort high.

Специализированные агенты

Готовый --agent для ревью безопасности / планирования архитектуры

Синхронный + асинхронный вывод

Всегда --output-format streaming-json в headless-режиме Grok (запасной вариант json-envelope, если CLI по-прежнему выдаёт один объект). progress в peer_job_status.

Пул ACP (opt-in)

PEER_AGENTS_GROK_TRANSPORT=acp — повторное использование тёплых процессов. Простой — это запасной механизм между ходами, а не на время жизни задания; выполняющийся session/prompt его игнорирует.

Телеметрия расходов

metrics в результатах (usage, num_turns, stopReason, стоимость при наличии)

Интеграция с CLI Antigravity (agy 1.1.8+)

Ходы пира Antigravity под капотом используют print-режим (вызывающий код не передаёт эти флаги):

Аспект

Поведение

Вызов

agy -p … --print-timeout … --dangerously-skip-permissions --output-format json --disable-slash-commands

Многоходовые диалоги

--conversation <id> из json-поля conversation_id (снимок каталога *.db — только запасной вариант)

Замечания ревью

--json-schema — структурированные замечания для ревьюера/критика; structured_output сопоставляется с structured

Ревьюер / критик

--sandbox

Планировщик

--sandbox --mode plan

Исполнитель

--mode accept-edits

Риск

--effort из той же карты риск/сложность, что и у Grok

Рабочая область

--add-dir <cwd>, когда задан путь к репозиторию

Агент

Опциональный --agent, если передан

Slash-команды/навыки

Всегда --disable-slash-commands, чтобы промпты пира не могли разворачивать /commands

Асинхронный прогресс

--output-format stream-json для асинхронных заданий + progress в peer_job_status

Работоспособность

Предпочитайте agy models; запасной вариант — короткий ход pong

Телеметрия расходов

metrics из json-конверта (usage, num_turns)

В agy по-прежнему нет ни worktree, ни --prompt-file, ни ACP-транспорта. Синхронные ходы остаются на --output-format json; потоковый вывод — только у фоновых заданий.

Заметки по проектированию

  • Сервер никогда не изменяет ваш репозиторий сам — он лишь запускает уже имеющиеся у вас CLI.

  • Пользовательские сообщения в транскриптах сессий помечаются как исходящие от вызывающей стороны (обычно «Codex»).

  • Поддерживаются ключи идемпотентности, поэтому повторные вызовы с одним и тем же ключом безопасны.

  • Подсказки о качестве контекста возвращаются, когда входные данные выглядят слишком скудными (отсутствующие файлы, диффы и т. д.).

  • Передача задач на реализацию по умолчанию использует изолированный git worktree (--cwd в него), чтобы пир не затирал грязное основное дерево.

Лицензия

MIT (или как указано в репозитории).

Available Tools

13 tools
peer_askC

Before calling: read relevant source files and attach full contents via files. Pass complete diffs/logs — never prose summaries. Set task with goals, affected behavior, and specific concerns. General knowledge or grounded Q&A — routes to Antigravity.

ParametersJSON Schema
NameRequiredDescriptionDefault
questionYesRequired. The decision or question, plus what constraints and tradeoffs the answer must address.
repo_pathYesAbsolute path to the repository root the peer should work in (e.g. /home/user/my-app).
contextNoBackground the peer needs: prior decisions, relevant code paths, docs links, or constraints.
filesNoChanged source files and binary attachments (screenshots, PDFs). Use correct file extensions for images/PDFs and pass base64 or data-URI content.
taskNoHuman-readable session label: what you are trying to achieve, affected behavior, and specific concerns for the peer.
idempotency_keyYesStable key for this operation (e.g. review-auth-jwt-1). Reuse the same key when retrying after timeout.

TDQS

C2.7/5.0
Behavior3/5

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

With no annotations, the description carries full burden. It discloses the routing behavior to Antigravity and mentions automatic staging of binaries. However, it omits details on mutation, authentication, rate limits, or side effects beyond the routing.

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 description is two sentences but dense and run-on. It mixes instructions, conditions, and routing info in a stream-like manner. Could be better organized with bullet points or clearer separation of purpose vs. usage.

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

Completeness2/5

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

Given 6 parameters, no output schema, and complex routing behavior, the description should explain what the tool returns or the outcome. It lacks any mention of return value, response format, or post-call state, leaving the agent uncertain about what to expect.

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?

Schema description coverage is 100%, so the schema already explains all parameters. The description adds minimal extra meaning (e.g., 'Binary attachments are staged to disk...' in the files parameter is already covered by schema). Baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description focuses on pre-call instructions rather than stating the tool's purpose. It vaguely mentions 'General knowledge or grounded Q&A — routes to Antigravity', but the primary verb and resource are unclear. It does not effectively distinguish from sibling tools like peer_debate or peer_plan.

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 provides explicit before-calling steps (read files, attach content, set task) and mentions routing to Antigravity for certain queries. However, it lacks a clear 'when to use' vs 'when not to use' and does not reference specific sibling tools as alternatives.

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

peer_compareA

Before calling: read relevant source files and attach full contents via files. Pass complete diffs/logs — never prose summaries. Set task with goals, affected behavior, and specific concerns. Low-level dual-CLI comparison (prefer phase tools for routing).

ParametersJSON Schema
NameRequiredDescriptionDefault
messageYesExact question both peers must answer independently.
repo_pathYesAbsolute path to the repository root the peer should work in (e.g. /home/user/my-app).
taskYesShort label for this comparison session.
providersNo
diffNoFull unified diff or patch output. Never substitute a prose summary for the actual diff.
filesNoChanged source files and binary attachments (screenshots, PDFs). Use correct file extensions for images/PDFs and pass base64 or data-URI content.
modeNo
systemNo
parallelNo
idempotency_keyYesStable key for this operation (e.g. review-auth-jwt-1). Reuse the same key when retrying after timeout.

TDQS

A3.6/5.0
Behavior2/5

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

No annotations are provided, so the description bears full responsibility. It mentions 'dual-CLI comparison' but does not explain the internal behavior, such as whether it modifies state, runs external processes, or returns results. The focus is on input preparation rather than tool effects.

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 a few short sentences with clear front-loading of critical upfront instructions. Every sentence adds value, with no redundant or verbose phrases.

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

Completeness2/5

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

With 10 parameters, no output schema, and no annotations, the description lacks detail on return values, completion behavior, or what happens after invocation. It explains preparation well but omits post-call context, leaving the agent unsure of the tool's overall operation.

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?

Schema coverage is 60%, and the description adds some context, e.g., for 'files' it says 'use correct file extensions...pass base64 or data-URI content.' However, it largely reiterates schema descriptions for parameters like message and repo_path, not adding substantial new 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 description states it is a 'low-level dual-CLI comparison' and instructs to attach files and diffs. It clearly indicates a comparison function, distinguishing it from sibling tools like peer_ask or peer_debate, but does not fully articulate the specific verb-resource relationship.

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?

The description provides explicit instructions: 'Before calling: read relevant source files and attach full contents via files. Pass complete diffs/logs — never prose summaries.' It also advises to 'prefer phase tools for routing,' guiding when not to use this tool. This gives clear usage context and alternatives.

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

peer_debateA

Before calling: read relevant source files and attach full contents via files. Pass complete diffs/logs — never prose summaries. Set task with goals, affected behavior, and specific concerns. Independently compare Plan A vs Plan B without cross-contamination.

ParametersJSON Schema
NameRequiredDescriptionDefault
taskYesWhat decision this debate must resolve and what success looks like.
plan_aYesFull Plan A: steps, tradeoffs, risks, and verification approach.
plan_bYesFull Plan B: steps, tradeoffs, risks, and verification approach.
repo_pathYesAbsolute path to the repository root the peer should work in (e.g. /home/user/my-app).
risk_levelNoUse high for auth, payments, migrations, concurrency, and public API changes.
idempotency_keyYesStable key for this operation (e.g. review-auth-jwt-1). Reuse the same key when retrying after timeout.

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden for behavioral disclosure. It explains the need for independent comparison and idempotency key for retries, but does not describe side effects, output format, or behavior under error conditions.

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?

The description is concise (4 sentences) and front-loaded with 'Before calling:', which is clear. However, it packs multiple instructions into a single paragraph, slightly reducing readability.

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 no output schema, the description does not explain what the tool returns or how results are presented. It covers preparation well but lacks information on the tool's output, which is needed for complete understanding.

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%, baseline 3. The description adds meaning by instructing how to use risk_level (e.g., high for auth, payments) and advising on setting task with specific concerns. This goes beyond the schema descriptions.

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 description clearly states the tool is for independently comparing Plan A vs Plan B, which aligns with the tool name 'peer_debate'. It specifies the input requirements (files, diffs, task) but does not explicitly distinguish from sibling tools like peer_compare.

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 provides prerequisites and instructions for preparing inputs (read files, attach contents, set task with goals). However, it lacks explicit guidance on when to use this tool versus alternatives (e.g., peer_compare) and does not mention when not to use it.

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

peer_debugA

Before calling: read relevant source files and attach full contents via files. Pass complete diffs/logs — never prose summaries. Set task with goals, affected behavior, and specific concerns. Route a debugging request after failures.

ParametersJSON Schema
NameRequiredDescriptionDefault
error_logYesRequired. Full stderr, stack trace, assertion text, and failing test output — not a one-line summary.
repo_pathYesAbsolute path to the repository root the peer should work in (e.g. /home/user/my-app).
attempted_fixesNoEverything already tried and why each failed. Required when failed_attempts > 0.
failed_attemptsNoHow many fix attempts have already failed on this bug.
diffNoFull unified diff or patch output. Never substitute a prose summary for the actual diff.
filesNoChanged source files and binary attachments (screenshots, PDFs). Use correct file extensions for images/PDFs and pass base64 or data-URI content.
taskNoHuman-readable session label: what you are trying to achieve, affected behavior, and specific concerns for the peer.
idempotency_keyYesStable key for this operation (e.g. review-auth-jwt-1). Reuse the same key when retrying after timeout.

TDQS

A3.8/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of disclosing behavioral traits. It does not mention whether the tool is read-only or destructive, what side effects occur (e.g., file stageing), or any required permissions. The only hint is the presence of an idempotency key, but its significance is not explained.

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?

The description is structured with clear guidance starting with 'Before calling', and each sentence serves a purpose. It is not overly verbose, though it could be slightly more concise by reducing repetitions (e.g., 'Pass complete diffs/logs' and later 'Full unified diff or patch output'). Overall, it is well-organized and front-loaded.

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?

For a tool with 8 parameters and no output schema, the description covers the input side well but fails to explain what the tool returns or how to interpret the response. It does not address expected behavior after routing the request (e.g., synchronous vs. asynchronous, result format). This leaves the agent without a complete picture.

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 input schema covers 100% of parameters with descriptions, so the baseline is 3. The description adds valuable emphasis on how parameters should be used (e.g., 'Pass complete diffs/logs — never prose summaries', 'Set task with goals, affected behavior...'), which goes beyond the schema by providing behavioral instructions that improve correct invocation.

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 tool is for routing a debugging request after failures, and it distinguishes itself from sibling tools like peer_ask or peer_plan by specifying the context of debugging. The verb 'route' combined with 'debugging request' defines a specific action and resource.

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?

The description explicitly tells the user when to use the tool ('after failures') and provides preparatory instructions ('Before calling: read relevant source files...'). It does not explicitly state when not to use it or list alternatives, but the context is clear enough for an agent to infer appropriate usage.

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

peer_healthA

Check whether Grok and Antigravity CLIs are responsive

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description must disclose behavioral traits. It states the action (check responsiveness) but lacks details on side effects (presumably none), required permissions, or output format. The verb 'check' implies read-only, but the description does not explicitly confirm safety or what happens on failure.

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?

Single sentence with no filler. Every word contributes to the purpose. Front-loaded with the key action and target.

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 zero-parameter, no-output-schema tool, the description covers the essential behavior. However, it could briefly mention how the result is returned (e.g., boolean status) to avoid ambiguity. Still, the simplicity makes it mostly complete.

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?

Input schema has zero parameters (schema coverage 100% vacuously). Description adds no parameter info because none exist. Baseline for 0 parameters is 4, and the description does not need to elaborate further.

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 the verb 'Check' and the specific resources 'Grok and Antigravity CLIs', making the tool's purpose immediately clear. It distinguishes itself from sibling tools (e.g., peer_ask, peer_debate) which involve querying or discussing, while this is a simple health check.

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?

Description implies usage (when you need to check CLI responsiveness) but provides no explicit guidance on when to use alternatives or when not to use this tool. Given the many sibling tools, some contextual tips would help, but the use case is straightforward.

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

peer_list_sessionsB

List persisted peer sessions, optionally filtered by repo path

ParametersJSON Schema
NameRequiredDescriptionDefault
repo_pathNo

TDQS

B3.1/5.0
Behavior2/5

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

No annotations provided; description adds minimal behavioral context beyond 'List' implying read-only. Does not disclose auth requirements, rate limits, or any side effects, though listing is inherently low-risk.

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?

Single sentence, 10 words, front-loaded with verb and resource. No wasted text; everything earns its place.

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

Completeness2/5

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

Given no annotations, no output schema, and only one parameter, the description omits return format, pagination, or any additional context about sessions. Incomplete for a tool with no other structured context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description partially compensates by stating 'repo_path' is an optional filter, but does not explain what the path refers to (e.g., local filesystem vs. remote repository).

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 the action ('List') and the resource ('persisted peer sessions') with a specific optional filter ('by repo path'), which distinguishes it from sibling tools like peer_ask or peer_reset.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives, such as checking existing sessions before starting a new one or debugging. Missing when-not-to-use scenarios or prerequisites.

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

peer_planA

Before calling: read relevant source files and attach full contents via files. Pass complete diffs/logs — never prose summaries. Set task with goals, affected behavior, and specific concerns. Route an implementation planning request to the best peer model(s).

ParametersJSON Schema
NameRequiredDescriptionDefault
taskYesRequired. Goal, success criteria, affected modules, and what 'done' looks like.
repo_pathYesAbsolute path to the repository root the peer should work in (e.g. /home/user/my-app).
constraintsNoHard limits: API compatibility, performance budgets, forbidden approaches, deadlines, out-of-scope.
repo_summaryNoHow the repo is structured today — key modules, patterns, and entry points relevant to this task.
risk_levelNoUse high for auth, payments, migrations, concurrency, and public API changes.
complexityNocomplex when the change spans multiple modules, data paths, or deployment steps.
filesNoChanged source files and binary attachments (screenshots, PDFs). Use correct file extensions for images/PDFs and pass base64 or data-URI content.
idempotency_keyYesStable key for this operation (e.g. review-auth-jwt-1). Reuse the same key when retrying after timeout.

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries full burden. It discloses only that the tool routes to a peer model, but lacks details on side effects, permissions, rate limits, return values, or whether state is modified. This is insufficient for a tool with 8 parameters and no output schema.

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?

Three sentences, concise and efficient. The first sentence sets a precondition, the second gives guidance, and the third states the purpose. However, the core purpose is last, not front-loaded.

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

Completeness2/5

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

Given 8 parameters, 3 required, and no output schema, the description is brief and does not explain return values, error handling, or what happens after routing. It lacks completeness for a planning tool that delegates to another model.

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?

Schema coverage is 100% with descriptions. The description adds context for `files` (attach full contents, never prose summaries) and `task` (goals, affected behavior), but does not mention other parameters like `repo_path`, `constraints`, `repo_summary`, `risk_level`, `complexity`, or `idempotency_key`. It adds moderate value beyond the schema.

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 description clearly states this tool routes an implementation planning request to the best peer model, using verbs like 'Route' and 'planning request'. It distinguishes from sibling tools that focus on asking, debating, or debugging, though it doesn't explicitly differentiate.

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?

The description provides explicit pre-call instructions: read source files, attach full contents via `files`, pass diffs/logs, and set `task` with goals. It also prohibits prose summaries, offering clear guidance on proper usage.

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

peer_resetC

Clear a session transcript or delete the session entirely

ParametersJSON Schema
NameRequiredDescriptionDefault
session_idYes
idempotency_keyYesStable key for this operation (e.g. review-auth-jwt-1). Reuse the same key when retrying after timeout.
expected_versionNo
keep_metadataNo

TDQS

C2/5.0
Behavior2/5

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

Destructive operation is implied but no details on irreversibility, auth requirements, or what exactly gets cleared/deleted. No annotations to supplement.

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

Conciseness2/5

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

Too short and vague to convey essential context. Single sentence fails to explain tool behavior sufficiently.

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

Completeness1/5

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

Missing output schema, no annotations, 4 parameters mostly undocumented; description incomplete for safe effective use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 25% (only idempotency_key described). Description adds no parameter meaning; does not compensate for missing schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description states it clears or deletes a session, but doesn't specify which condition triggers which action. It distinguishes from siblings as reset/delete operation.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus other peer tools, no context about prerequisites or alternatives.

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

peer_review_diffB

Before calling: read relevant source files and attach full contents via files. Pass complete diffs/logs — never prose summaries. Set task with goals, affected behavior, and specific concerns. Route a diff review to the best peer model(s) based on focus and risk.

ParametersJSON Schema
NameRequiredDescriptionDefault
diffYesRequired. Full unified diff (`git diff`, `git diff --cached`, or patch file). Do not summarize.
repo_pathYesAbsolute path to the repository root the peer should work in (e.g. /home/user/my-app).
focusNoPrimary review lens. Pair with a detailed diff, related files, and a rich `task` describing risks.
risk_levelNoUse high for auth, payments, migrations, concurrency, and public API changes.
filesNoChanged source files and binary attachments (screenshots, PDFs). Use correct file extensions for images/PDFs and pass base64 or data-URI content.
taskNoHuman-readable session label: what you are trying to achieve, affected behavior, and specific concerns for the peer.
needs_speedNoPrefer a faster peer when true; still include full context.
idempotency_keyYesStable key for this operation (e.g. review-auth-jwt-1). Reuse the same key when retrying after timeout.

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description must disclose behavior but only mentions 'route to best peer model' without explaining routing logic, side effects, output format, or idempotency implications. The idempotency_key parameter suggests retry safety, but the description is silent on this.

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 sentences with zero wasted words. It front-loads the most critical instruction ('Before calling: read...') and provides crisp, actionable guidance.

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

Completeness2/5

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

Given 8 parameters (3 required) and no output schema, the description covers only diff, files, and task. It omits context for repo_path, focus, risk_level, needs_speed, and idempotency_key, leaving the agent to rely solely on schema descriptions.

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?

Schema coverage is 100%, so baseline is 3. The description reinforces 'files' and 'task' usage (e.g., full contents, specific concerns) but adds no new meaning beyond the schema. It does not elaborate on repo_path, focus, risk_level, or other parameters.

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 description clearly states the tool routes a diff review to peer models based on focus and risk. However, it does not differentiate from sibling tools like peer_debate or peer_compare, leaving ambiguity about when each is appropriate.

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 provides explicit prerequisites (read files, attach full contents, pass diffs, set task) and a 'never prose summaries' rule. It gives clear context for use but lacks exclusion criteria or comparison to the extensive list of peer sibling tools.

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

peer_summarizeC

Return the rolling session summary and unresolved issues

ParametersJSON Schema
NameRequiredDescriptionDefault
session_idYes

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description must fully convey behavioral traits. It states 'Return' implying read-only, but does not confirm safety, auth needs, or whether the summary is stateful. The term 'rolling' introduces ambiguity about session state management.

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 description is a single sentence with no wasted words, achieving conciseness. However, it is so brief that it underspecifies the tool, sacrificing clarity for brevity.

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

Completeness2/5

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

Given the lack of output schema and annotations, the description should provide more context about the return format, the nature of the summary, and how unresolved issues are defined. It fails to do so, leaving significant gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The sole parameter 'session_id' has no schema description (0% coverage), and the tool description does not explain its purpose or format. The description adds no value beyond the parameter name.

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 description clearly states the tool returns a rolling session summary and unresolved issues, which is distinct from sibling tools like peer_ask or peer_debate. However, it does not elaborate on what 'rolling' means or the context of sessions.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. The description lacks any mention of use cases, prerequisites, or when to avoid it, leaving the agent to infer usage from the tool name alone.

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

peer_transcriptC

Export recent transcript turns

ParametersJSON Schema
NameRequiredDescriptionDefault
session_idYes
max_turnsNo
formatNo

TDQS

C2.6/5.0
Behavior2/5

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

Without annotations, the description carries full burden but only states 'export', implying a read operation. It does not disclose permission requirements, mutability, or side effects. No information on output format or behavior for edge cases.

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?

Extremely concise at 4 words, front-loading the core action. However, conciseness sacrifices necessary detail, making it under-specified for reliable use.

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

Completeness2/5

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

Given 3 parameters and no output schema or annotations, the description lacks information on 'recent' semantics, output structure, pagination, or error handling. Incomplete for effective agent use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%; description adds no meaning to parameters beyond their names. The required session_id, optional max_turns, and enum format are not explained. No examples or clarifications provided.

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 description clearly states the verb 'export' and resource 'transcript turns', indicating functionality. It distinguishes from siblings like peer_list_sessions (list sessions) and peer_summarize (summarize) by focusing on exporting recent turns. However, it lacks explicit differentiation from similar tools.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives like peer_turn, peer_list_sessions, or peer_summarize. Missing context about prerequisites or scenarios.

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

peer_turnC

Before calling: read relevant source files and attach full contents via files. Pass complete diffs/logs — never prose summaries. Set task with goals, affected behavior, and specific concerns. Follow up in an existing routed peer session (use session_id from a prior result).

ParametersJSON Schema
NameRequiredDescriptionDefault
session_idYessession_id from results.<cli>.sessionId in a prior routed tool response.
messageYesWhat changed since the last turn, what you fixed, and what you want re-checked.
diffNoFull unified diff or patch output. Never substitute a prose summary for the actual diff.
filesNoChanged source files and binary attachments (screenshots, PDFs). Use correct file extensions for images/PDFs and pass base64 or data-URI content.
idempotency_keyYesStable key for this operation (e.g. review-auth-jwt-1). Reuse the same key when retrying after timeout.
expected_versionNoPass version from the last turn to avoid stale-session races.

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It tells the agent what to prepare but not what the tool does internally (e.g., how it processes the turn, side effects, response format). The behavioral impact is largely hidden.

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 description is relatively short but contains extraneous instructions that are more procedural than definitional. The mismatch between 'task' and 'message' wastes some clarity. Overall, it is acceptably concise but could be more focused.

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

Completeness2/5

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

Given the complexity of a peer review tool with 6 parameters and no output schema, the description is incomplete. It fails to explain what the tool returns, how to continue the session, or what agents should expect after calling peer_turn. Key contextual gaps remain.

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?

Schema coverage is 100%, so the baseline is 3. The description adds some context by instructing to attach full contents via `files` and never use prose summaries for diffs. However, it incorrectly refers to a 'task' parameter that does not exist in the schema, which detracts from semantic clarity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description implies the tool is for following up in an existing peer session, but it does not explicitly state that it sends a new turn in a peer review. The phrase 'Set `task` with goals, affected behavior, and specific concerns' conflicts with the schema, which uses 'message' instead of 'task'. This mismatch reduces clarity.

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

Usage Guidelines2/5

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

The description provides procedural instructions (read files, attach diffs) but does not explain when to use this tool versus sibling tools like peer_ask or peer_debate. There is no guidance on alternatives or when not to use it.

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

peer_verifyB

Before calling: read relevant source files and attach full contents via files. Pass complete diffs/logs — never prose summaries. Set task with goals, affected behavior, and specific concerns. Route verification of tests/build output.

ParametersJSON Schema
NameRequiredDescriptionDefault
test_outputYesRequired. Complete test runner or build output, including failures, skips, and timing if relevant.
repo_pathYesAbsolute path to the repository root the peer should work in (e.g. /home/user/my-app).
diffNoFull unified diff or patch output. Never substitute a prose summary for the actual diff.
filesNoChanged source files and binary attachments (screenshots, PDFs). Use correct file extensions for images/PDFs and pass base64 or data-URI content.
taskNoHuman-readable session label: what you are trying to achieve, affected behavior, and specific concerns for the peer.
risk_levelNoUse high for auth, payments, migrations, concurrency, and public API changes.
idempotency_keyYesStable key for this operation (e.g. review-auth-jwt-1). Reuse the same key when retrying after timeout.

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations provided, the description carries full burden. It discloses prerequisites and input requirements but fails to mention side effects, return values, error conditions, or any behavioral impacts beyond 'route verification.' This is insufficient for safe tool invocation.

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?

The description is concise with four sentences and no wasted words. It is front-loaded with critical instructions, making it efficient for quick reading.

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

Completeness2/5

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

Despite having 7 parameters and no output schema, the description omits key context: what the tool returns, error handling, idempotency key usage, and prerequisites like repo path accessibility. It feels incomplete for a tool that likely performs significant actions.

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?

Schema description coverage is 100%, so baseline is 3. The description reinforces proper usage (e.g., 'never prose summaries' for diff) but does not add new semantic meaning beyond the schema's parameter descriptions.

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 description states 'Route verification of tests/build output,' which clearly indicates the tool's purpose. However, it does not explicitly differentiate from sibling tools like peer_review_diff or peer_debug, leaving some ambiguity.

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?

The description provides explicit instructions on how to prepare inputs ('read relevant source files and attach full contents via files', 'pass complete diffs/logs — never prose summaries', 'set task with goals'). It implies usage for verification tasks but lacks explicit when-not-to-use guidance or alternatives.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 13 tool updatesv0.1.0
    • First observedpeer_ask
    • First observedpeer_compare
    • First observedpeer_debate
    • First observedpeer_debug
    • First observedpeer_health
    • First observedpeer_list_sessions
    • First observedpeer_plan
    • First observedpeer_reset
    • First observedpeer_review_diff
    • First observedpeer_summarize
    • First observedpeer_transcript
    • First observedpeer_turn
    • First observedpeer_verify

TDQS

B3.2/5.0
Disambiguation3/5

While each tool has a distinct purpose, the descriptions share extensive boilerplate text (e.g., 'Before calling: read relevant source files...'), making it harder for an agent to quickly differentiate between tools like peer_ask, peer_compare, and peer_debate. The specific routing information at the end helps but requires careful reading.

Naming Consistency5/5

All tools follow the snakename pattern with the consistent prefix 'peer', using varied but appropriate verbs/verb phrases. No mixing of conventions like camelCase or different prefixes.

Tool Count5/5

13 tools is well within the ideal 3-15 range for a server focused on peer agent interactions. Each tool covers a distinct operation without unnecessary bloat or missing essentials.

Completeness4/5

The tool set covers a broad range of peer agent workflows: asking, comparing, debating, debugging, planning, reviewing, verifying, and session management. Minor gaps like explicit session creation are implicitly handled via peer_turn, so no critical missing operations.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

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/Rakeen70210/peer-agents-mcp'

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