Skip to main content
Glama

web-search

Web search: licensed Exa/Brave results with snippets — Runs a web search through a licensed search API (Exa or Brave) and returns up to 10 ranked results with title, URL, snippet, highlights and published date, for agents that need current links. Does not scrape search engines, does not fetch or summarize the result pages (use page-contents for that), and does not use a model.

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
siteNoRestrict to a domain, for example example.com.
queryYesSearch query.
providerNoauto uses Exa when configured, else Brave.auto
date_fromNoOnly results published on or after this date, YYYY-MM-DD.
num_resultsNo
include_textNoAsk the provider for highlights/extra snippet text per result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses that results come from a licensed API rather than scraping, that no model is involved, that pages are not fetched, and that at most 10 results are returned. It stops short of operational traits an agent would want — API-key/configuration requirements, rate limits or cost, and what happens when neither provider is configured.

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?

The core capability is front-loaded in the first clause, followed by return shape then exclusions — a sound ordering. It is slightly dense as one em-dash-chained sentence, but nearly every clause carries distinct information.

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 six-parameter tool with no annotations and no output schema, the description usefully compensates by enumerating the returned fields and the provider/no-scraping constraints. The remaining gap is failure and quota behavior when a provider is unconfigured, which matters for a tool whose provider selection depends on configuration.

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 83%, so the schema already documents query, site, provider, date_from, num_results and include_text; baseline is 3. The description only echoes the result cap (10) and the highlights/snippet notion, adding no format, default, or interaction detail 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 ("Runs a web search") plus the backing mechanism (licensed Exa or Brave API) and the exact return shape (up to 10 ranked results with title, URL, snippet, highlights, published date). It also explicitly separates itself from page-contents, so an agent can pick between them without opening a schema.

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 a positive usage condition ("for agents that need current links") and a negative one with a named alternative ("does not fetch or summarize the result pages (use page-contents for that)"). That is exactly the when/when-not/alternative structure needed.

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