Skip to main content
Glama

Grant Wiki page access

wiki_access_create

Grant a user or a group a role on a wiki page; returns the new access entry.

Instructions

Grant a user or a group a role on a wiki page; returns the new access entry.

A user who already holds a personal access is refused: change it with access_update. Read the current accesses with pages_get_by_id and fields="access_policy,access_lists".

Grants access: a client that honours the mark asks a person on every call.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "page_id": "<page_id>",
      "body": "<body>"
    },
    "name": "wiki_access_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe grant: exactly one of ``user`` (uid / cloud_uid) and ``group`` (src + id), the ``role``, and optionally ``inheritance``.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
page_idYesNumeric id of the page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.142.2
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": false,
      +  "description": "Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).",
      +  "type": "boolean"
      +}
  2. First observedv0.67.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true, so the description is not carrying the safety profile alone. It still adds real behavior beyond them: the duplicate-personal-access refusal and the returned access entry, plus a hint that the call may prompt a human. The final sentence ('a client that honours the mark asks a person on every call') is garbled enough that the confirmation semantics remain ambiguous, keeping this below a 5.

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

Conciseness3/5

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

The first sentence is well front-loaded with action and return value, and the refusal rule is placed early. But the closing sentence is unclear and adds ambiguity rather than information, and the mid-paragraph reading instructions interrupt the flow.

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

Completeness4/5

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

For a 3-parameter mutation with a nested body and no output schema, the description covers what is created, what gets rejected, where to inspect existing grants and what is returned. Remaining gaps (inheritance effects on subpages, dry_run behavior) are handled by the schema, so completeness is good but not exhaustive.

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?

Schema description coverage is 100% and the schema already documents body.role, the user/group exclusivity and inheritance, so the baseline of 3 applies. The description adds no format or constraint detail beyond the schema; its only extra pointer (fields="access_policy,access_lists") belongs to a different tool's parameters.

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?

States a specific verb and resource ('Grant a user or a group a role on a wiki page') plus the return value, and explicitly separates itself from wiki_access_update for the modify case. An agent can distinguish this from wiki_access_update/delete/clear without reading any schema.

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

Usage Guidelines5/5

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

Gives a concrete when-not rule ('A user who already holds a personal access is refused: change it with access_update') and names the sibling to use instead, plus a read path via pages_get_by_id with fields="access_policy,access_lists". This is explicit routing rather than implied usage.

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

Deploy Server

Other Tools