Skip to main content
Glama

List Webhook Events

gitlab_list_webhook_events
Read-onlyIdempotent

Retrieve recent webhook events for a GitLab project or group webhook, with an optional summary mode for quick overviews.

Instructions

List recent webhook events for a project or group webhook. Use summary mode for overviews.

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": {
      "hook_id": "<hook_id>"
    },
    "name": "gitlab_list_webhook_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
statusNo
hook_idYes
summaryNo
group_idNo
per_pageNo
project_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv1.7.0
    • removedInput schema / properties / hook_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  }
      -]
    • addedInput schema / properties / hook_id / type
      Added value: +[
      +  "string",
      +  "number"
      +]
    • removedInput schema / properties / page / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / page / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedInput schema / properties / status / anyOf
      Removed value: -[
      -  {
      -    "anyOf": [
      -      {
      -        "type": "string"
      -      },
      -      {
      -        "type": "number"
      -      }
      -    ]
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / status / type
      Added value: +[
      +  "string",
      +  "number",
      +  "null"
      +]
    • removedInput schema / properties / summary / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / summary / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
  2. First observedv1.6.1

TDQS

B3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds almost nothing beyond that – 'recent' hints at a bounded window but never states what 'recent' means, whether results are paginated, or how many events are returned. For a list tool with zero schema documentation, this is a notable gap.

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?

Two short sentences with the purpose front-loaded and no filler. The brevity is efficient, though it edges toward under-specification given the undocumented parameters.

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 annotations cover the safety of the read, which lowers the bar. Still, with seven parameters at 0% coverage and no explanation of pagination, filtering by status, or the project/group scoping choice, an agent cannot invoke this confidently without trial and error.

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%, so the description must carry the burden for all seven parameters. It only obliquely touches hook_id, project_id/group_id and summary; status, page and per_page receive no explanation at all, and the either/or nature of project vs group scoping is left for the agent to infer.

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 ('List') and resource ('recent webhook events') scoped to a project or group webhook, which lets an agent tell it apart from the singular gitlab_get_webhook_event. It does not, however, explicitly name that sibling or clarify how it differs from gitlab_list_events.

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?

'Use summary mode for overviews' is a real in-tool usage hint, so the description is not devoid of guidance. But it says nothing about when to prefer this tool over gitlab_get_webhook_event for a single event, nor about prerequisites such as needing either a project_id or group_id alongside hook_id.

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