Skip to main content
Glama

peer-agents-mcp

Servidor MCP que permite a otras herramientas de codificación con IA (Codex, Claude, Cursor, etc.) llamar a la Grok CLI y a la Antigravity CLI como revisores pares y colaboradores.

Qué hace

Este servidor envuelve las CLIs locales grok y agy (Antigravity) detrás de una interfaz limpia del Model Context Protocol (MCP).

Cualquier agente compatible con MCP ahora puede:

  • Enviar cambios de código, planes, errores o preguntas a Grok o Antigravity

  • Recibir retroalimentación estructurada de pares

  • Ejecutar sesiones de revisión/depuración/planificación de múltiples turnos con memoria de sesión

  • Obtener opiniones independientes ejecutando ambas CLIs en la misma tarea

El agente principal (Codex, Claude, etc.) mantiene el control. Simplemente delega tareas específicas a estos pares cuando quiere una segunda opinión (o una opinión diferente).

Related MCP server: xAI Grok MCP Bridge

Idea central

En lugar de que un solo modelo haga todo, tu agente de codificación principal puede usar Grok y Antigravity como pares:

  • Grok para la mayor parte del trabajo de codificación (revisiones, planificación, depuración, crítica de implementación)

  • Antigravity para contexto amplio, conocimiento general o tareas multimodales

El enrutamiento inteligente ocurre automáticamente según el tipo de solicitud.

Herramientas disponibles

Tool

Propósito

Enrutado a

peer_review_diff

Revisar un diff unificado o un parche

Grok (normalmente)

peer_plan

Crear un plan de implementación

Grok

peer_debug

Diagnosticar fallos a partir de registros/trazas de pila

Grok

peer_verify

Comprobar la salida de pruebas/compilación para verificar seguridad

Grok

peer_ask

Preguntas y respuestas generales fundamentadas

Antigravity

peer_debate

Comparar de forma independiente el Plan A frente al Plan B

Grok

peer_turn

Continuar una sesión de pares de múltiples turnos

El mismo par

peer_turn_async

Turno de seguimiento de larga duración (trabajo en segundo plano)

El mismo par

peer_implement_async

Transferencia de implementación a Grok en frío (trabajo)

Grok

peer_review_diff_async

Revisión de diff de larga duración (trabajo en segundo plano)

Grok

peer_debug_async

Transferencia de depuración de larga duración (trabajo en segundo plano)

Grok

peer_job_status

Consultar un trabajo en segundo plano (incluye progress)

peer_job_cancel

Cancelar un trabajo en segundo plano

peer_jobs_gc

Limpiar trabajos terminales antiguos

peer_compare

Llamada de bajo nivel en paralelo a ambas CLIs

Ambas

Herramientas de sesión adicionales: peer_summarize, peer_transcript, peer_list_sessions, peer_reset y peer_health.

Todas las herramientas enrutadas aceptan el contenido completo de los archivos mediante el parámetro files y los diffs mediante diff. Nunca envíes resúmenes: envía el contenido real.

Cuándo usar síncrono vs asíncrono

Las revisiones síncronas de Grok de diffs ordinarios suelen tardar 3–6 minutos. El tiempo de espera del proceso hijo de Grok es GROK_TURN_TIMEOUT_MS (por defecto 6 minutos). Aumentar el tiempo de espera del hijo no aumenta la espera del cliente MCP anfitrión. Si el anfitrión se rinde primero, Codex nunca ve durationAdvisory / continuationHint / nativeSessionId en esa respuesta de herramienta: usa *_async.

El servidor no convierte silenciosamente las herramientas síncronas en trabajos.

Usa síncrono (peer_review_diff, peer_plan, peer_turn, …)

Usa asíncrono (*_async + peer_job_status)

Diffs / planes ordinarios que caben en ~80k caracteres de prompt

~80k caracteres (~20k tokens), cerca del límite de 120k, o truncados

Predeterminado / riesgo medio

risk_level=high o focus=security (--effort high)

Seguimiento de “vuelve a revisar este archivo”

Transferencia de implementación (peer_implement_async)

El anfitrión puede esperar ~6 minutos

Tiempo de espera del MCP anfitrión ≤ 2–3 minutos; registros enormes; depuración de múltiples intentos

