Back to catalog / MCP clients
Review MCP tools and side effects before agent use
Inspect names, descriptions, schemas, permissions, and side effects before exposing remote MCP tools to an agent.
Goal
Allow the agent to call only reviewed tools with permissions appropriate to the task.
Steps
- Review
name,description, andinput_schemawith MCPClient.list_tools(); obtain the complete list from a trusted server. [openai-mcp] [mcp-client] - Set
tool_filter=create_static_tool_filter(allowed_tool_names=[...])onMCPServerStdioorMCPServerStreamableHttpto expose only reviewed tools. [openai-mcp] [mcp-client] - Set
require_approval="always"for write-capable tools, then attach the approved server to the agent under application policy. [openai-mcp] [mcp-client] - Add approved tools explicitly to agent configuration and disable others. [openai-mcp] [mcp-client]
- Add a regression check that new remote tools do not automatically gain agent access. [openai-mcp] [mcp-client]
How to verify
Keep a per-tool review record; verify newly added tools are unavailable until approved.
Troubleshooting
If a tool appears unexpectedly, ensure configuration explicitly allowlists tools rather than accepting all discovered tools.
Permissions
Prerequisites
- Python 3.10+ and the MCP Python SDK compatible with the pinned revision
- openai-agents and authorized model-provider credentials only when running agent inference
Permissions
- Use a local or isolated test environment; use least privilege and approval for external data or side effects
Limitations
SDK behavior varies by version. Check the pinned revision against your agent or client, then review data retention, authorization, and side effects before production use.
Pinned upstream source
- Repository
- modelcontextprotocol/python-sdk
- File path
- docs/servers/tools.md
- Pinned commit
754254c08fe1c3eda18b69da3d336106fe8d72d6- Source checked
- 2026-10-14 · Reviewed against the pinned upstream source
Repository metrics
These values describe the upstream repository, not popularity or likes for an individual skill or playbook.
- Stars
- Not collected
- Forks
- Not collected
- Observed at
- Not collected
No metrics snapshot is available yet.
License: MIT