Skip to main content
Glama

Revoke Wiki page access

wiki_access_delete
Destructive

Revoke one access entry on a wiki page — the holder loses that grant at once.

Instructions

Revoke one access entry on a wiki page — the holder loses that grant at once.

The page owner's own entry cannot be revoked.

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>"
    },
    "name": "wiki_access_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
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

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, so the safety profile is covered. The description adds two concrete traits beyond that: the revocation takes effect immediately ('the holder loses that grant at once') and the page owner's entry is protected from revocation. It omits the self-lock hazard surfaced by the prevent_selflock parameter, which keeps it 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.

Conciseness5/5

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

Two sentences, zero filler, with the core action front-loaded and the single hard constraint following. Nothing is redundant with the title or with the structured fields.

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 destructive mutation without an output schema, the description covers purpose, immediacy, and one blocking rule. It does not mention the dry_run preview path or the self-lock risk, both of which matter for an agent deciding how to invoke a destructive access change.

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 all four parameters including dry_run and prevent_selflock are already documented in the schema. The description's reference to 'one access entry' reinforces access_id's granularity but adds no syntax, format, or interaction details beyond the schema, so the baseline 3 applies.

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 gives a specific verb and resource ('Revoke one access entry on a wiki page') and scopes it to a single entry, which implicitly separates it from the bulk sibling wiki_access_clear without naming it. It stops short of explicit sibling differentiation, so a 4 rather than a 5.

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?

The second sentence gives one hard precondition (the owner's own entry cannot be revoked), which is real usage guidance. However, there is no statement of when to prefer this over wiki_access_clear or wiki_access_update, and no mention of the self-lock decision, so the when/when-not guidance is only implied.

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