Skip to main content
Glama
ohneben

ohneben's Wafeq MCP

wafeq_payments_create

Creates a new payment in Wafeq to settle invoices, bills, payslips, credit/debit notes, or advances. Specify amount, currency, date, and paid-through account; provide an idempotency key to prevent duplicate records.

Instructions

๐ŸŸก WRITE ยท creates data ยท Payments ยท POST /payments/

Create payment

Endpoint for creating a new payment.

Not idempotent โ€” calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesA ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations
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?

The description discloses that this is a write ('WRITE ยท creates data') and, more valuably, spells out the concrete consequence of non-idempotence: 'calling twice creates two records.' It then provides the mitigation ('Pass idempotency_key (or let the server generate one) to make a retry safe'), which adds context beyond what idempotentHint=false alone conveys. No contradiction with the annotations.

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 description is short and front-loaded: the WRITE label, resource, and endpoint appear first, followed immediately by the essential non-idempotence warning. There is minor redundancy between 'Create payment' and 'Endpoint for creating a new payment,' but no sentence is wasted and the critical retry guidance is positioned prominently.

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?

Inputs are fully covered by a rich schema, and the description closes the main behavioral gap an agent would face โ€” duplicate creation on retry โ€” with the idempotency_key instruction and a server-generated UUID fallback. It does not describe the response shape, and no output schema exists, but for a create endpoint the input requirements and safety behavior are the parts that matter most, and both are well covered.

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 coverage is 100%, and the body schema already exhaustively documents amounts, currency, document-linked lists, and payment_fees with detailed semantics, so the description need not repeat them. The description adds only a brief behavioral note about idempotency_key that complements, but does not substantially extend, the schema's own description. The baseline of 3 applies when the schema carries the parameter-documentation burden.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description leads with '๐ŸŸก WRITE ยท creates data ยท Payments ยท POST /payments/' and states 'Create payment' / 'Endpoint for creating a new payment.' This is a specific verb+resource that an agent can act on without ambiguity. It does not explicitly contrast with the similarly named wafeq_payment_requests_create, but the 'Payments' resource label and endpoint make the target resource clear.

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 when-to-use guidance is provided relative to alternatives. The description never names sibling tools or states conditions for choosing this over wafeq_payment_requests_create or wafeq_payments_update. The only guidance present is the idempotency-key retry note, which addresses invocation safety rather than tool selection.

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