Skip to main content
Glama

agent_peer_consult

Request asynchronous guidance or a second opinion from a peer agent on architectural questions and approaches, returning a tracking ticket ID for follow-up.

Instructions

Request guidance or a second opinion from a peer agent on an architectural question or approach. Asynchronous request that generates a tracking ticket ID. The peer answers via agent_peer_reply and results arrive in agent_peer_inbox. Use agent_peer_review instead when submitting concrete files or code diffs.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "agent_peer_consult"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesSpecific advice, question, or guidance requested from the peer
contextNoBackground constraints, code snippets, or system logs providing context

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • changedInput schema / properties / context / description
      Previous value: -"Background constraints, code snippets, or system logs"New value: +"Background constraints, code snippets, or system logs providing context"
    • changedInput schema / properties / query / description
      Previous value: -"Specific advice, question, or guidance requested"New value: +"Specific advice, question, or guidance requested from the peer"
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose key behavior: the call is asynchronous and returns a tracking ticket ID rather than an answer. It also names the reply and inbox channels through which the answer arrives. It stops short of stating permissions, expected latency, or what happens if the peer never responds.

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?

Four short sentences, front-loaded with purpose, then behavior, then the disambiguation rule. Nothing is redundant and no sentence merely restates the tool name.

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 an async, ticket-generating tool with no output schema, the description covers what is returned (a ticket ID) and how results surface (inbox/reply), which is the essential missing piece an agent would otherwise lack. Minor gaps remain around polling or status-checking expectations and failure modes, but the core call-and-follow-up loop is complete.

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% and both parameters (query, context) are already documented in the schema, so the description adds no syntax, format, or sizing guidance beyond it. Baseline 3 is appropriate when the schema does the heavy lifting.

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 states a specific verb and resource — 'Request guidance or a second opinion from a peer agent on an architectural question or approach' — and explicitly contrasts itself with agent_peer_review for concrete files or diffs. An agent can distinguish this from the review sibling without opening either schema.

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

Usage Guidelines5/5

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

It gives an explicit routing rule: use agent_peer_review instead when submitting concrete files or code diffs, which is the closest ambiguous alternative. It also sketches the follow-on flow (peer answers via agent_peer_reply, results land in agent_peer_inbox), so the agent knows what to do after calling.

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