Argument-level permission rules for MCP tools: tool-name allowlists aren't enough

radim11 · reddit · 2026-10-20

A Reddit practitioner argues that MCP permissions based on tool names alone are insufficient, since the same tool can do very different things depending on its arguments — e.g. letting an agent access GitHub but only certain repos, especially when credentials lack resource scopes.

They shipped argument-level rules for MCP tools, plus JSON body rules for regular API requests, in their open-source CLI, enforcing restrictions on actual arguments and request data. The post asks how others handle this: pre-execution argument validation, in-server permission enforcement, or plain tool-level allowlists.

Original post →

More from coding & agent

coding & agent channel →