Skip to main content
Glama

Get wiki list

gitlab_get_wiki_list
Read-onlyIdempotent

Retrieves a list of wiki pages for a GitLab project, including optional content details when requested. Use it to browse available documentation by supplying the project ID.

Instructions

Get a list of wiki pages for a project.

Args: **kwargs: Additional parameters for the request (e.g., project_id).

Returns: Response: A wrapper containing the original response and a list of WikiPage models.

Raises: MissingParameterError: If the project_id is missing. ParameterError: If invalid parameters are provided.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gitlab_get_wiki_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNo
fileNo
slugNo
titleNo
branchNo
contentNo
versionNo
project_idNo
format_typeNo
render_htmlNo
with_contentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv27.3.20
    • removedInput schema / properties / api_parameters
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null
      -}
  2. First observedv27.3.13

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuinely useful context beyond that: the return is a wrapper around the raw response plus a list of WikiPage models, and missing or invalid parameters raise MissingParameterError / ParameterError. It omits pagination behavior, default page size, and whether with_content inflates the response.

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 docstring layout (summary, Args, Returns, Raises) is well-structured and front-loads the purpose in one sentence. It is short with no filler, though the Args block is wasted space since it describes a kwargs catch-all that does not match the schema.

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?

There is no output schema, and the description does partially compensate by naming the response wrapper and WikiPage models, and by listing the exception types. For an 11-parameter read tool it is still incomplete: no pagination semantics, no explanation of the content/version/branch listing parameters, and no statement that project_id is required in practice despite being nullable and non-required in the schema.

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

Parameters1/5

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

Schema description coverage is 0% across 11 parameters, so the description must carry the load and instead misdescribes the interface: it claims '**kwargs: Additional parameters for the request (e.g., project_id)' even though the schema is a fixed set of named properties with additionalProperties: false, so arbitrary kwargs will be rejected. It says nothing about file, slug, title, branch, content, version, format_type, render_html or with_content, leaving the agent unable to tell which fields are relevant to a list operation.

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 opens with a specific verb and resource: 'Get a list of wiki pages for a project.' That is clearly distinguishable from sibling mutations like gitlab_create_wiki_page or gitlab_delete_wiki_page and from the single-page gitlab_get_wiki_page. It stops short of explicitly saying it is the list/catalog counterpart, so it earns 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 Guidelines2/5

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

There is no guidance on when to call this versus gitlab_get_wiki_page, gitlab_get_wiki_page for a specific slug, or the broader gitlab_api_request. The only conditional content is a raises clause for a missing project_id, which is error behavior, not selection guidance.

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