Skip to main content
Glama
ohneben

ohneben's Wafeq MCP

wafeq_items_create

Create a new item in Wafeq by providing name, SKU, pricing, tax, and inventory details. Include an idempotency key to make retries safe and avoid duplicate records.

Instructions

๐ŸŸก WRITE ยท creates data ยท Items ยท POST /items/

Create item

Endpoint for creating a new 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
bodyYesShared validation and save logic for item_units_of_measure across v1 and v2 serializers.
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.5/5.0
Behavior5/5

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

The description discloses that the operation is a non-idempotent write, explains the effect of calling twice, and documents the idempotency_key behavior and auto-generated UUID. Annotations provide readOnlyHint=false, idempotentHint=false, destructiveHint=false, and the description adds meaningful behavioral context beyond those flags.

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 compact and front-loaded with the endpoint, resource, and safety warning. The line breaks and emojis make it scannable, though the '๐ŸŸก WRITE' prefix and 'Create item' title add a bit of redundancy with the annotations.

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 key behavioral concern (non-idempotency and retry safety) and confirms the endpoint. There is no output schema, but for a create endpoint the response is reasonably inferable; it could mention that a created item object is returned, 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 input schema already provides detailed descriptions for all parameters (100% coverage), including nested units of measure and idempotency_key header behavior. The description adds value by explicitly mentioning idempotency_key and the automatic retry safety mechanism, but most parameter semantics are already in the schema.

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 clearly states the tool creates data via POST /items/, specifies the resource (Items), and identifies it as a write operation. The title 'Create item' and the explicit 'creates data ยท Items ยท POST /items/' line distinguish it from retrieval, update, and destroy siblings.

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

Usage Guidelines4/5

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

The description states this is the endpoint for creating a new item and explicitly warns it is not idempotent, advising use of idempotency_key for safe retries. It doesn't explicitly name alternative tools for creating items (e.g., why not use item_units_of_measure_create), but the resource and action are unambiguous.

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