Skip to main content
Glama
ohneben

ohneben's Wafeq MCP

wafeq_item_units_of_measure_create

Create a unit of measure for an item, specifying conversion factor, price, cost, and default sales/purchase flags. Use idempotency key to make retries safe and prevent duplicate records.

Instructions

๐ŸŸก WRITE ยท creates data ยท Item Unit Of Measures ยท POST /item-units-of-measure/

Create item unit of measure

Endpoint for creating a new item unit of measure.

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
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.1/5.0
Behavior5/5

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

Beyond the annotations' idempotentHint=false, the description explicitly warns that calling twice creates two records and explains how idempotency_key makes retries safe. It also flags the operation as WRITE/creates data, giving an agent a concrete behavioral model. 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.

Conciseness4/5

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

The description is short and front-loaded, with a useful header line containing the operation type and endpoint. However, 'Create item unit of measure' and 'Endpoint for creating a new item unit of measure' are redundant, so it is not perfectly polished.

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?

For a create endpoint with a fully described schema and good annotations, the description provides the needed core context: what is created, via which endpoint, and how to handle retries safely. It does not describe relationships to existing items/units, but the schema fields cover the data contract.

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 schema already documents the body and idempotency_key thoroughly. The description's idempotency note restates what the idempotency_key parameter description already says, adding no new parameter semantics. Baseline 3 applies.

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 ('Create') and resource ('Item Unit Of Measures'), backed by the exact POST endpoint. This clearly differentiates the create operation from sibling list/retrieve/update/destroy tools on the same resource, even if it does not explicitly contrast with units_of_measure_create.

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 makes the tool's purpose obvious ('Endpoint for creating a new item unit of measure') but does not explicitly state when to choose it over alternatives or exclude other operations. The idempotency guidance is useful for retries, but it is parameter-level guidance rather than tool-selection guidance.

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