Skip to main content
Glama
ohneben

ohneben's Wafeq MCP

wafeq_purchase_orders_line_items_destroy

DestructiveIdempotent

Permanently delete a purchase order line item to correct mistakes or remove obsolete entries from a purchase order.

Instructions

๐Ÿ”ด DESTRUCTIVE ยท deletes ยท Purchase Order Line Items ยท DELETE /purchase-orders/{purchase_order_id}/line-items/{id}/

Delete purchase order line item

Endpoint for deleting an existing purchase order line item.

Permanently removes the record.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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.
purchase_order_idYes

Schema Changelog

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

  1. First observedv2.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds concrete context by stating the record is 'permanently removed.' The prefixed '๐Ÿ”ด DESTRUCTIVE' warning and explicit deletion target go beyond the bare annotation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The phrase 'delete purchase order line item' appears in essentially three places: the prefixed summary line, the title-like sentence, and the endpoint sentence. Only 'Permanently removes the record' adds new information, making the description redundant despite being short.

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 three-parameter delete operation with strong annotations (destructive, idempotent) and a detailed idempotency-key schema description, the definition is nearly complete. It identifies the resource, the exact path, and the permanence of deletion; only a return-value note is missing.

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 only 33%, but the route template /purchase-orders/{purchase_order_id}/line-items/{id}/ clarifies that purchase_order_id is the parent PO and id is the line-item ID. The idempotency_key parameter is thoroughly described in the schema, and the path placeholders compensate for the undocumented required IDs.

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 and resource: 'deletes ยท Purchase Order Line Items' and provides the exact DELETE path. 'Permanently removes the record' makes clear this is a hard delete, and the resource scope distinguishes it from the many other destroy siblings in the tool list.

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?

Usage is implied rather than explicitly guided: an agent should call this when it wants to delete an existing purchase order line item. There is no comparison to alternatives like the line-item update or partial_update tools, and no when-not-to-use guidance, so it is adequate but not strong.

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