Skip to main content
Glama
ohneben

ohneben's Wafeq MCP

wafeq_simplified_invoices_line_items_create

Add a line item to a simplified invoice using its ID and item details. Pass account, quantity, unit amount, and description to create the record.

Instructions

๐ŸŸก WRITE ยท creates data ยท Simplified Invoice Line Items ยท POST /simplified-invoices/{invoice_id}/line-items/

Create simplified invoice line item

Endpoint for creating a new simplified invoice line item.

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

A4.3/5.0
Behavior5/5

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

The description explicitly discloses that the operation is not idempotent, explains the consequence of calling twice, and gives actionable retry guidance with idempotency_key. This goes well beyond the annotations, which only state idempotentHint=false, by explaining why and how to mitigate it.

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 brief and front-loaded with the resource, endpoint, and write-status. There is minor redundancy between 'Create simplified invoice line item' and 'Endpoint for creating a new simplified invoice line item', but the overall structure is tight and every other sentence adds 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?

The description covers the core creation purpose, the non-idempotent behavior, and the retry-safety mechanism. The schema handles the body fields, and no output schema exists, so return-value details are not expected. It is slightly incomplete in not clarifying the distinction between simplified and regular invoices, but this is a minor gap.

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

Parameters4/5

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

The schema already documents most body fields well, so the description's added value is its clear guidance on idempotency_key: pass it for safe retries or let the server generate one. This is meaningful parameter-level context beyond the raw schema. The invoice_id parameter is not described, but its role is obvious from the endpoint path and tool name.

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 a specific verb and resource: 'Create simplified invoice line item' and includes the exact POST endpoint. It is unambiguous and distinguishes this tool from the many sibling line-item creation tools by naming the 'simplified invoice' resource.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly implies this tool is for creating simplified invoice line items, but it does not explicitly state when to use it over alternatives such as wafeq_invoices_line_items_create. There are no exclusions or alternative tool references, so the usage guidance is present but implicit.

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