meta_grant_permissions
Grant, revoke, or replace scopes this server can use, with automatic prerequisite inclusion and consistency enforcement.
Instructions
Grant, revoke, or replace the set of scopes this server may use.
Prerequisite scopes are auto-included: granting 'employee:read' also grants 'client:read' because the search tool needs it. Revoking a prerequisite cascades — dependent scopes get dropped to stay consistent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| granted | No | Scopes to ADD to the current grant set. Use scope identifiers from meta_request_permissions (e.g. 'client:read'). | |
| revoked | No | Scopes to REMOVE from the current grant set. | |
| replace | No | If true, replace the entire granted set with `granted` (ignores `revoked`). Use for 'start fresh' flows. | |
| accept_recommended_defaults | No | If true, grant exactly the scopes flagged as recommended in the manifest (reads only). Combines with `granted` as union. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| granted | Yes | ||
| granted_count | Yes | ||
| added | Yes | ||
| removed | Yes | ||
| consent_file | Yes | ||
| user_message | Yes |