Skip to main content
Glama

jev_route_task

Determines the optimal execution strategy for a coding task—direct edit, TDD, parallel subagents, or brainstorm—and flags required security/UI skills.

Instructions

Multi-agent workflow & model tier dispatcher. Determines the optimal execution strategy (direct edit, TDD, parallel subagents, brainstorm) and whether security/UI skills are required.

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_description": "<task_description>"
    },
    "name": "jev_route_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
repo_contextNoOptional summary of repo structure or tech stack
task_descriptionYesUser prompt or ticket description
working_directoryNoOptional project workspace directory

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. 'Dispatcher' is ambiguous: it could only return a routing recommendation, or it could actually launch subagents or change model tiers, and the description never resolves that or states any side effects. With no output schema either, the agent cannot know what it gets back or whether calling it is safe/idempotent.

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?

Two sentences, front-loaded with the core purpose and followed by the concrete strategy options. No filler or repetition. It is arguably too short for the behavioral gaps, but nothing present is wasted.

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

Completeness3/5

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

For a three-parameter routing tool with no annotations and no output schema, the definition explains what is decided but not the result shape, side effects, or where it fits in the sibling workflow. The parenthetical strategy list is helpful context, yet key operational details are missing.

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?

All three parameters have schema descriptions at 100% coverage, so the schema already explains task_description, repo_context, and working_directory. The description adds nothing about what to put in these fields or how repo_context influences the chosen strategy. Baseline 3 applies when the schema does all the semantic work.

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-plus-resource: it 'determines the optimal execution strategy' and names the candidate strategies (direct edit, TDD, parallel subagents, brainstorm), plus the security/UI skill check. That is far more concrete than a restated title. It stops short of differentiating itself from nearby siblings like jev_decide or jev_autopilot_decide, which also sound like decision tools.

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 or when-not-to-use guidance and no named alternative. An agent cannot tell from this text whether to call this before starting any task, only for ambiguous ones, or instead of jev_decide/jev_autopilot_decide. The strategy list implies the tool's domain but not the trigger conditions.

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