Skip to main content
Glama

baidu_search

Read-only

Searches Baidu's mobile web results for a query and returns result cards with type (web, video, or baike), title, destination URL, snippet, publisher, and date, with page-based pagination. Use for Chinese-language web research; Baidu occasionally challenges requests, so retry on a 503.

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": "baidu_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch query. Required, e.g. openai. Chinese queries return the richest results.
pageNo1-based result page, default 1, maximum 10.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly=true, openWorld=true and idempotent=false, so the safety profile is covered. The description then adds behavior annotations cannot express: Baidu intermittently issues challenge responses and a 503 should be retried, which materially changes how an agent should handle failure. It also flags mobile-web scoping and page-based pagination.

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, both front-loaded: capability and return shape first, operational caveat second. Nothing is redundant with the schema and no sentence can be dropped without losing 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?

With an output schema present, the return-shape summary is optional but harmless, and the annotations plus 100%-covered schema mean little else is required. The only residual gap is that it never says what a challenge response looks like beyond HTTP 503 or what page 10 exhaustion implies.

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 100% and the schema already documents both parameters, including the 1-based default and the maximum of 10 for page. The description's "page-based pagination" restates that without adding format, boundary, or interaction semantics. Baseline 3 is appropriate when the schema carries the parameter burden.

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?

It names a specific verb and resource ("Searches Baidu's mobile web results for a query") and enumerates the returned card fields (type, title, URL, snippet, publisher, date), so the agent knows this is a web-results lookup, not a suggestion or a non-Baidu search. It stops short of naming any sibling (e.g. baidu_suggest), leaving that differentiation to the language-domain hint.

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?

"Use for Chinese-language web research" gives a clear positive selection condition tied to query language, which is genuinely useful given a catalog full of other search tools. It omits any explicit when-not or named alternative, so the agent must infer that English-language or non-web lookups belong elsewhere.

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.