Skip to main content
Glama
ohneben

ohneben's Wafeq MCP

wafeq_invoices_destroy

DestructiveIdempotent

Permanently delete an existing invoice by ID. Remove erroneous or obsolete invoices from Wafeq to keep records accurate.

Instructions

🔴 DESTRUCTIVE · deletes · Invoices · DELETE /invoices/{id}/

Delete invoice

Endpoint for deleting an existing invoice.

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.

Schema Changelog

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

  1. First observedv2.0.0

TDQS

B3.3/5.0
Behavior4/5

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

The description explicitly warns with '🔴 DESTRUCTIVE' and states 'Permanently removes the record,' adding irreversibility context beyond the destructiveHint annotation. It does not disclose side effects such as cascading deletion or authorization requirements, but the annotation already covers the destructive flag, so the added context is meaningful.

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 text repeats the same idea several times: 'DESTRUCTIVE · deletes · Invoices', 'Delete invoice', 'Endpoint for deleting an existing invoice', and 'Permanently removes the record'. It is short, but the redundancy wastes space and the structure is choppy.

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

Completeness3/5

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

The combination of annotations, schema, and description covers the core destructive behavior and the idempotency semantics. However, it leaves gaps such as what the required `id` refers to, whether deletion can be undone, and what response or related records are affected; for a destructive endpoint this is incomplete.

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

Parameters2/5

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

The only parameter documentation comes from the schema's detailed idempotency_key description; `id` is left as a bare string. The description adds nothing about either parameter, so it fails to compensate for the undocumented required invoice id.

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 exactly that the tool deletes an invoice, gives the HTTP endpoint, and adds that the record is permanently removed. It clearly identifies the target resource (invoices) and the delete action, so an agent can distinguish it from retrieve/update invoice tools.

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 guidance is provided about when deletion is appropriate, what prerequisites exist, or which alternative to use instead (e.g., update/partial_update rather than destroy). The text only restates the action and endpoint, leaving the agent to infer the usage context.

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