Skip to main content
Glama

get_reply

Retrieve replies for a conversation by long-polling until a newer reply arrives, using an after count and up to 25 seconds to wait.

Instructions

Retrieve replies for a conversation. Long-polls up to wait_seconds (max 25) for a reply newer than after.

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": {
      "conversation_id": "<conversation_id>"
    },
    "name": "get_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNoNumber of replies already seen; waits for one more.
wait_secondsNo
conversation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose the critical behavior: this call blocks as a long-poll, bounded at 25 seconds, returning a reply newer than `after`. It stops short of saying what happens on timeout (empty result vs. error) or how many replies come back per call, which matters for a blocking read.

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?

Two tight sentences with no filler, and the blocking behavior is front-loaded in sentence two. Slightly more compact than it needs to be, but nothing is wasted.

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 three-parameter blocking read with no annotations and no output schema, the description should clarify the return shape (one reply or many) and the no-reply-arrives case. It covers the polling mechanic well but leaves the result contract unaddressed.

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 only 33% — only `after` is documented in the schema. The description adds real meaning by tying `wait_seconds` and `after` together into a long-poll contract. However, `conversation_id` and the timeout/empty-result semantics remain unexplained in both places.

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?

States a specific verb and resource: 'Retrieve replies for a conversation.' The scope (per-conversation) is clear, and the long-poll nature is named up front. It does not explicitly differentiate itself from siblings, though list_agents and send_to_agent are not true alternatives for reading replies.

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 implies the use case (fetching replies, optionally waiting for the next one), but never says when to use it versus not, nor what the caller should do if they want an immediate snapshot instead of blocking. Usage is inferable rather than stated.

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

Deploy Server

Other Tools