Skip to main content
Glama

company_route

Read-only

Routes a task description to the appropriate department using deterministic rules, avoiding LLM calls for consistent governance decisions.

Instructions

Deterministic department routing without any LLM call (FR-003/FR-005).

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": {
      "taskDescription": "<taskDescription>"
    },
    "name": "company_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskDescriptionYesTask to route.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so safety is covered. The description adds genuinely useful behavioral context beyond that: the operation is deterministic and invokes no model, which tells the agent results are reproducible and cheap. It still omits what happens on an unroutable task, whether there is a fixed department set, and any tie-breaking behavior.

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 compact sentence with no filler and the key property (deterministic, no LLM) front-loaded. The requirement IDs (FR-003/FR-005) are internal noise that does not help an agent, but they cost little.

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 one-parameter read-only routing tool this covers the essential purpose, but with no output schema the description should say what a 'route' resolves to (a department name? an ID? a confidence?) and what an agent should do with it. That gap keeps it at minimum viable.

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?

Only one parameter with 100% schema description coverage ('Task to route'), which sets the baseline at 3. The description adds no constraint on how the task description should be phrased, its length, or granularity needed for a correct route.

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 specific resource and mechanism: 'department routing' that is 'deterministic' and performs no LLM call. An agent can tell this maps a task to a department, though the description never says what the route output looks like or how departments are identified, and it does not distinguish itself from company_execute_decision or company_spec_validate.

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?

No when-to-use, when-not-to-use, or alternative is named. The 'without any LLM call' phrase hints at a deterministic/pre-flight use case but the agent must infer when to call this instead of the sibling tools.

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