Los resultados síncronos de Grok/enrutados pueden incluir durationAdvisory adicional cuando el prompt fue truncado, los tokens estimados superan ~20k (~80k caracteres), risk_level=high / focus=security, o se consumió un auto-continue stub. Ejemplo:

{
  "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."
}

Un peer_review_diff truncado aún se ejecuta de forma síncrona (se antepone la instrucción tools-against-cwd). Prefiere peer_review_diff_async la próxima vez; no trates la truncación como un rechazo duro.

Trabajos asíncronos de larga duración

Las transferencias de implementación grandes pueden superar el tiempo de espera de herramienta síncrona del cliente MCP. Usa la ruta asíncrona en lugar de bloquearte en peer_turn:

  1. Inicia el trabajo con peer_implement_async (arranque en frío) o peer_turn_async (sesión existente).

  2. Continúa el trabajo local mientras el par se ejecuta.

  3. Consulta peer_job_status cada 30–60 segundos (evita sondeos agresivos).

  4. Mientras status sea running, el progress opcional puede incluir textSnippet, lastThought y eventCount (Grok streaming-json / agy stream-json).

  5. Cuando status sea succeeded, lee result y continúa con peer_turn si es necesario.

  6. Usa peer_job_cancel para detener un trabajo en cola/en ejecución propiedad de este proceso MCP.

Estados terminales: succeeded, failed, timed_out, cancelled, orphaned.

Idempotencia: los reintentos con la misma idempotency_key devuelven el mismo trabajo (en ejecución o terminal persistente). Después de timed_out / cancelled / failed, usa una clave nueva para reintentar el trabajo.

Los trabajos y los resultados completados se almacenan en ~/.peer-agents/jobs/. Los procesos de proveedor en vivo no sobreviven a los reinicios del servidor MCP; los trabajos no terminales se marcan como orphaned al hidratar (a menos que la sesión ya haya confirmado la operación, en cuyo caso se recupera como succeeded).

Los trabajos terminales con más de 7 días se limpian al hidratar (anula con PEER_AGENTS_JOB_GC_MAX_AGE_MS) o mediante peer_jobs_gc.

Los trabajos asíncronos usan un tiempo de espera separado del de los turnos síncronos:

  • PEER_AGENTS_JOB_TIMEOUT_MS — por defecto 30 minutos (1800000)

  • GROK_JOB_TIMEOUT_MS / ANTIGRAVITY_JOB_TIMEOUT_MS — anulaciones opcionales por proveedor

  • PEER_AGENTS_JOB_GC_MAX_AGE_MS — retención de trabajos terminales (por defecto 7 días)

  • PEER_AGENTS_GROK_TRANSPORTheadless (por defecto) o acp para un grupo de procesos en caliente

  • PEER_AGENTS_GROK_ACP_MAX_CLIENTS — máximo de procesos ACP concurrentes (por defecto 4)

  • PEER_AGENTS_GROK_ACP_IDLE_MS — reciclaje por inactividad de ACP entre turnos (por defecto max(5 min, GROK_TURN_TIMEOUT_MS + 60s)). La inactividad no es la duración del trabajo; session/prompt en curso lo ignora.

Mantén vivo el proceso del servidor MCP durante la duración de un trabajo.

Transporte de Grok: headless vs ACP

headless (por defecto)

acp

Invocación

grok --prompt-file en cada turno

Proceso de larga duración grok agent stdio por cwd

Latencia

Arranque en frío en cada turno

Proceso en caliente; los turnos múltiples reutilizan proceso + sesión

Características de la CLI

Sandbox, worktree, --session-id generado; no --json-schema en el bucle de herramientas; siempre --output-format streaming-json

Subconjunto (--always-approve); hallazgos estructurados mediante prompt. La inactividad es un respaldo entre turnos, no la duración del trabajo.

Habilitación

(por defecto)

PEER_AGENTS_GROK_TRANSPORT=acp

Prefiere headless para revisiones de una sola vez con sandboxing estricto. Prefiere acp cuando ejecutas muchos peer_turns y quieres un menor costo de arranque de procesos.

Cómo lo usan otros agentes

Codex, Claude o cualquier otro cliente MCP se conecta a este servidor a través de stdio. Una vez conectado, el agente puede llamar a las herramientas de pares exactamente como a cualquier otra herramienta.

