MCP Tool Access Control tool name reference
MCP Tool Access Control matches the tools you add against the names an Model Context Protocol: A standard protocol for AI agent and server interactions that defines how AI assistants communicate with external tools and data sources.Learn more(opens in new tab) server publishes. You can add an exact MCP tool name or a glob pattern. Both the Tool Visibility: A control that governs which MCP tools an agent can discover when it requests a tool listing.Learn more and Tool Invocation: A control that governs which MCP tools an agent can call, independently of which tools it can discover.Learn more controls use that syntax. This page covers that syntax and the field limits.
To learn more about MCP Tool Access Control, see MCP Tool Access Control. To add MCP tools to an Access Policy, see Add MCP Tool Access Control to an Access Policy.
MCP tool name matching
Section titled “MCP tool name matching”A name with no glob characters matches one tool exactly.
Matching is case-sensitive.
addComment and addcomment name different tools, so adding one doesn’t cover the other.
Glob patterns
Section titled “Glob patterns”| Pattern | Matches |
|---|---|
* | Any run of characters. |
? | Exactly one character. |
[set] | One character from a set, such as [abc]. |
[a-z] | One character from a range. |
[!set] | One character that isn’t in a set or range, such as [!0-9]. |
[*] | A literal *. Brackets escape a glob character. |
** | Every MCP tool name. Valid only as the whole pattern, on its own. |
Pattern examples
Section titled “Pattern examples”| Pattern | Matches | Doesn’t match |
|---|---|---|
get_* | get_issue, get_user | list_issues |
delete_? | delete_1 | delete_issue |
[gs]et_user | get_user, set_user | let_user |
admin_[!0-9]* | admin_settings | admin_2fa |
Unsupported syntax
Section titled “Unsupported syntax”| Not supported | Use instead |
|---|---|
{get,list}_* brace expansion | One pattern per entry |
[^0-9] caret negation | [!0-9] |
get**user embedded ** | get*user |
The Aembit Tenant UI validates each entry as you type and rejects an invalid pattern with this message:
Letters, numbers, _, -, *, ?, ! and glob character classes (e.g. [a-z], [0-9]) only
Dots and slashes aren’t accepted, so an entry can’t match an MCP tool published as admin.tools.list.
MCP tool name limits
Section titled “MCP tool name limits”Each MCP Tool Name entry accepts up to 128 characters.