# gated_mcp_tool_names

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/auto_mode/gated_mcp_tool_names)

Return MCP names that require Manual or Auto review.

## Signature

```python
gated_mcp_tool_names(
    mcp_tools: Sequence[BaseTool],
) -> set[str]
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `mcp_tools` | `Sequence[BaseTool]` | Yes | Exact tools returned by MCP discovery. |

## Returns

`set[str]`

Names lacking coherent read-only annotations.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/4bfa52000ef65ac623d8ada0cb67f67cbdd663ea/libs/code/deepagents_code/auto_mode.py#L730)