Skip to main content
Glama

search_web

Read-onlyIdempotent

Search the web from a Singapore mobile IP, with results localised to Singapore.

Returns up to 10 organic results with title, URL and snippet (DuckDuckGo, Singapore
region). Use when the user wants Singapore search results or local rankings; read
a result in full with fetch_url.

Args:
    query: What to search for.
    num: How many results to return, 1-10 (default 10).

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_web"
  }
}

Input Schema

NameRequiredDescriptionDefault
numNoHow many organic results to return, from 1 to 10. Defaults to 10.
queryYesThe search terms, written as you would type them into a search engine, e.g. 'best laksa near Katong'.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / num / description
      Added value: +"How many organic results to return, from 1 to 10. Defaults to 10."
    • addedInput schema / properties / query / description
      Added value: +"The search terms, written as you would type them into a search engine, e.g. 'best laksa near Katong'."
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent and non-destructive behavior, so the safety profile is covered. The description adds genuinely non-obvious context beyond that: the request originates from a Singapore mobile IP, the backend is DuckDuckGo's Singapore region, and the result ceiling is 10 organic hits. It stops short of mentioning rate limits or throttling, which is the only real gap.

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?

Front-loaded with the differentiating scope and the usage condition in the first two paragraphs, which is the right order. The trailing 'Args' block is largely redundant with a 100%-documented schema, so one section does not earn its place.

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 two-parameter search tool with an output schema, nothing an agent needs is missing: origin IP, region, result count, return field shape (title, URL, snippet), and the natural next step are all stated. Complexity is low and the description matches it without padding.

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% and both parameters already carry descriptions with examples, so baseline is 3. The 'Args' section restates the same information ('What to search for', 'How many results... default 10') without adding format, syntax, or edge-case guidance beyond 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?

States a specific verb and resource ('Search the web') plus a distinguishing scope — Singapore mobile IP, Singapore-localised results. It also implicitly separates itself from fetch_url by positioning itself as the discovery step rather than the full-read step.

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

Usage Guidelines5/5

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

Gives an explicit selection condition ('when the user wants Singapore search results or local rankings') and names the follow-on alternative ('read a result in full with fetch_url'). An agent knows both when to call this and what to call next.

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.