WebSearch MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OLLAMA_API_KEY | No | API key for Ollama web search. Required for the `web_search` tool; `web_fetch` can run without a key. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| web_fetchA | What it does: Fetches the content of a single URL and returns it as readable markdown. HTML is converted to markdown so the result is easy to read and quote. When to use: Use this tool whenever you need to retrieve or analyze live webpage content (e.g. research, quoting, summarization, checking a link, comparing pages). Use cases (in order):
Rules and limits:
|
| web_searchA | What it does: Runs a web search for one query via Ollama's web search API. Returns a list of results. Each result has a title, a URL, and a short text snippet. Use this to discover links by topic; then use web_fetch to get full page content for any URL you choose. When to use: Use when the user wants to search the web by query, explore a topic, or find URLs about something. After you get results, pick one or more URLs from the list and call web_fetch with that URL to retrieve the full page as markdown. Workflow: Call this tool with a query (e.g. "Ollama new engine", "Deno router tutorial"). You get back up to 10 results (title, url, snippet per result). To read a full page, call web_fetch with the url from the result. One query per call; for multiple topics, call web_search once per query. Rules and limits:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: web_search discovers links by query, while web_fetch retrieves the full content of a single URL. Descriptions explicitly state the intended workflow (search first, then fetch), leaving no room for misselection.
Both names follow the identical `web_<verb>` pattern (web_search, web_fetch) with lowercase snake_case and action verbs. There is no mixing of conventions.
This is the canonical minimal search+fetch pair, and each tool clearly earns its place. However, with only two tools the surface sits at the low end of the typical well-scoped range and can feel thin for a standalone server.
Search plus fetch covers the core research loop end to end, with sensible limits (max_results, one URL per call) documented. Minor gaps remain — no multi-URL/batch fetch, no pagination or content-extraction options — but agents can work around these by looping.