Skip to main content
Glama
Hybrid SAGE

Hybrid SAGE

Official
by bioassembly

route_task

Classifies a prompt across your fleet using privacy, context scale, health, and reasoning depth so each task routes to the right unit.

Instructions

Classify a prompt or task across your fleet based on privacy/airgap inspection, context scale, health, and reasoning depth.

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

Input Schema

NameRequiredDescriptionDefault
mockNoIndicates data is synthetic/mock (prevents false privacy locks)
filesNoOptional list of file paths referenced by the task (for auto token & PHI/secret airgap scanning)
promptYesThe task prompt or description to classify
privateNoForce routing to privacy-cleared local unit
workdirNoProject directory for file context and scoped lessons

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, and it discloses almost nothing behavioral. The schema's mention of "prevents false privacy locks" hints that running this tool can trigger privacy locks as a side effect, but the description never confirms whether classification is read-only, whether it persists state, or what a result looks like.

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, and the classification criteria are listed efficiently. It is well sized, though the brevity is also the source of the behavioral gaps.

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?

Given five parameters with full schema coverage and no output schema requirement, the description covers the core action and criteria adequately. What an agent still has to infer is the side-effect profile (privacy locking) and what the routing decision returns, which with no annotations leaves it somewhat thin.

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 each of the five parameters is already documented, and the baseline is 3. The description's mention of privacy/airgap and context scale loosely maps to the private/files/workdir inputs but adds no new meaning beyond the schema text.

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?

The description gives a specific verb ("Classify") and resource ("a prompt or task across your fleet") plus the criteria used: privacy/airgap inspection, context scale, health, and reasoning depth. That is enough to separate it from siblings like airgap_scan or delegate_local, though it never names an alternative outright.

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?

Usage is only implied: a reader infers this is the pre-routing classification step run before escalate_task or delegate_local. There is no explicit when-to-use, when-not-to-use, or statement of prerequisites (e.g. that fleet health must be configured first).

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