Skip to main content
Glama

trinity_dispatch_auto

Automatically select the appropriate agent for a task using the local route table, create a durable task, and run one worker cycle. Use when manual agent selection is not desired.

Instructions

Resolve the best Trinity agent with the local route table, create a durable task, and run one worker cycle. Use this when the caller has a task but should not pick the agent manually; use trinity_dispatch for an explicit target. This writes route evidence and task state to the local database and may execute the selected agent command; the result includes compact task and route metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoWorking directory passed to the selected agent; defaults to the user's home directory.
taskYesTask prompt used for route selection and delivery.
waitNoIf true, block until the routed task reaches a terminal state or wait_timeout expires.
task_typeNoOptional task type hint that can override or narrow route matching.
source_agentNoOriginating agent id recorded on the task; defaults to mcp.
wait_timeoutNoMaximum seconds to wait when wait=true; defaults to the server wait timeout.
previous_agentNoAgent id to avoid when resolving opposite-review or retry routes.
Behavior4/5

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

Discloses that it writes to the database and may execute an agent command, which aligns with annotations (readOnlyHint=false, destructiveHint=false). Adds context beyond annotations, though could elaborate on execution side effects.

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 concise sentences front-load the core purpose and usage guidance without extraneous detail.

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?

Covers main behavior, usage guidance, and result information. Lacks details on error cases or failure modes, but annotations and schema partially compensate.

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%, providing descriptions for all parameters. The tool description adds no additional parameter-level meaning beyond what the schema already provides.

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 the tool's action: resolve an agent, create a task, and run a worker cycle. It distinguishes itself from sibling trinity_dispatch by noting automatic vs explicit agent selection.

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?

Explicitly guides when to use this tool (caller has a task but should not pick agent manually) and when to use the alternative trinity_dispatch (explicit target).

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/Yomiracle/trinity-lite'

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