Skip to main content
Glama
me3o2024

Ollama Web Search MCP

by me3o2024

search_and_fetch

Search the web and fetch top result pages in a single call, reducing agent round trips while returning per-page errors alongside successful content.

Instructions

Search the web and fetch the top results in one call.

This convenience tool reduces agent round trips. Individual fetch failures are returned beside successful pages instead of failing the whole operation.

Args: query: A concise search query. Do not include secrets or confidential data. max_results: Number of search results to return, from 1 to 10. fetch_top: Number of top result pages to fetch, from 1 to max_results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
fetch_topNo
max_resultsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the load and does disclose meaningful behavior: partial failures are returned alongside successes rather than aborting the whole call. It omits auth/rate-limit or caching behavior, but the failure-handling disclosure is a genuine addition beyond structured fields.

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 one-line purpose before any detail, then a behavioral note, then a compact Args block. Slight redundancy between the intro and the Args restatements, but nothing wasted.

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?

An output schema exists so return values need not be described, and the description adequately covers purpose, failure semantics, and all three parameters. For a simple 3-param convenience tool this is close to complete; only cross-cutting concerns like rate limits or auth are absent.

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

Parameters4/5

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

Schema coverage is 0%, so the description must compensate, and it does: it gives ranges (1-10 for max_results, 1 to max_results for fetch_top) that the schema lacks, plus a safety constraint on query ('Do not include secrets or confidential data'). It doesn't explain the interaction if fetch_top exceeds available results, but the core semantics are covered.

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 compound verb+resource: 'Search the web and fetch the top results in one call.' The combining nature implicitly differentiates it from siblings web_search and web_fetch, but it never names them, so the distinction is left to inference.

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

Usage Guidelines4/5

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

'This convenience tool reduces agent round trips' gives clear context for when to prefer it over making separate search and fetch calls. No explicit when-not conditions or rate/permission caveats are stated, but the usage context is unambiguous.

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

Deploy Server

Other Tools