Skip to main content
Glama

Delete webhook

glpi_delete_webhook
DestructiveIdempotent

Delete a GLPI webhook by ID and set purge to remove it permanently instead of trashing it; provide a reason for the audit trail.

Instructions

Delete a webhook. Set purge to remove it permanently instead of trashing it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
purgeNo
reasonYesWhy this item is being deleted (audit trail, required)
webhookIdYesItem ID

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.5.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and idempotentHint=true, so the safety profile is already known. The description adds meaningful context beyond that: the default action is a recoverable trash, and purge escalates to irreversible removal. It does not mention the required audit reason, but the schema covers that.

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 short sentences with zero filler; the core action leads and the important purge nuance follows immediately.

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

Completeness4/5

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

An output schema exists, so return values need no explanation, and the annotations carry the safety profile. The description covers the key behavioral nuance; only the required reason/audit-trail expectation is left purely to the schema.

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

Parameters4/5

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

Schema coverage is 67%, with webhookId and reason documented in the schema while purge has no schema description. The description compensates by explaining exactly what purge does, which is the one undocumented parameter.

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

Purpose5/5

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

States a specific verb and resource ('Delete a webhook') and immediately clarifies the two deletion modes (trash vs purge). The webhook resource makes it unambiguous against the many other glpi_delete_* siblings.

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?

It gives a condition for choosing purge ('to remove it permanently instead of trashing it'), which is genuinely useful, but it offers no guidance on when to delete a webhook at all versus alternatives like glpi_set_webhook_active for disabling one.

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