Skip to main content
Glama

search_x_news

按关键词搜索 X 帖子并按热度排序。注意:免费镜像搜索索引较浅,空结果不代表没有内容,主通道请用 scan_accounts。

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": {
      "query": "<query>"
    },
    "name": "search_x_news"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNo抓取条数
hoursNo只保留近 N 小时的结果
queryYes搜索关键词,支持 'AI agent'、'from:OpenAI' 等

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses a real behavioral caveat (shallow free-mirror index, unreliable empty results), which is more than most definitions offer. However it says nothing about rate limits, authentication, result freshness beyond the hours param, or sorting edge cases.

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 sentences, zero waste. The core action is front-loaded and the reliability caveat plus alternative-channel routing follow immediately after.

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 3-parameter read tool with no output schema and no annotations, the description covers the essential operational risk (unreliable results, preferred alternative). It does not describe return shape, but the schema already documents all inputs completely.

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 query, count, and hours all documented in the schema including example query syntax like 'from:OpenAI'. The description adds no parameter-level detail beyond that, so the baseline 3 applies.

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 and resource ('按关键词搜索 X 帖子') plus the ordering behavior ('按热度排序'). It implicitly distinguishes itself from scan_accounts by being a keyword search rather than an account scan, so an agent can tell them apart without opening either schema.

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?

Explicitly routes the agent: the '主通道请用 scan_accounts' instruction names the alternative and the condition under which it is preferred. It also warns that empty results are not conclusive, which is actionable guidance. It stops short of stating when keyword search itself should be chosen over account scanning.

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