Skip to main content
Glama

classify_mode

Classifies user queries into Fast, Chunk, or Deep thinking modes and returns mode, phases, confidence, and reasoning to guide task handling.

Instructions

Classify user query into Fast, Chunk, or Deep thinking mode. Returns mode, phases, confidence, and reasoning.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "classify_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden. It does disclose the return payload (mode, phases, confidence, reasoning), which implies a pure analytical/read-only operation, but it never states there are no side effects, whether it is deterministic, or what the confidence value means for downstream decisions.

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

Conciseness5/5

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

Two short sentences, zero filler. The action and its output modes are front-loaded, and the return-field list follows immediately.

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 single-parameter classifier with no output schema, listing the returned fields is genuinely helpful and largely covers the return side. However, with zero annotations, an undocumented parameter, and no guidance on where this fits relative to run_deep_pipeline or agent_plan, the definition leaves key decisions unresolved.

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 0% and the single 'query' property has no type or description. The phrase 'Classify user query' does imply the parameter is the raw user query, but the description adds no format, length, or example guidance to compensate for the empty schema.

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 names a specific verb ('Classify') and its resource ('user query') and enumerates the three output modes (Fast, Chunk, Deep). This is clear enough to act on, but it does not distinguish the tool from siblings such as run_deep_pipeline or agent_plan, which an agent could plausibly reach for instead.

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 prerequisites, and no named alternative. The description never says whether this should be called before run_deep_pipeline or agent_plan, nor when a classification is unnecessary, leaving the routing decision entirely to inference.

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