---
title: What is a tool allow-list?
type: glossary
url: https://agentsfordevs.com/glossary/tool-allow-list
markdown: https://agentsfordevs.com/glossary/tool-allow-list.md
publisher: Agents for Devs
author: Agents for Devs desk
reviewed_by: Agents for Devs desk
published: 2026-12-06
updated: 2026-12-06
license: https://agentsfordevs.com/reuse
citation: Agents for Devs. "What is a tool allow-list?." Published Dec 6, 2026. https://agentsfordevs.com/glossary/tool-allow-list
attribution: Credit Agents for Devs and link to https://agentsfordevs.com/glossary/tool-allow-list
term: Tool allow-list
aliases:
  - tool allowlist
  - tool filtering
---

# What is a tool allow-list?

A tool allow-list is a default-deny policy that names the tools an agent may see or call, so that any tool not on the list is hidden or blocked.

**Definition:** A tool allow-list is a default-deny policy that names the tools an agent may see or call, so that any tool not on the list is hidden or blocked.

```bash
# Server side: GitHub's MCP server exposes only these toolsets, minus write tools
github-mcp-server --toolsets repos,issues,pull_requests --read-only
```

```json
{ "permissions": { "allow": ["mcp__github__get_*"] } }
```

The command filters at the source: per GitHub's README, `--toolsets` enables only the named groups, and `--read-only` skips write tools even if they were requested explicitly. The JSON filters in the host: Claude Code runs matching tools without asking and prompts for the rest. Anthropic's docs only accept allow globs after a literal `mcp__<server>__` prefix, so one rule can't quietly approve every server.

A gateway is the third place to enforce one, trimming the list before the client sees it. Spec version 2026-07-28 allows for this, since a server's tool list "MAY vary by the authorization presented on the request."

A server allow-list decides which servers connect at all; a tool allow-list narrows what an approved server can do. Neither checks arguments, so pair them with least-privilege credentials and approval for writes. OWASP's LLM06:2025 entry recommends limiting agents to the minimum extensions and functions they need, and fewer tools also means fewer descriptions that could carry tool poisoning.

**See also:** [Least privilege for agents](/glossary/least-privilege-agents) · [Tool bundle](/glossary/tool-bundle) · [How coding agents ask permission](/guides/coding-agent-permissions) · [What an MCP gateway does](/guides/mcp-gateway-explained)

## Sources

1. [GitHub MCP Server (README), GitHub](https://github.com/github/github-mcp-server)
2. [Configure permissions, Anthropic (Claude Code docs)](https://code.claude.com/docs/en/permissions)
3. [Tools (MCP specification version 2026-07-28), Model Context Protocol](https://modelcontextprotocol.io/specification/2026-07-28/server/tools)
4. [LLM06:2025 Excessive Agency, OWASP Gen AI Security Project](https://genai.owasp.org/llmrisk/llm062025-excessive-agency/)

## Changelog

- 2026-12-06: First published.

## Cite this page

Agents for Devs. "What is a tool allow-list?." Published Dec 6, 2026. https://agentsfordevs.com/glossary/tool-allow-list

- Page: https://agentsfordevs.com/glossary/tool-allow-list
- Markdown: https://agentsfordevs.com/glossary/tool-allow-list.md
- Reuse: quote or summarize with a link to the page. Terms: https://agentsfordevs.com/reuse
