Skip to main content
Glama

web_search

Neural and keyword web search over the live web. Returns ranked results with title, URL, publication date and author, optionally with the page text. Sub-second on repeat queries (5-minute cache).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoSearch mode (default auto)
asyncNoIf true, returns a job_id immediately (<200ms) instead of waiting for the result. Poll the result with job_result(job_id). Use for slow tools to avoid client timeouts.
queryYesThe search query
categoryNoRestrict results to one kind of page
numResultsNoHow many results (default 10)
includeTextNoInclude the page text in each result (default false)
excludeDomainsNo
includeDomainsNo
startPublishedDateNoISO-8601 date; only pages published after it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses return fields, optional page text, and caching behavior, which is useful. However, it does not mention potential side effects, rate limits, or the meaning of 'neural' vs 'keyword' modes beyond the schema.

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?

The description is two sentences, front-loaded with the core purpose, and each sentence adds distinct value (functionality vs. performance). No wasted words.

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 search tool with a detailed schema and no output schema, the description sufficiently covers the tool's purpose, output structure, and performance. It lacks explicit sibling differentiation and some behavioral nuances, but is adequate for basic usage.

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 coverage is 78%, so the baseline is 3. The description adds minor context by implying parameter behavior (e.g., 'optionally with page text' maps to includeText), but it does not significantly explain parameters beyond the schema.

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 clearly states the tool performs 'web search over the live web' and lists output fields, which is specific and informative. It does not explicitly differentiate from sibling tools like web_answer or web_search_multilang, so it falls short of full distinction.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. It mentions 'Sub-second on repeat queries' as performance context, but there is no situational advice or exclusion criteria relative to sibling 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