Skip to main content
Glama

Update Wiki page access

wiki_access_update
Idempotent

Change the role or reach of one access entry on a wiki page.

Instructions

Change the role or reach of one access entry on a wiki page.

The page owner's own entry cannot be changed.

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>",
      "access_id": "<access_id>",
      "body": "<body>"
    },
    "name": "wiki_access_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe new ``role`` and/or ``inheritance`` (one at least).
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
page_idYesNumeric id of the page.
access_idYesId of the access entry, from the page's ``access_lists``.
prevent_selflockNoRefuse the change if it would leave you without read access or the right to change accesses. Set it unless you mean to lock yourself out.

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. Changed3 schema fields changedv0.122.1
    • addedInput schema / properties / prevent_selflock / anyOf
      Added value: +[
      +  {
      +    "type": "boolean"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / prevent_selflock / default
      Previous value: -falseNew value: +null
    • removedInput schema / properties / prevent_selflock / type
      Removed value: -"boolean"
  3. First observedv0.67.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare a non-readonly, open-world, idempotent, non-destructive mutation. The description adds a real behavioral constraint about the owner's entry and a cryptic note about grants access requiring a person on every call, but it omits permission requirements and reversibility details.

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

Conciseness4/5

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

The description is short and front-loads the core action. The final sentence about grants access is awkward and somewhat opaque, but the overall structure remains efficient.

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

Completeness3/5

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

For a mutation tool with five parameters, nested body fields, and no output schema, the description covers the main purpose and one key constraint. It leaves out usage routing and some behavioral context, but the 100% schema coverage and annotations supply much of what is missing.

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%, so role, inheritance, dry_run, access_id, page_id, and prevent_selflock are already well documented. The description only restates the role/reach concept and adds no parameter-level meaning beyond the schema.

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

Purpose4/5

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

The description states a specific verb and resource: change the role or reach of one access entry on a wiki page. It is clear what the tool does, but it does not distinguish itself from sibling access tools such as wiki_access_create, wiki_access_delete, or wiki_access_clear.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to use this tool versus creating, deleting, or clearing access entries. The only usage-related constraint is that the page owner's own entry cannot be changed, which is helpful but does not route the agent among alternatives.

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