Skip to main content
Glama

route_task

Suggests which AssetRAG calls fit a given task, helping agents select relevant search, guidance, or check tools before acting.

Instructions

Which AssetRAG calls are worth making for this task (suggestions only).

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

Input Schema

NameRequiredDescriptionDefault
taskYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, and it discloses only one behavioral fact: results are advisory ('suggestions only'), so nothing is executed. It says nothing about whether suggestions are ranked, how many are returned, what the response looks like, or whether the recommendation considers the sibling tool set.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short clause with no wasted words, but the brevity is under-specification rather than economy. The advisory caveat is tucked in parentheses at the end instead of being front-loaded with the purpose.

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

Completeness1/5

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

This is a meta-router sitting above seventeen sibling tools, with no annotations, no output schema, and an undescribed parameter. One sentence and a parenthetical is far short of what an agent needs to decide when to route through this tool and how to read the result.

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

Parameters2/5

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

The single required parameter 'task' has zero schema description coverage, so the description must compensate and does not. It never clarifies whether 'task' is a natural-language goal, a task ID, or a keyword string, nor what level of detail produces good routing.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment implies a routing/recommendation function: given a task, it suggests which other calls are worth making. But it is phrased as a question rather than a statement of action, and it never names what is returned (a list of tool names? call arguments? rationale?) or how this differs from siblings like find_knowledge or search_assets that also help locate resources.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use guidance: no statement of which task types should be routed here versus solved directly with search_assets or find_knowledge, and no prerequisites. The only usage-adjacent signal is the parenthetical '(suggestions only)', which at least implies the tool advises rather than executes.

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