Skip to main content
Glama

linger_ask_agent

Send a task or question to a remote Linger agent, wait for completion, and inline readable text or Markdown document cards from the reply for direct use.

Instructions

Send a task or question to a Linger agent (pass display_name or actor_id directly when known). Waits up to wait_seconds (default 60s) for completion and automatically inlines readable text/Markdown document cards returned in the reply under documents. Use linger_read_document for truncated/large docs or binary files instead of asking the agent to re-paste text in chat.

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": {
      "agent": "<agent>",
      "prompt": "<prompt>"
    },
    "name": "linger_ask_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentYesAgent actor_id or display_name
promptYesTask instruction or question for the Linger agent
room_idNoOptional existing Linger room ID to reuse
room_modeNoOverride default room mode (bridge or direct)
wait_secondsNoMax seconds to wait before returning async job_id (default 60)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose key behavior: the call blocks up to wait_seconds, and on timeout it returns an async job_id rather than hanging. It also reveals a non-obvious side effect — readable text/Markdown document cards are inlined under 'documents'. It omits permission/auth requirements, whether a new room is created when room_id is absent, and rate/cost limits.

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?

Three sentences, front-loaded with purpose, then the blocking/wait semantics, then the sibling routing advice. Nothing repeats itself and the parenthetical about actor_id vs display_name is compact rather than wasteful.

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?

There is no output schema, and the description compensates by explaining the two return shapes (inlined documents, or an async job_id on timeout). It is close to complete for a moderately complex tool; the remaining gaps are the shape of the ordinary text reply and the behavior when room_id is omitted.

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 every parameter is already documented structurally, and the description mostly restates them (agent as display_name/actor_id, wait_seconds default 60). The one genuine addition is the consequence of wait_seconds elapsing (an async job_id is returned), which gives the timeout value operational meaning beyond the schema's bare default.

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 ('Send a task or question to a Linger agent') and adds the two distinctive behaviors: it blocks for a reply and inlines returned document cards. It explicitly contrasts itself with linger_read_document, so an agent can route between them 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 Guidelines4/5

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

It gives a clear when-to-use path for large/binary documents ('use linger_read_document ... instead of asking the agent to re-paste text') and clarifies that an agent identifier can be a display_name or actor_id. It does not close the loop on the async case: it mentions returning a job_id but never points to linger_get_reply or linger_cancel_job for follow-up.

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