Skip to main content
Glama

baidu_serp: GET /

hasdata_baidu_serp_getBaiduSearchResults
Read-only

Get Baidu Search Results

Searches Baidu, the main search engine in mainland China, so Chinese-language queries return the fullest results and answer boxes. The site:, filetype:, intitle: and inurl: operators work inside q, while Baidu treats quoted phrases loosely and ignores word exclusion with -. dateFrom and dateTo override timePeriod and are read in Beijing time. Organic links are the real destination URLs, not Baidu redirects.

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

Input Schema

NameRequiredDescriptionDefault
qYesThe search term, which may include Baidu search operators.
numNoThe number of results per page.
pageNoThe page number of the results.
siteNoLimits results to a single website.
dateToNoThe latest publication date of the results.
dateFromNoThe earliest publication date of the results.
fileTypeNoLimits results to documents of the given file type.
languageNoLimits results to pages in simplified or traditional Chinese.
searchInNoMatches the query only in page titles or only in URLs.
timePeriodNoLimits results to pages published within the last day, week, month or year.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavior the annotations cannot: quoted phrases are treated loosely, `-` exclusion is ignored, dateFrom/dateTo take precedence over timePeriod in Beijing time, and organic links are real destination URLs rather than Baidu redirects. It does not discuss pagination limits, rate limits, or result volume, so it earns a solid but not top score.

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?

Four tight sentences, front-loaded with purpose, then query-operator caveats, then date precedence, then return-value nature. Every sentence carries information an agent would otherwise have to guess, and there is no filler.

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 10-parameter search tool with no output schema, the description covers query syntax, date handling, and what the returned links actually are. Pagination behavior via num/page and any per-call result caps are left unaddressed, which is a modest gap given how central paging is to SERP usage.

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 100%, so the baseline is 3; the description exceeds it by explaining that site:, filetype:, intitle:, and inurl: operators work inside `q` (a second path to what the `site`/`fileType`/`searchIn` parameters do), and by stating the dateFrom/dateTo-over-timePeriod precedence plus the Beijing-time interpretation. It leaves `num` and `page` semantics to the schema.

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?

Opens with a specific verb and resource ('Get Baidu Search Results', 'Searches Baidu') and immediately scopes it as the mainland-China engine, which cleanly separates it from the Bing, Google, and DuckDuckGo SERP siblings. An agent can pick this tool without opening any 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?

States the selection condition clearly: use it so Chinese-language queries return the fullest results and answer boxes. That implicitly routes Chinese-language searches here rather than to the other SERP tools, but no alternative is named explicitly and there are no stated exclusions or prerequisites.

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.