Skip to main content
Glama

Normalize one signed SCM webhook delivery

gitlab_normalize_scm_event
Read-onlyIdempotent

Verifies and normalizes a signed SCM webhook delivery into a feedback event, ensuring consistent processing of incoming GitLab webhook payloads.

Instructions

Verify and normalize one signed SCM webhook delivery into a feedback event.

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": {
      "headers": "<headers>",
      "body": "<body>"
    },
    "name": "gitlab_normalize_scm_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
headersYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv27.3.26

TDQS

C2.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds one genuine behavioral fact beyond that: the delivery is signature-verified, implying a shared secret / HMAC check. It does not say what happens when verification fails, nor which signing scheme or headers carry the signature.

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?

A single front-loaded sentence with no filler, which is structurally sound. But the brevity crosses into under-specification: there is no second sentence covering the header requirements or failure behavior that this tool clearly needs.

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 a nested, entirely undocumented object parameter, zero schema description coverage, and an open-world signature-verification behavior, the description should explain the header contract and verification failure semantics. The existence of an output schema excuses it from explaining return values, but not from explaining the inputs.

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%, and the schema itself is a bare object with no named properties: `headers` is an open string map and `body` an untyped string. The description says nothing about either, so an agent has no way to know which headers are required (event type, signature, delivery ID) or the expected body encoding.

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?

States a specific verb-pair ("Verify and normalize") and a specific input ("one signed SCM webhook delivery"), so the resource is identifiable. However, the output concept "feedback event" is undefined jargon, and nothing distinguishes this from the many sibling tools or clarifies which SCM platform's webhook format is expected.

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?

No guidance on when to call this versus alternatives, no prerequisites, and no statement of when not to use it. An agent cannot tell from the description whether this is meant for inbound webhook processing only or also for replaying stored payloads.

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