Flujo típico:

  1. Tu agente prepara un diff, un registro de errores o una descripción de tarea.

  2. Llama a peer_review_diff, peer_plan, peer_debug, etc.

  3. El servidor invoca la(s) CLI(s) adecuada(s) en modo headless.

  4. La respuesta del par regresa con un sessionId.

  5. Tu agente puede hacer un seguimiento más tarde con peer_turn usando ese sessionId.

Esto te da conversaciones de pares persistentes y contextuales sin que el agente principal tenga que gestionar la invocación de la CLI por sí mismo.

Requisitos previos

  • Node.js ≥ 18

  • La CLI grok (o establece GROK_COMMAND)

  • La CLI agy (Antigravity, o establece ANTIGRAVITY_COMMAND)

Ambas CLIs deben estar autenticadas y funcionando en tu máquina.

Instalación y uso

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

Ejecuta directamente:

node dist/index.js

Configuración del cliente MCP

Añádelo a la configuración de servidores MCP de tu cliente (ejemplo para una configuración típica de 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"
      }
    }
  }
}

Variables de entorno

  • GROK_COMMAND — ruta al binario de grok (por defecto: grok)

  • ANTIGRAVITY_COMMAND — ruta al binario de agy (por defecto: agy)

  • GROK_ARGS / ANTIGRAVITY_ARGS — array JSON de argumentos adicionales de la CLI

  • ANTIGRAVITY_CONVERSATIONS_DIR — anula el almacén de conversaciones de agy utilizado como captura alternativa de session-id (por defecto: ~/.gemini/antigravity-cli/conversations)

  • PEER_AGENTS_WORKTREE_DIR — directorio principal para los git worktrees DIY de Grok (por defecto: ~/.peer-agents/worktrees)

  • PEER_AGENTS_STORAGE_DIR — donde se persisten las sesiones (por defecto: ~/.peer-agents/sessions)

  • PEER_AGENTS_ENABLED_PROVIDERS — lista blanca separada por comas de CLIs de pares (grok, antigravity). Usa solo antigravity cuando el anfitrión sea Grok para que los pares nunca vuelvan a entrar en Grok.

  • PEER_AGENTS_DISABLED_PROVIDERS — lista negra separada por comas (se ignora si PEER_AGENTS_ENABLED_PROVIDERS está establecido)

  • GROK_TURN_TIMEOUT_MS — tiempo de espera síncrono de Grok para headless y ACP (por defecto 6 minutos / 360000). Única fuente además de timeoutMs por llamada. Grok no lee PEER_AGENTS_TURN_TIMEOUT_MS.

  • PEER_AGENTS_TURN_TIMEOUT_MS — solo respaldo síncrono de Antigravity (por defecto 300s). No fija a Grok. Desactívalo o establece GROK_TURN_TIMEOUT_MS explícitamente. Los operadores que quieran el antiguo tiempo de espera de 120s de Grok deben establecer GROK_TURN_TIMEOUT_MS=120000.

  • ANTIGRAVITY_TURN_TIMEOUT_MS — anulación síncrona opcional de Antigravity (por defecto 300s)

  • PEER_AGENTS_GROK_ACP_IDLE_MS — reciclaje por inactividad de ACP entre turnos (por defecto max(5 min, GROK_TURN_TIMEOUT_MS + 60s)). session/prompt en curso ignora la inactividad (promptDepth). No es la duración del trabajo de 30 minutos.

  • PEER_AGENTS_JOB_TIMEOUT_MS — tiempo de espera de trabajos asíncronos (por defecto 30 minutos)

  • GROK_JOB_TIMEOUT_MS / ANTIGRAVITY_JOB_TIMEOUT_MS — anulaciones asíncronas opcionales por proveedor

  • PEER_AGENTS_MAX_PROMPT_CHARS — límite de seguridad del tamaño del prompt (por defecto 120000); la truncación antepone una instrucción tools-against-cwd y continúa el turno síncrono

Sesiones de pares de múltiples turnos

Cada llamada enrutada devuelve un sessionId. Usa peer_turn para continuar la conversación:

  • Dile al par qué ha cambiado

  • Adjunta nuevos diffs o archivos

  • Pídele que vuelva a revisar o compruebe tus correcciones

Las sesiones se persisten en disco, por lo que sobreviven a los reinicios del servidor MCP.

