Skip to main content
Glama

Update Wiki Page

gitlab_update_wiki_page

Update a GitLab wiki page by slug, replacing its content and optionally setting title or format. Use it to revise existing project documentation without creating a new page.

Instructions

Update wiki page by slug.

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": {
      "slug": "<slug>",
      "content": "<content>"
    },
    "name": "gitlab_update_wiki_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYes
titleNo
formatNo
contentYes
project_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.7.0
    • removedInput schema / properties / format / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / format / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / title / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / title / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. First observedv1.6.1

TDQS

C2.4/5.0
Behavior2/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 safety profile is covered. The description adds nothing beyond that: it does not say what happens when the slug does not exist, whether title/format are optional, or whether content replaces or merges. For a non-idempotent write tool this is a meaningful gap.

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 single sentence is front-loaded and free of waste, but its brevity is under-specification rather than efficiency. There is no structural scaffolding (no distinction between required and optional fields, no effect statement) to help the agent act on it.

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

Completeness2/5

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

With 5 parameters, no output schema, and zero schema descriptions, this tool needs more from the description than one clause. Nothing covers scope resolution (project vs. group vs. personal wiki), the effect of omitted title/format, or the outcome of a missing page, so the definition is not complete enough to invoke confidently.

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

Parameters2/5

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

Schema description coverage is 0% across 5 parameters, so the description must carry the explanatory burden and largely fails. Only slug is referenced ("by slug"); title, format, content, and project_id are left entirely unexplained, including whether project_id defaults to a user wiki versus a project wiki.

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

Purpose3/5

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

"Update wiki page by slug" names a specific verb (update) and resource (wiki page) plus the identifier used to target it, so the basic action is unambiguous. However, it does nothing to separate itself from the sibling gitlab_update_group_wiki_page, leaving the agent to guess which scope applies. Minimum-viable rather than distinguishing.

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 when-to-use guidance, no prerequisites, and no mention of alternatives such as the group-scoped update sibling or create_wiki_page. The only implied guidance is that a slug is required to address the page, which the agent could already infer from the schema's required field.

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