Skip to main content
Glama

Web Search

web_search
Read-onlyIdempotent

Search the web and obtain ranked results with title, URL, and snippet. Get current information and verify facts without requiring an API key.

Instructions

Search the web and return ranked results (title, URL, snippet).

Use this whenever you need current information, facts you are unsure about, or to find pages to read with fetch_url. No API key required.

Args:

  • query (string): What to search for. Plain keywords work best.

  • limit (number): Max results, 1-20 (default 5).

  • response_format ('markdown' | 'json'): Output style (default 'markdown').

Returns a list of { title, url, snippet }. Follow up with fetch_url on a result's url to read it.

Example: { "query": "rust async runtime comparison", "limit": 5 }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query keywords
limitNoMax results
response_formatNomarkdown or jsonmarkdown
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true. The description adds that no API key is required, describes the result format, and suggests following up with fetch_url. This provides useful context beyond annotations, though rate limits or pagination are not mentioned.

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 concise with front-loaded purpose, followed by usage guidance, parameter details, return format, and an example. Every sentence is informative and no unnecessary words.

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 simple read-only search tool with 3 parameters and no output schema, the description fully covers purpose, usage, parameters, and follow-up actions. It is sufficiently complete to enable correct tool selection and invocation.

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 100%, so baseline is 3. The description adds minor practical tips like 'Plain keywords work best' and provides an example. This adds some value but does not significantly extend what the schema already provides.

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?

The description clearly states the tool does web search and returns ranked results with title, URL, snippet. It distinguishes from sibling tools like arxiv_search and wikipedia_lookup by mentioning 'current information' and 'facts you are unsure about'.

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?

Explicitly states when to use: 'whenever you need current information, facts you are unsure about, or to find pages to read with fetch_url'. Also notes 'No API key required', providing clear decision guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/highercomve/mcptools'

If you have feedback or need assistance with the MCP directory API, please join our Discord server