Skip to main content
Glama
ohneben

ohneben's Wafeq MCP

wafeq_quotes_line_items_update

Idempotent

Update existing quote line items by specifying the quote and line item IDs, then provide new description, quantity, or unit amount to modify the details.

Instructions

๐ŸŸก WRITE ยท updates data ยท Quote Line Items ยท PUT /quotes/{quote_id}/line-items/{id}/

Update quote line item

Endpoint for updating an existing quote line item.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
bodyYesAugment ``custom_fields`` in the output with computed CALCULATED field values. Apply to any line-item serializer whose model has ``get_resolved_custom_fields``.
quote_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

C2.8/5.0
Behavior3/5

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

Annotations already provide readOnlyHint=false, destructiveHint=false, and idempotentHint=true, so the description is not solely responsible for conveying write behavior. The description adds the HTTP method PUT and the precise resource path, which is useful but thin. There is no contradiction with annotations, but no deeper behavioral context such as full-replacement semantics is disclosed.

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 description is short and front-loaded with a structured summary line, which is good. However, it redundantly repeats the same idea three times: 'updates data ยท Quote Line Items', 'Update quote line item', and 'Endpoint for updating an existing quote line item'. It could be tightened into one or two non-repetitive sentences.

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?

With no output schema and a nested required body, the description should clarify response behavior and distinguish this full PUT update from the partial_update sibling. It does neither. The many similar sibling tools make the missing usage semantics a real gap for agent selection.

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?

Top-level schema description coverage is only 50%, and quote_id and id have no descriptions while the body schema's description is a confusing leftover about augmenting custom_fields in output rather than explaining the update payload. The nested field descriptions and the path template provide some help, but the tool description itself adds no parameter guidance, so it does not compensate for the coverage gap.

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 states 'Update quote line item' and 'Endpoint for updating an existing quote line item,' with a resource-specific path /quotes/{quote_id}/line-items/{id}/. This clearly identifies the verb and resource and differentiates it from sibling line-item updates for invoices, bills, credit notes, etc. It loses a point for not listing which fields are updatable or otherwise deepening the resource description.

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?

No guidance is provided on when to use this tool versus the directly relevant sibling wafeq_quotes_line_items_partial_update, nor versus line-item update tools for other document types. The description only restates the operation and gives no conditions, exclusions, or alternatives.

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