Skip to main content
Glama
ohneben

ohneben's Wafeq MCP

wafeq_credit_notes_line_items_destroy

DestructiveIdempotent

Delete a credit note line item permanently by providing its ID and the credit note ID. Removes the record from Wafeq, making it unavailable for further use.

Instructions

๐Ÿ”ด DESTRUCTIVE ยท deletes ยท Credit Note Line Items ยท DELETE /credit-notes/{credit_note_id}/line-items/{id}/

Delete credit note line item

Endpoint for deleting an existing credit note line item.

Permanently removes the record.

Input Schema

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

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

Annotations already provide destructiveHint and readOnlyHint, and the description adds the important consequence 'Permanently removes the record.' It does not restate idempotency or auth, but the annotations and schema cover idempotency_key behavior.

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 repeats the same core statement three times: 'deletes Credit Note Line Items', 'Delete credit note line item', and 'Endpoint for deleting an existing credit note line item.' Only the permanence statement and endpoint add real value.

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 destructive operation, the endpoint, permanence warning, and idempotency_key schema are sufficient. No output schema exists, so return-value documentation is not required, and nothing critical appears missing.

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?

Only idempotency_key has a schema description, so coverage is low. The endpoint path in the description helps map credit_note_id and id to their roles, but id is still generic and no additional parameter details are provided beyond the path template.

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?

Description names the action 'deletes' and the exact resource 'Credit Note Line Items', and includes the full DELETE endpoint. This clearly differentiates it from sibling destroy tools like wafeq_invoices_line_items_destroy or wafeq_bills_line_items_destroy.

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 explicit guidance on when to use this tool versus alternatives, no prerequisites, and no exclusion criteria. The intended use is only inferable from the resource name rather than stated.

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