Los turnos múltiples de Grok y Antigravity prefieren la reanudación nativa de la CLI cuando se capturó un id de conversación/sesión en el primer turno; de lo contrario, el MCP rehidrata el transcript reciente en el prompt.

Integración de la Grok CLI (1.0.x+)

Los turnos de pares de Grok usan banderas headless modernas internamente (los llamadores no las pasan):

Aspecto

Comportamiento

Prompts grandes

Usar siempre --prompt-file (evita los límites de argv)

Multiturno

--resume <nativeSessionId> cuando esté disponible; el arranque en frío genera --session-id antes del spawn; recurre a la rehidratación del transcript de MCP

Revisor / crítico

--sandbox read-only, --always-approve, denegar herramientas de edición, sin búsqueda web, --no-plan, --no-subagents

Planificador

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

Implementador

--sandbox workspace, --always-approve

Permisos

El revisor, el crítico y el planificador usan --always-approve (el revisor nunca --permission-mode default) para que un hijo MCP sin TTY no espere a un clic. Mantén el sandbox de solo lectura, --disallowed-tools search_replace,write y --deny para bash destructivo.

peer_implement_async

Aislamiento predeterminado con git worktree mediante git worktree add + --cwd (use_worktree: false para optar por no participar). Grok 1.0 headless ignora --worktree.

Hallazgos de la revisión

Análisis de mejor esfuerzo del JSON de hallazgos del texto final; la prosa es una revisión válida. Grok headless no pasa --json-schema (esa bandera aborta el bucle de herramientas en 1.0.5).

Riesgo / seguridad

--effort elevado; --rules adicionales de autoverificación (Grok 1.0 eliminó --check). El esfuerzo alto es un motivo para durationAdvisory / *_async, no para omitir --effort high.

Especialistas

--agent empaquetado para revisión de seguridad / planificación de arquitectura

Salida síncrona y asíncrona

Usar siempre --output-format streaming-json en Grok headless (respaldo json-envelope si la CLI aún emite un solo objeto). progress en peer_job_status.

Pool ACP (opt-in)

PEER_AGENTS_GROK_TRANSPORT=acp reutilización de procesos en caliente. El estado inactivo es un respaldo entre turnos, no la vida útil del trabajo; session/prompt en curso lo ignora.

Telemetría de gasto

metrics en los resultados (usage, num_turns, stopReason, costo cuando esté presente)

Integración con la CLI de Antigravity (agy 1.1.8+)

Los turnos del peer de Antigravity usan el modo print internamente (los llamadores no pasan estas banderas):

Aspecto

Comportamiento

Invocación

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

Multiturno

--conversation <id> del conversation_id del json (la instantánea de directorio de *.db es solo un respaldo)

Hallazgos de la revisión

--json-schema hallazgos estructurados para revisor/crítico; structured_output asignado a structured

Revisor / crítico

--sandbox

Planificador

--sandbox --mode plan

Implementador

--mode accept-edits

Riesgo

--effort del mismo mapa de riesgo/complejidad que Grok

Espacio de trabajo

--add-dir <cwd> cuando se establece una ruta de repositorio

Agente

--agent opcional cuando se proporciona

Slash/habilidades

Usar siempre --disable-slash-commands para que los prompts de peer no puedan expandir /commands

Progreso asíncrono

--output-format stream-json en trabajos asíncronos + progress en peer_job_status

Salud

Preferir agy models; recurrir a un turno pong corto

Telemetría de gasto

metrics del sobre json (usage, num_turns)

agy aún no tiene worktree, --prompt-file ni transporte ACP. Los turnos síncronos permanecen en --output-format json; solo los trabajos en segundo plano transmiten en streaming.

Notas de diseño

  • El servidor nunca modifica tu repositorio por sí mismo — solo ejecuta las CLIs que ya tienes.

  • Los mensajes de usuario en los transcripts de sesión se etiquetan desde la perspectiva del llamador (comúnmente "Codex").

  • Se admiten claves de idempotencia para que las llamadas repetidas con la misma clave sean seguras.

  • Se devuelven sugerencias de calidad de contexto cuando la entrada parece demasiado escasa (archivos faltantes, diffs, etc.).

  • Las transferencias de implementación usan por defecto un git worktree aislado (--cwd dentro de él) para que el peer no pise un árbol principal sucio.

Licencia

MIT (o según lo especificado en el repositorio).

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