Skip to main content
Glama
ohneben

ohneben's Wafeq MCP

wafeq_simplified_invoices_line_items_destroy

DestructiveIdempotent

Permanently remove a line item from a simplified invoice using its invoice ID and line item ID. Enables cleanup of incorrect or obsolete entries with an irreversible delete call.

Instructions

๐Ÿ”ด DESTRUCTIVE ยท deletes ยท Simplified Invoice Line Items ยท DELETE /simplified-invoices/{invoice_id}/line-items/{id}/

Delete simplified invoice line item

Endpoint for deleting an existing simplified invoice line item.

Permanently removes the record.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
invoice_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.9/5.0
Behavior4/5

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

The annotations already provide destructiveHint and idempotentHint, and the description adds the meaningful context that the operation 'permanently removes the record,' clarifying irreversibility. It also names the exact resource being destroyed. No mention of auth or rate limits, but the annotation coverage lowers the bar and the description does not contradict any annotations.

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 description is highly redundant: 'deletes', 'Delete simplified invoice line item', 'Endpoint for deleting an existing simplified invoice line item', and 'Permanently removes the record' all repeat essentially the same message. While the first line efficiently front-loads the key information, the subsequent sentences add little and do not earn their place, making the overall description less concise than it should be.

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 deletion tool with 3 parameters, no output schema, and annotations covering destructive and idempotent behavior, the description adequately covers what the tool does, the resource it targets, and the permanent effect. It omits potential business-rule caveats, but none are strongly indicated for this tool's low complexity, so it is sufficiently complete.

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 description coverage is only 33%, so the description must compensate for the undocumented invoice_id and id parameters. It does this by including the endpoint template '/simplified-invoices/{invoice_id}/line-items/{id}/', which reveals that invoice_id identifies a simplified invoice and id identifies a line item. The idempotency_key parameter already has a thorough description in the schema.

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 opens with 'deletes ยท Simplified Invoice Line Items' and the endpoint 'DELETE /simplified-invoices/{invoice_id}/line-items/{id}/', giving a specific verb and resource. This clearly separates the tool from sibling update, retrieve, and list operations, and the repetition of 'Delete simplified invoice line item' reinforces the exact action.

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 makes the destructive purpose clear through 'deletes' and 'Permanently removes the record,' so an agent can infer this tool is for removal. However, it never explicitly says when to choose this over alternatives such as wafeq_simplified_invoices_line_items_partial_update or destroys for other resources, and no exclusions or prerequisites are mentioned. Usage is implied rather than explicitly guided.

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