Skip to main content
Glama

Get Page Restrictions

confluence_get_page_restrictions
Read-only

Retrieve view and edit restrictions for a Confluence page, including users and groups with access. Returns empty lists for unrestricted operations.

Instructions

Get view and edit restrictions for a Confluence page.

Returns the current restriction lists for the read (view) and update (edit) operations. An empty list means the page is unrestricted for that operation.

Args: ctx: The FastMCP context. page_id: The ID of the page.

Returns: JSON string with read and update restriction lists, each containing users (account IDs) and groups (group names).

Raises: ValueError: If Confluence client is not configured or available.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_idYesThe ID of the page

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, so the description's main contribution is clarifying that empty lists denote unrestricted operations and raising ValueError when client is not configured. This adds value beyond what annotations provide, though the safety profile is already well-covered by annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise, well-structured, and front-loaded. The three-line summary followed by detailed return format, args, and raises sections efficiently communicates all essential information without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (one required parameter, read-only retrieval), the description fully explains the return format including the structure of restriction lists and error conditions. The presence of an output schema is not required as the description already provides sufficient detail.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The sole parameter 'page_id' is described identically in the schema and the tool description ('The ID of the page'). With 100% schema coverage, no additional meaning is added, meeting the baseline expectation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Get') and resource ('view and edit restrictions for a Confluence page'), clearly distinguishing it from sibling tools like 'confluence_set_page_restrictions' and 'confluence_check_content_permissions'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool versus alternatives such as confluence_check_content_permissions or confluence_set_page_restrictions. Usage is implied through the description of what it returns, but no exclusions or contextual cues are provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GeiserX/atlassian-browser-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server