Skip to main content
Glama

route_task

Read-onlyIdempotent

Returns the read-first docs, rules, entrypoints, and verification tasks for a compiler workflow task type, helping you start work and validate changes.

Instructions

Return read-first docs, rules, entrypoints, and verify tasks for a compiler workflow.

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": {
      "task_type": "<task_type>"
    },
    "name": "route_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNoOptional free-text context (e.g. symbol or feature name) passed through to the routing output
task_typeYesTask type key — use list_task_types() to enumerate valid values, e.g. "distributed_codegen", "ascend_arch"

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered and the description does not contradict it. The description adds that the output is a curated bundle of guidance artifacts rather than an action, which is modest extra context; an output schema also exists, so return shape need not be described. It does not say what happens with an unrecognized task_type or how detail influences routing.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity leaves the routing behavior largely implicit rather than explained.

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 low-complexity tool with two flat parameters, a full output schema, and complete annotation coverage, the description supplies enough for an agent to call it correctly. The main residual gap is that its relationship to sibling guidance tools (explain_task, find_entrypoints, list_task_types) is unstated.

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%, and the schema already explains that task_type is a key enumerable via list_task_types() and that detail is optional free text passed through. The description adds no further meaning about how either parameter shapes the routing result, so the baseline 3 applies.

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 concrete verb ("Return") and an enumerated set of resources returned: read-first docs, rules, entrypoints, and verify tasks. An agent can tell this is a task-type-driven orientation/guidance tool, though the description never distinguishes it from nearby siblings such as explain_task or find_entrypoints.

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 phrase "read-first" weakly implies sequencing — call this before doing compiler workflow work — but there is no explicit when-to-use statement, no prerequisites, and no steering toward or away from alternatives. Usage must be inferred from the adjective alone.

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