Skip to main content
Glama

Groundsocial

Search Baidu

baidu_search_all
Read-onlyIdempotent

Baidu web results: titles, URLs, snippets, card types.

Baidu results in Baidu’s order: title, target URL, snippet and the card template (www_index for plain web results; baike, video and others for Baidu’s own cards). Baidu sends later result pages (pn) of a logged-out visitor to a security check, so this is the first page (about 10 cards); limit caps it and page must be 1.

Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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

Input Schema

NameRequiredDescriptionDefault
pageNo
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, yet the description adds substantive context on top: 1 credit per call refunded automatically on failure, public data only, and a warning that later `pn` pages trigger a security check for logged-out visitors. It even names the cost fields returned (cost_credits, credits_remaining), so the agent can anticipate both billing behavior and the reason for the page restriction.

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?

Three tight paragraphs front-load the return shape, then the ordering/page constraint, then cost — a sensible priority order with no filler. There is mild redundancy in repeating 'Baidu' throughout and restating the card explanation, but nothing that wastes real space.

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

Completeness5/5

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

For a three-parameter, no-output-schema search tool, everything an agent needs is present: what comes back, why the paging is limited, how `limit` interacts with the real result ceiling, and what the call costs. The absence of an output schema is offset by the explicit field and cost-field listing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must carry the burden and largely does: it explains that `limit` caps results despite the ~10-card ceiling, and that `page` must be 1 even though the schema permits up to 50 — a crucial disambiguation the schema alone would get wrong. The `query` parameter is left implicit (its purpose is obvious from the tool name), which is the only minor gap.

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?

The first line names the resource (Baidu web results) and enumerates the concrete return fields: titles, URLs, snippets, card types. The second sentence goes further and explains that the `card` field is a Baidu-specific template (www_index, baike, video), which makes the tool's distinctive output shape unmistakable.

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?

The description gives clear operating conditions: results come back in Baidu's own order, this is the first page only (about 10 cards), `limit` caps the count, and `page` must be 1. It does not explicitly route the agent to alternatives such as bing_search_all, but the constraints that determine correct usage are stated plainly.

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.