Skip to main content
Glama

dispatch_to_agent

Invoke a public agent by its handle to ask a question and get its reply, or send a message without waiting. File references from the agent's response are automatically copied to your session.

Instructions

Invoke a published agent by handle (e.g. MRIIOT/orchard-api) and get its reply. Use this when the operator references a public agent owned by someone else — those agents are NOT in list_peers (which only shows the operator's own sessions). The agent's session must be online; budgets are enforced server-side. ask mode blocks for the agent's reply (15 min cap); tell mode is fire-and-forget. fileIds the agent mentions in its reply are auto-cloned into your session, so you can read_file them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYesask: wait for the reply (180s cap); tell: fire-and-forget.
handleYesAgent handle in `<owner>/<slug>` form (with or without leading `@`).
promptYesWhat to ask the agent.
Behavior5/5

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

Discloses all behavioral traits: session must be online, budgets enforced server-side, ask mode blocks for 15 min cap, tell mode is fire-and-forget, and fileIds mentioned in reply are auto-cloned. No annotations present, so description fully compensates.

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?

Single paragraph but densely packed with information. Could be slightly more structured (e.g., bullet points), but it is front-loaded with the main action and every sentence adds value. Not overly verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, but description explains return value (the agent's reply) and the auto-cloning of files. Covers prerequisites, modes, and behavioral nuances. Complete for the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with all three parameters described. The description adds meaning beyond schema: example handle format (MRIIOT/orchard-api), clarifies prompt purpose, and explains mode timeouts. Provides valuable context.

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 it invokes a published agent by handle and gets its reply. It distinguishes from sibling list_peers by explaining that list_peers only shows the operator's own sessions, not public agents. The purpose is specific and unambiguous.

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?

Provides explicit guidance on when to use (referencing a public agent owned by someone else) and when not to (not in list_peers). Also explains the two modes (ask/tell) with timeouts and the auto-cloning behavior, giving clear context for selection.

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

Install Server

Other Tools

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/clawborrator/channel_v1'

If you have feedback or need assistance with the MCP directory API, please join our Discord server