Skip to main content
Glama
ohneben

ohneben's Wafeq MCP

wafeq_payments_partial_update

Idempotent

Partially modify an existing payment in Wafeq by providing only the fields to change, such as amount, date, contact, or allocations, while preserving all other values.

Instructions

๐ŸŸก WRITE ยท updates data ยท Payments ยท PATCH /payments/{id}/

Partial update payment

Endpoint for partially updating an existing payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
bodyNoA 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

C2.8/5.0
Behavior2/5

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

Annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=true, openWorldHint=true) already carry the safety profile, and the description adds no behavioral context on top โ€” it merely restates 'updates data.' Given openWorldHint=true, an agent gets no warning that updating a payment can cascade to linked invoices, bills, or reconciliation state. There is 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.

Conciseness3/5

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

The essential signal (WRITE ยท PATCH ยท /payments/{id}/ ยท partial) is front-loaded in a compact prefix line, which is good. But the same fact is restated three times โ€” 'updates data,' 'Partial update payment,' and 'Endpoint for partially updating an existing payment' โ€” adding redundancy without information.

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

Completeness2/5

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

The rich schema and annotations carry most of the burden, but for a write operation on a complex nested financial resource with openWorldHint=true, the description offers no guidance about effects on reconciliation or when partial update is preferable to full update. No output schema exists and the description explains no return behavior. The missing sibling differentiation and behavioral context leave the agent under-informed.

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 description coverage is 67% and the body parameter's nested fields are documented exhaustively in the schema (amount reconciliation, payment_fees semantics, advance blocks), so the description does not need to compensate. It contributes the path template /payments/{id}/, which clarifies that id is the URL path parameter. The idempotency_key semantics are fully described in the schema.

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 states the operation precisely: 'Endpoint for partially updating an existing payment,' with the HTTP method and path (PATCH /payments/{id}/) front-loaded. The verb phrase 'partially updating' distinguishes it from the full-replacement sibling wafeq_payments_update, though it never names that sibling explicitly.

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 given on when to use this PATCH instead of wafeq_payments_update (full update) or wafeq_payments_create, nor any mention of prerequisites such as an existing payment or its reconciliation state. The only usage signal is the implicit REST convention that 'partial' means only supplied fields change; the sibling list makes the choice relevant, but the description leaves it to inference.

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