Skip to main content
Glama
ohneben

ohneben's Wafeq MCP

wafeq_cost_centers_update

Idempotent

Update existing cost center Arabic and English names and active status to correct or refresh financial categorization.

Instructions

๐ŸŸก WRITE ยท updates data ยท Cost Centers ยท PUT /cost-centers/{id}/

Update cost center

Endpoint for updating an existing cost center.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
bodyYesRequest body (application/json).
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

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=true, so the safety profile is captured by structured data. The description adds the HTTP method (PUT) and endpoint path but provides no detail about full-overwrite semantics or response behavior. It does not contradict the annotations, which is consistent with the write and idempotency hints.

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: the first line packs in the write indicator, resource, and HTTP method. It loses a point because 'Update cost center' and 'Endpoint for updating an existing cost center' redundantly restate the same idea.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a write operation with a required nested body and no output schema, the description is too thin. It omits the full-update semantics implied by PUT, offers no guidance on choosing between this and partial_update, and gives no response context โ€” leaving the agent to infer critical behavior solely from the schema.

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

Parameters2/5

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

Schema coverage is 67% and the body fields plus idempotency_key are documented within the schema itself. However, the required id parameter has no schema description and the tool description adds nothing to clarify it, contributing no parameter meaning beyond the bare path template '/cost-centers/{id}/'.

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 uses a specific verb ('update') with a clear resource ('cost center') and identifies the operation as a PUT endpoint for an existing cost center. It is unambiguous about the core function, though it does not explicitly differentiate itself from the sibling wafeq_cost_centers_partial_update, which performs a closely related operation.

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?

There is no guidance on when to use this tool versus wafeq_cost_centers_partial_update or wafeq_cost_centers_create. The critical distinction โ€” that PUT requires the full body (is_active, name_ar, name_en all required) while PATCH allows partial changes โ€” is never stated, leaving an agent likely to pick the wrong update variant.

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