# AX-SYS-06: Return actionable authorization errors

> Access and identity · foundational · AX-SYS-06

When access is denied, tell the agent which scope or permission is missing and how to obtain it, not just a bare 403.

## Why

Opaque permission errors dead-end agents instead of letting them self-correct. The MCP specification shows the alternative: when a token lacks a scope, the server answers 403 with `error="insufficient_scope"` and the scopes required, and the client requests a new token with the increased scope. The 2026-07-28 revision adds that servers should name all the scopes the operation needs in a single challenge, because asking for one missing scope and then another on the retry forces several authorization round-trips for one operation. The canonical AX framework (agentexperience.ax, Agent Accessibility) asks the same of human checkpoints: where a person has to authorize something, the agent should be able to continue afterwards. Clear errors do not mean looser access; OWASP lists insufficient authentication and authorization as MCP07 in its MCP Top 10, so the check stays strict and only the explanation gets better.

## Do

Return a machine-readable error with the missing scope.

## Don't

Return opaque denials.

## Artifact

See the scoped 403 response in [AX-SYS-04](https://axprinciples.com/en/principles/ax-sys-04-authenticate-without-human-only-gates): include `required_scope`, `your_scopes`, and a `grant_at` URL so the denial is self-correcting.

## Citations

1. [agentexperience.ax: Principles of AX](https://agentexperience.ax/concepts/principles-of-ax/): Agent Accessibility: where human authorization is required, it should allow continuation by the agent after the fact
2. [MCP Specification 2025-11-25: Authorization](https://modelcontextprotocol.io/specification/2025-11-25/basic/authorization): On insufficient scope the server SHOULD answer 403 Forbidden with a WWW-Authenticate header carrying error="insufficient_scope" and the scopes required, and clients SHOULD respond by requesting a new token with the increased scope
3. [OWASP MCP Top 10 (MCP07: Insufficient Authentication & Authorization)](https://owasp.org/www-project-mcp-top-10/): Insufficient authentication and authorization is listed as MCP07 among the top 10 MCP security risks
4. [MCP Specification 2026-07-28: Authorization (scope challenges)](https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization): Servers SHOULD include all scopes required for the current operation in a single challenge; challenging incrementally (returning one missing scope, then another on the subsequent retry) forces multiple authorization round-trips for a single operation

---
Source: Agent Experience Principles (axprinciples.com)