Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as ErzyCall. If you published it, claim ownership there.

update_commitment

Change a commitment status, add a History note, attach context messages, or fix its title. Always get_commitment first, explain the exact change and obtain user confirmation. addContext attaches up to 10 messages, including another chat in the same organization; find messageId with get_whatsapp_conversation. Context alone does not change status. status can be owed (reopen), delivered (we did it), cancelled (no longer needed), or automatic (return control to Observer). confirmed/disputed come only from the customer in chat. A manual status wins over Observer until automatic. Status requires a reason in note. Requires commitments:write; on INSUFFICIENT_SCOPE reconnect and approve it. On VERSION_CONFLICT read again, show the new state and reconfirm. Reuse the same idempotencyKey only for retries of this exact change. There is no delete.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "commitmentId": "<commitmentId>",
      "expectedVersion": "<expectedVersion>",
      "confirmed": "<confirmed>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "update_commitment"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoWhy this change is needed; required with status. Saved in History.
titleNo
statusNoSet by hand, or automatic to return control to Observer. Only the customer can confirm/dispute in chat.
confirmedYesMust be true only after the user explicitly confirms this exact operation
addContextNoAttach up to 10 messages as context without changing status
commitmentIdYesID from list_commitments, then get_commitment for the current version
idempotencyKeyYesA unique identifier generated once for this intended write. Reuse exactly when retrying.
expectedVersionYesCurrent version from get_commitment; read again on VERSION_CONFLICT

Output Schema

NameRequiredDescriptionDefault
dataNo
successNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say non-read-only, non-destructive, closed-world; the description goes far beyond that with the required commitments:write scope, INSUFFICIENT_SCOPE reconnect flow, VERSION_CONFLICT recovery procedure, idempotencyKey retry-only reuse rule, and the invariant that context alone does not change status. It also discloses domain semantics (confirmed/disputed only from the customer, manual status overriding Observer until 'automatic') that no structured field carries.

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?

Almost every sentence carries operational information and the read-first/confirm-first rule is front-loaded. It is a dense single block without visual separation of the workflow, status semantics, and error handling, which makes it harder to scan, but there is little true filler.

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

Completeness5/5

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

For an 8-parameter mutation with an output schema already covering return values, the description closes the remaining gaps: preconditions, permission failure, version conflict, idempotency retry semantics, and the absence of delete. An agent could execute this tool correctly without consulting anything else.

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?

Schema coverage is 88%, so the schema already defines most parameters; the description still adds cross-field meaning the schema only hints at, such as status requiring a reason in note and addContext accepting messages from any chat in the same organization. The status enum gloss (owed=reopen, automatic=return control to Observer) clarifies intent rather than merely restating values.

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 opening sentence names four specific operations on a specific resource: change status, add a History note, attach context messages, fix title. It is immediately distinguishable from get_commitment and create_commitment by naming the read-first sibling explicitly.

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

Usage Guidelines5/5

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

It gives explicit prerequisites (always get_commitment first, explain the change, obtain user confirmation), routes to get_whatsapp_conversation for messageId discovery, and states an exclusion ('There is no delete'). The conditions that select each sub-operation (status vs addContext vs title) are spelled out.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources