Agent Wealth HubFree public resources
中文 EN العربية

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

  1. Review name, description, and input_schema with MCP Client.list_tools(); obtain the complete list from a trusted server. [openai-mcp] [mcp-client]
  2. Set tool_filter=create_static_tool_filter(allowed_tool_names=[...]) on MCPServerStdio or MCPServerStreamableHttp to expose only reviewed tools. [openai-mcp] [mcp-client]
  3. Set require_approval="always" for write-capable tools, then attach the approved server to the agent under application policy. [openai-mcp] [mcp-client]
  4. Add approved tools explicitly to agent configuration and disable others. [openai-mcp] [mcp-client]
  5. 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

Permissions

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

https://github.com/modelcontextprotocol/python-sdk/blob/754254c08fe1c3eda18b69da3d336106fe8d72d6/docs/servers/tools.md

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

Main topic

When to use a Skill or MCP

Related resources