New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

What are Agent Permissions?

2 min read Updated

The specific tools and operations an AI agent is authorised to perform — which MCP tools it can invoke, with what arguments, and under what constraints. Permissions define the boundary between what an agent is allowed to do and what is denied.

WHY IT MATTERS

Permissions are the granular building blocks of policy enforcement. While policies define the overall rules, permissions specify the individual capabilities: this agent can call read_file but not write_file, can invoke search but not delete.

The principle of least privilege applies directly: each agent should have only the permissions needed for its specific task. A research agent does not need write access. A code formatting agent does not need shell execution. A data analysis agent does not need filesystem access.

Permissions can be static (fixed in the policy document) or context-dependent (different policies applied for different sessions or tasks). The key is that they are defined by operators, not by the agent itself.

Agent Permissions isn't theory — define it as policy in PolicyLayer and it's enforced on every tool call.

ENFORCE THIS WITH POLICY →

Enforced before the call runs. Nothing to install.

HOW POLICYLAYER USES THIS

PolicyLayer implements agent permissions through a JSON policy document attached to each grant. In the visual policy builder, each tool is set to Allow, Deny, Hide or Custom, with optional argument conditions. Permissions are enforced at the hosted gateway — the agent cannot see or invoke tools that the policy hides or denies. A grant with no policy denies every call, and "default": "deny" is the recommended starting point.

FREQUENTLY ASKED QUESTIONS

Permissions vs. policies?
Permissions define what is allowed (can/cannot). Policies define the complete set of rules including permissions, argument constraints, and rate limits. Permissions are one component of a policy.
Can permissions be updated without restarting PolicyLayer?
Yes — policies are edited in the dashboard and validated on save. Update the policy in the visual builder or the Raw JSON view and the new permissions take effect immediately.
Default permissions?
A grant with no policy denies every call, and default deny is the recommended start. Every tool must then be explicitly allowed in the policy document. This prevents accidentally giving agents capabilities they should not have.

FURTHER READING

// THE REGISTRY

Every MCP server your agents touch has a registry record.

Type a name, get the breakdown: verified identity, auth posture, risk grade, every tool classified, recommended policy. Re-checked continuously.

Teams ship this data inside their own products. See what a licence covers →

Take your agents live. Without losing control.

Route your MCP traffic through PolicyLayer. Every tool call is checked against your policy before it runs: allow, deny, or require approval. Per-identity grants. Full audit log. Live in minutes.

Instant setup, no code required.

46,500+ MCP servers and 515,000+ tools scanned and risk-classified.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.