Skip to main content
Glama
ohneben

ohneben's Wafeq MCP

wafeq_expenses_create

Create a new expense in Wafeq by providing account, amount, currency, date, description, and paid-through account. Pass an idempotency key to prevent duplicate records on retry.

Instructions

🟡 WRITE · creates data · Expenses · POST /expenses/

Create expense

Endpoint for creating a new expense.

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
bodyYesAn entity that can have attachments.
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 adds concrete behavioral context beyond the annotations: it states that the operation is not idempotent and that calling twice creates two records, and it offers the mitigation of passing idempotency_key or letting the server generate one. This complements the idempotentHint=false annotation with real-world consequences and a remedy. It doesn't cover auth requirements or rate limits, but for a create endpoint against a schema-documented API, the non-idempotency disclosure is the key risk vector and it's handled well.

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 tag line "🟡 WRITE · creates data · Expenses · POST /expenses/" is compact and front-loaded, and the idempotency sentence is genuinely useful. However, "Create expense" followed immediately by "Endpoint for creating a new expense" is redundant phrasing that wastes a line. The structure is serviceable but not tight.

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?

With no output schema, the description doesn't hint at what the endpoint returns (e.g., the created expense object), leaving the agent to guess the response shape. The nested body parameter with 15 properties is fully covered by the schema, and the non-idempotency behavior is well disclosed, so the core calling mechanics are adequate. Missing return-value context and entity-reference semantics (whether account/contact/project values are IDs) are the notable gaps.

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 100%, so the baseline of 3 applies. The description's mention of idempotency_key aligns with and echoes the schema's own detailed parameter description (X-Wafeq-Idempotency-Key header, auto-generated UUID v4), adding nothing semantically new. The body parameter's nested fields are fully documented in the schema, so the description doesn't need to compensate.

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 clearly identifies the operation: "Create expense" / "Endpoint for creating a new expense," with a specific verb (create), resource (expense), and HTTP endpoint (POST /expenses/). The leading "WRITE · creates data" tag also distinguishes it from read-only siblings like wafeq_expenses_list and wafeq_expenses_retrieve. It stops short of a 5 because it never explicitly names sibling alternatives or differentiates from the related mark_as_draft/posted operations.

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 contains no guidance on when to select this tool over alternatives such as wafeq_expenses_update, wafeq_expenses_partial_update, or wafeq_expenses_mark_as_posted_create. The only usage advice given is about retry safety with idempotency_key, which is operational guidance rather than tool-selection guidance. There are no exclusions, prerequisites, or conditions stated.

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