Skip to main content
Glama

搜尋引擎與 AI 爬蟲工具箱

build_search_urls

build_search_urls
Read-onlyIdempotent

一次產生 Google、Bing、Yahoo 奇摩、百度、YouTube 的進階搜尋網址(關鍵字、完全符合、排除字、限定網站、檔案類型、時間)。

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

Input Schema

NameRequiredDescriptionDefault
qYes
siteNo
timeNo
exactNo
excludeNo
filetypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered and the description's main contribution is the batching behavior – all five engines are produced in one call. It omits what the response actually looks like (five separate URLs? an object keyed by engine?) and whether the URLs are percent-encoded or ready to paste.

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?

A single dense sentence with zero filler, front-loaded on the action and the engines before the parameter parenthetical. The enumerated list is compact and each item earns its place, though it renders the sentence slightly long for a one-line definition.

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

Completeness3/5

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

There is no output schema, so the description must explain the return value, and it only says URLs are generated for five engines without specifying the result shape, per-engine labeling, or encoding. Combined with the unexplained input formats, an agent knows what the tool is for but not precisely what it gets back.

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 description coverage is 0%, so the description carries the full burden, and it largely succeeds by naming all six semantic concepts in one parenthetical that maps back to q, exact, exclude, site, filetype and time. It does not clarify the accepted format for the multi-value fields (e.g. how to pass several excluded terms) or the meaning of the time enum values, which leaves a real gap.

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?

The description names a specific verb and resource ("產生…進階搜尋網址") and enumerates the five target engines (Google, Bing, Yahoo 奇摩, 百度, YouTube), so an agent can immediately tell this is a URL-builder rather than a search or audit tool. It stops short of distinguishing itself from the closest sibling, search_operators, which is the one tool an agent might confuse it with.

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

Usage Guidelines3/5

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

Usage is only implied: the parenthetical capability list (keyword, exact match, exclude, site, filetype, time) hints at when the tool is useful, but there is no explicit statement of when to call it instead of a sibling such as search_operators or serp_preview, and no preconditions or exclusions are given.

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