Skip to main content
Glama

web_search

Real-time web search across the public internet. Returns titles, URLs, and snippets ranked by relevance. Best for current events, general knowledge, and breaking news. Costs 15 credit(s) per call.

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

Input Schema

NameRequiredDescriptionDefault
queryYesNatural-language search query
end_dateNo
start_dateNo
country_codeNo
max_num_resultsNo
relevance_thresholdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations supplied, the description carries the load and does meaningful work: it discloses the credit cost per call (15 credits) and the return shape (titles, URLs, snippets ranked by relevance), neither of which appears in any structured field. It does not explain rate limits, result caching, or how date/country filters alter behavior, which keeps it off a 5.

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?

Three tight sentences, front-loaded with the capability, then output shape, then use case, then cost. No filler and nothing repeated from structured fields.

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?

It covers the essentials an agent needs to decide (purpose, output shape, cost) despite having no annotations and no output schema. However, for a six-parameter tool with 17% schema coverage, the absence of any guidance on the date range, country, result-count, and relevance-threshold parameters leaves the invocation underspecified.

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

Parameters2/5

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

Schema description coverage is only 17% – just 'query' is documented – yet the description says nothing about start_date, end_date, country_code, max_num_results, or relevance_threshold. Five of six parameters convey no meaning beyond their names, and the description does not compensate for that gap at all.

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?

States a specific verb and resource ('Real-time web search across the public internet') and scopes it to general-purpose public web content, which implicitly contrasts with the domain-specific siblings like academic_search or sec_search. It stops short of naming a sibling outright, so the differentiation relies on the agent knowing the other tools exist.

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?

'Best for current events, general knowledge, and breaking news' gives positive usage context, but there is no when-not guidance and no named alternative, even though news_search and ap_news_search overlap heavily with the stated 'breaking news' use case. The agent is left to infer the boundary between general web search and the specialized news tools.

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