Skip to main content
Glama

判斷一句搜尋或提問屬於資訊探索、商業比較、技術除錯或行動指引哪種意圖

classify_search_intent
Read-onlyIdempotent

判斷一句搜尋或提問屬於資訊探索、商業比較、技術除錯或行動指引哪種意圖,並給出建議答案結構、結構化資料類型與本站相關內容。

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": {
      "q": "<q>"
    },
    "name": "classify_search_intent"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, covering the safety profile. The description usefully adds that the call returns a suggested answer structure, a structured data type and related site content — partial return-value disclosure in the absence of an output schema — but gives no detail on output shape, confidence, or handling of ambiguous/off-topic queries.

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 dense sentence that front-loads the classification action and enumerates the four intent labels before listing outputs. Every clause carries information; the only weakness is that the three output items are packed into one trailing phrase rather than separated.

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 classifier with no output schema, the description covers purpose and roughly what is returned, and annotations cover safety. It still leaves gaps on input expectations and on when an agent should choose this tool over the search/explain siblings.

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 description coverage is 0% for the single parameter q, so the description must carry the load; it implies q is 'a search query or question' being classified, which is a real hint. However it does not specify expected language, length, or whether multi-sentence or empty input is acceptable, so it only partly compensates for the undocumented parameter.

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+resource: classify a search query/question into one of four named intents (資訊探索、商業比較、技術除錯、行動指引). It also states the three outputs (suggested answer structure, structured data type, related site content), which makes the tool's role distinguishable from siblings like explain_term or get_howto.

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 explicit when-to-use or when-not-to-use guidance, and no mention of alternatives such as the glossary or howto siblings. The only implicit cue is that the input is 'a search query or question', which an agent must infer from the purpose sentence rather than from stated routing rules.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources