Skip to main content
Glama
ohneben

ohneben's Wafeq MCP

wafeq_payslips_pay_items_destroy

DestructiveIdempotent

Delete a pay item from a payslip by providing the payslip ID and pay item ID. Use this endpoint to permanently remove an existing pay item when it is no longer needed.

Instructions

๐Ÿ”ด DESTRUCTIVE ยท deletes ยท Pay Items ยท DELETE /payslips/{payslip_id}/pay-items/{id}/

Delete pay item

Endpoint for deleting an existing pay item.

Permanently removes the record.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
payslip_idYes
idempotency_keyNoOptional idempotency key (sent as the X-Wafeq-Idempotency-Key header). A UUID v4 is generated automatically when omitted, so an automatic network retry can never duplicate this operation. Pass your own stable value to make a deliberate re-invocation safe as well.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.0.0

TDQS

A3.7/5.0
Behavior3/5

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

The description explicitly states 'Permanently removes the record,' reinforcing the destructiveHint annotation. It does not contradict the annotations, but it adds little beyond what the annotations already signal and does not discuss effects on the parent payslip or other side effects.

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 text is short and front-loads the destructive warning and endpoint. There is some redundancy between 'Delete pay item' and 'Endpoint for deleting an existing pay item,' but overall the description is compact and scannable.

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?

For a simple, well-annotated destructive endpoint, the description covers the operation, the resource, the route, and permanence. It does not explain cascade effects or what happens to the associated payslip totals, which prevents a perfect score, but the core calling context is sufficient.

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

Parameters3/5

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

Schema description coverage is only 33%, but the endpoint template supplies meaning for `payslip_id` and `id`: the former identifies the parent payslip and the latter the pay item. The `idempotency_key` parameter is already well described in the schema itself, so the description adds partial but not complete parameter clarity.

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?

The description states a specific verb ('deletes'), a specific resource ('Pay Items'), and the exact endpoint path (`DELETE /payslips/{payslip_id}/pay-items/{id}/`). It clearly distinguishes this tool from sibling tools like `wafeq_payslips_destroy` or pay-item retrieve/create tools.

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?

The description implies usage: it is for deleting an existing pay item. However, it gives no explicit guidance about when to prefer this tool over related alternatives, nor any when-not-to-use conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ohneben/Wafeq-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server