Skip to main content
Glama
ohneben

ohneben's Wafeq MCP

wafeq_simplified_invoices_line_items_partial_update

Idempotent

Partially update a simplified invoice line item by changing only the fields you specify—like quantity, unit amount, discount, or account—without affecting the rest. Use it to correct or adjust line details on an existing invoice.

Instructions

🟡 WRITE · updates data · Simplified Invoice Line Items · PATCH /simplified-invoices/{invoice_id}/line-items/{id}/

Partial update simplified invoice line item

Endpoint for partially updating an existing simplified invoice line item.

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
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

B3.3/5.0
Behavior3/5

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

Annotations already cover readOnlyHint=false, destructiveHint=false, and idempotentHint=true. The description adds only a generic 'WRITE / updates data' label and the PATCH method, without disclosing side effects, required permissions, or the nuance that only provided fields are changed. No contradiction with 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 first line is a good front-loaded summary, but the second and third lines repeat the same 'partial update' concept. Compact, yet slightly redundant.

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 schema and annotations carry much of the context (field descriptions, idempotency, non-destructive write). Still, the description omits partial-update semantics (only supplied fields change), return-value expectations, and any guidance on valid field combinations, which matters for a nested-object PATCH endpoint.

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?

The path template adds useful context that invoice_id and id are URL parameters, and the schema already describes the body fields and idempotency_key. However, the description does not explain how the body maps to a partial update, and coverage is only about 50%, so the description itself contributes limited parameter meaning.

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 names an exact verb ('partial update'), a specific resource ('simplified invoice line item'), and the HTTP method/path. 'Partial update' clearly separates it from the full-update and destroy siblings for the same resource.

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?

The description only restates that this endpoint partially updates an existing line item. It gives no explicit when-to-use guidance, no alternative recommendation (e.g., full update vs partial update), and no prerequisite such as requiring the invoice and line item to exist.

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