> SpecStream is the live web data engine for teams and agents. This is the Markdown copy of https://specstream.ai/blog/hosted-mcp-tool-filtering-for-ai-agents. Every page, with what SpecStream does and costs: https://specstream.ai/llms.txt

# MCP tool filtering for AI agents: 4 tools in 17 KB with ?tools=

SpecStream

[MCP](https://specstream.ai/blog.md) · Nov 26, 2026 · 3 min read

An MCP client puts every tool definition a server lists into the model's context. SpecStream's hosted MCP server at `https://api.specstream.ai/mcp` takes a `?tools=` query parameter that cuts the list to the tools an agent needs. `?tools=search` lists 4 tools in 17,515 bytes. `?tools=extract` lists 1 tool in 3,146 bytes. Without a filter, the same request lists 71 tools in 153,564 bytes.

The filter also guards the connection: a tool left out of the list is refused if the agent calls it anyway.

## What each filter lists

`tools/list` on `https://api.specstream.ai/mcp`, sent on November 26, 2026 before sign in. Bytes are the size of the JSON reply.

| Address | Tools listed | Bytes | Share of the unfiltered list |
| --- | --- | --- | --- |
| `/mcp` | 71 | 153,564 | 100% |
| `/mcp?tools=lists` | 18 | 51,853 | 33.8% |
| `/mcp?tools=research` | 9 | 25,132 | 16.4% |
| `/mcp?tools=search` | 4 | 17,515 | 11.4% |
| `/mcp?tools=search_web,read_pages` | 2 | 14,383 | 9.4% |
| `/mcp?tools=extract` | 1 | 3,146 | 2.0% |

A signed in account lists more tools than this: at the release of the filter on November 26, the full list of a signed in account measured 165 tools in 323 KB, and `?tools=search` cut it to the same 4 tools in 17 KB.

## The presets

| Preset | Tools |
| --- | --- |
| `search` | `search_web`, `read_pages`, `list_web_searches`, `get_web_search` |
| `extract` | `read_pages` |
| `research` | The four search tools, plus `research_price`, `start_research`, `get_research`, `cancel_research` and `list_research` |
| `lists` | `compile`, `edit_spec`, `spec_options`, the quote and run tools, `get_find`, `list_find_rows`, `cancel_find`, `export_find` and `get_capacity_balance` |
| `browser` | The browser session tools, where browser sessions are on |

Presets and exact tool names mix, separated by commas, and case and spaces do not matter: `?tools=search,research_price` keeps the search tools and the price tool. The `lists` preset lists one quote tool and one run tool per job, so 11 names in the preset list as 18 tools.

## Pick the smallest set for the job

-   **A chat agent that answers questions from the live web:** `?tools=search`. It searches, reads the pages a search returned, and finds its earlier searches.
-   **A pipeline that already has its URLs:** `?tools=extract`. One tool, `read_pages`, returns the full text of the pages.
-   **A research agent that writes cited reports:** `?tools=research`. Search, plus the tools that price, start and read a report.
-   **An agent that builds tables with a source for each value:** `?tools=lists`. It compiles the request, quotes it, runs it after approval and reads the rows.

## Set it up in a client

Use the filtered address wherever the client takes an MCP server URL. In Claude Code:

```bash
claude mcp add --transport http specstream "https://api.specstream.ai/mcp?tools=search"
```

In a client that reads an `mcpServers` file, such as Cursor:

```json
{
  "mcpServers": {
    "specstream": {
      "url": "https://api.specstream.ai/mcp?tools=search"
    }
  }
}
```

The connection signs in with OAuth, or with a SpecStream API key as a Bearer token in `Authorization: Bearer <key>`. The OAuth sign in keeps the filter.

## Refusals and errors

A filter that names no preset and no tool is refused before any tool loads, with a JSON-RPC error that names the presets:

```json
{"jsonrpc":"2.0","id":1,"error":{"code":-32602,"message":"The tools parameter names no tool or preset: nope. The presets are search, extract, research, browser, lists."}}
```

A call to a tool the filter left out is refused with a message that says why.

## Try the tools first

Run a live search with no sign up in the [web search tester](https://specstream.ai/tools/web-search-tester.md), and read every tool, argument and reply in the [MCP docs](https://specstream.ai/docs/mcp.md). The [API docs](https://specstream.ai/docs.md) cover the same Search API and Extract API over HTTP. [Sign up](https://specstream.ai/workspace/signup) and the key works on both. New accounts get $10 of credit, no card.

## More from the blog

[Every post](https://specstream.ai/blog.md)

[### MCP tool list token cost: 41,610 tokens down to 799 Measured on November 26, 2026: SpecStream's hosted MCP server lists 71 tools in 41,610 tokens without a filter, 4 tools in 4,377 tokens with ?tools=search and 1 tool in 799 tokens with ?tools=extract Nov 26, 2026 · SpecStream · 4 min read](https://specstream.ai/blog/mcp-tool-list-token-cost-by-filter.md)[### Active podcasts 2026: 423,288 shows, 169,818 publish weekly 423,288 podcasts published an episode in the 90 days to November 14, 2026, and 169,818 publish at least weekly Nov 26, 2026 · SpecStream · 4 min read](https://specstream.ai/blog/active-podcasts-and-sponsor-categories-2026.md)[### AI search API pricing 2026: SpecStream $1 per 1,000 vs Exa, Tavily SpecStream's Search API costs $1 per 1,000 fast searches and $5 default, against Exa at $4 to $12, Tavily at $8 to $16, Firecrawl at $10 and Google Custom Search at $5 until it ends January 1, 2027 Nov 26, 2026 · SpecStream · 5 min read](https://specstream.ai/blog/ai-search-api-pricing-comparison-2026.md)
