Skip to main content
Glama

qy_source

中国信源检索(find):用一句自然语言问题,从 886 条结构化中国官方信源(zh/en, JSON-LD)里返回最相关的 5 条【实体】(可用 limit 调整),含摘要 / sourceUrl / lastChecked(核验日) / validUntil(有效期至)。适用:查"外国人在华/深圳怎么办 X"这类办事指引、政策文件、城市概况、名单名录。命中后若要正文,再用 get{id} 取全文。只读,无写入口。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoget 用: 条目 id(@id/identifier) 或相对路径。【旧 ID 解析】旧 ID 仍返回 200,但仅解析到中文(cn/zh-Hans);英文实体须用新 ID howto:en:…;旧 ID 对英文不兼容。(无语言段 ID 兜底落 cn;取英文必须显式带 en 段)
pathNolist 用: 相对目录, 缺省为根
limitNofind 条数, 默认 5; list 条数, 默认 20
queryNofind 用: 一句自然语言问题(如"外国人在深圳怎么办手机卡")
actionNofind(默认) | get | list

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"get 用: 条目 id(@id/identifier) 或相对路径"New value: +"get 用: 条目 id(@id/identifier) 或相对路径。【旧 ID 解析】旧 ID 仍返回 200,但仅解析到中文(cn/zh-Hans);英文实体须用新 ID howto:en:…;旧 ID 对英文不兼容。(无语言段 ID 兜底落 cn;取英文必须显式带 en 段)"
  2. Changed1 schema field changed
    • changedInput schema / properties / limit / description
      Previous value: -"find/list 条数, 默认 20"New value: +"find 条数, 默认 5; list 条数, 默认 20"
  3. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"find 用: 关键词/问题"New value: +"find 用: 一句自然语言问题(如\"外国人在深圳怎么办手机卡\")"
  4. Added

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does well: it declares 只读/无写入口 (equivalent to readOnlyHint), reports the corpus size (886), and specifies the returned fields (摘要/sourceUrl/lastChecked/validUntil). It stops short of noting pagination behaviour beyond limit or any auth/rate constraints, which is the only gap.

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?

Front-loaded with action, resource and return shape, then usage examples, then the follow-up call — a logical order with little waste. It is a single dense paragraph rather than scannable fragments, which slightly hurts readability but every clause conveys information.

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?

There is no output schema and no annotations, so the description must cover returns and safety, which it does (field list, read-only, validUntil/lastChecked recency signals). Combined with the routing hint to get{id}, an agent has what it needs; only error/edge-case behaviour is unaddressed.

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%, so the schema already documents query, limit, id, path and action. The description only re-states the limit semantic ("可用 limit 调整", default 5 for find), which matches the schema without adding format or syntax guidance. Baseline 3 is correct when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (检索/find), a concrete resource (中国官方信源), and quantifies scope (886 structured zh/en JSON-LD sources, top-5 entities). It also names the follow-up sibling operation (get{id}) for full text, so an agent knows exactly what this tool produces versus the retrieval step. Sibling tools (qy_bid, qy_board, etc.) are unrelated domains, so no further differentiation is required.

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

Usage Guidelines5/5

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

Explicitly enumerates applicable scenarios (办事指引 for foreigners in China/Shenzhen, 政策文件, 城市概况, 名单名录) and gives a concrete example question. It also states the when-to-use-next condition: "命中后若要正文,再用 get{id} 取全文", routing the agent to the correct follow-up call.

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.