Skip to main content
Glama

agent_peer_reply

Deliver advisory answers or code review findings to a peer agent's inbox for an open ticket, then update the ticket lifecycle status after a consult or review request.

Instructions

Transmit an advisory answer or code review findings back to a peer agent for an open ticket. Call this tool only after receiving a consult or review request via agent_peer_inbox. Delivers the response to the peer's inbox and updates ticket lifecycle status.

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": {
      "ticket_id": "<ticket_id>",
      "response": "<response>"
    },
    "name": "agent_peer_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoTerminal status of the review: "completed", "rejected", or "need_more_info" (defaults to "completed")
responseYesThe synthesized advice, answer, or code review findings to deliver to the peer
ticket_idYesThe correlation ticket ID from the original consult or review request

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.1
    • changedInput schema / properties / response / description
      Previous value: -"The synthesized advice, answer, or code review findings"New value: +"The synthesized advice, answer, or code review findings to deliver to the peer"
    • changedInput schema / properties / status / description
      Previous value: -"\"completed\", \"rejected\", \"need_more_info\" (defaults to \"completed\")"New value: +"Terminal status of the review: \"completed\", \"rejected\", or \"need_more_info\" (defaults to \"completed\")"
    • changedInput schema / properties / ticket_id / description
      Previous value: -"The correlation ID of the consult or review request"New value: +"The correlation ticket ID from the original consult or review request"
  2. First observedv0.1.0

TDQS

A4/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 behavioral burden. It usefully discloses that the response is delivered to the peer's inbox and that ticket lifecycle status is updated, but it does not explain permissions, reversibility, duplicate-reply behavior, or what happens on invalid ticket states.

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?

Two sentences, front-loaded with the action and followed by the prerequisite and side effect. There is no redundant or wasted wording.

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 simple reply tool with complete parameter documentation, the description covers the core action, prerequisite, and side effects. It is slightly incomplete because there is no output schema and the description does not clarify the return behavior or error semantics.

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 all three parameters are already documented in the input schema, including the status enum values. The description does not add meaning beyond the schema for ticket_id, response, or status.

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: transmit an advisory answer or code review findings back to a peer agent for an open ticket. It also ties the action to an open ticket and a prior consult or review request, which distinguishes it from generic peer messaging.

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?

It gives an explicit prerequisite: call only after receiving a consult or review request via agent_peer_inbox. It does not name a sibling alternative for cases where there is no open ticket, so the when-not guidance is incomplete.

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