Skip to main content
Glama

Engine Heart

train.search_station

按关键词搜索12306车站名称,返回匹配的车站中文名列表。不确定城市有哪些车站时使用。

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": {
      "keyword": "<keyword>"
    },
    "name": "train.search_station"
  }
}

Input Schema

NameRequiredDescriptionDefault
keywordYes关键词,如 "北京"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 conveys that this is a read-style lookup that returns station names rather than schedules or codes, but it does not say how matching works (fuzzy vs exact), whether results are limited in number, or what result shape or ordering to expect.

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 with zero waste; purpose and return value come first, followed by the usage condition.

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

Completeness4/5

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

For a one-parameter lookup tool with no output schema, the description covers purpose, return type, and usage context. The only meaningful gap is match behavior and result limits, which matters when a broad keyword could return many stations.

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 100% with an example ("北京"), so the schema already documents the single parameter. The description repeats that the search is keyword-based but adds no format, matching, or length guidance beyond that.

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 and resource (搜索12306车站名称, search 12306 station names) and states the return value (匹配的车站中文名列表, a list of matched station Chinese names). It is distinguishable from the ticket-query sibling, though it never names that sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit when-to-use condition: 不确定城市有哪些车站时使用 (use when you're unsure which stations a city has). It states no when-not conditions and names no alternative tool, so it falls short of a full routing rule.

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