Skip to main content
Glama

mt_route

Read-only

Classifies incoming messages and returns keyword routing suggestions that separate casual chat from project memory; pass a project name to also retrieve that project's mainline state.

Instructions

返回关键词路由建议。显式传 project 时可返回该项目主线

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": {
      "message": "<message>"
    },
    "name": "mt_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYes
projectNo显式项目名,使用 mt_set_project 初始化

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.8/5.0
Behavior3/5

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

The readOnlyHint=true annotation already covers the safety profile, and the description is consistent with it. It adds the useful behavior that an explicit project switches to returning that project's mainline, but it remains silent on how routing is computed and what the response 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?

Two short clauses with no filler, and the primary behavior is front-loaded before the project caveat. The brevity is efficient, though it comes at the cost of under-explaining the core concept.

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

Completeness2/5

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

There is no output schema, so the description carries the burden of explaining what a routing suggestion is and what is returned, and it does neither. For a tool whose entire value is its output, an agent is left guessing what to expect after the call.

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 50%: the schema documents project as an initialized project name from mt_set_project, and the description reinforces that passing it changes the output. The required message parameter is undocumented in both the schema and the description, so meaning is only partially added.

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 description uses the specific verb '返回' with the resource '关键词路由建议', and it adds a second mode (project mainline). However, 'keyword routing suggestion' is left undefined, so an agent cannot tell what a suggestion contains or how this differs from mt_search or mt_branch.

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?

The description names no alternatives and no when-to-use or when-not-to-use conditions. The only selection signal is the conditional mention of the project parameter, which is about input shape rather than tool choice.

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