Overview

Tool filtering lets you limit which connected MCP tools are visible to the model for a given request. ModRouter supports two request headers:

Filter by Client

Filter by Tool

Tools use the clientName-toolName format.

Wildcards

Go SDK

Deny All Tools

Send an empty filter to make no MCP tools available for a request: