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.

create_commitment

Add a commitment by hand when it is missing, such as a promise made by phone. First list_commitments to avoid duplicates. Find conversationId with list_whatsapp_conversations and optional evidenceMessageIds with get_whatsapp_conversation. Explain the exact title, delivery and who owes it, then obtain confirmation immediately before writing. Requires commitments:write. The new card starts owed, createdBy api, and shows Added by hand; Observer reads it on later chat activity to avoid making another copy. Evidence must be available in this chat; use update_commitment.addContext for other chats. Reuse the same idempotencyKey only for an exact retry. Returns commitmentId and version; use get_commitment for details.

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": {
      "conversationId": "<conversationId>",
      "title": "<title>",
      "delivery": "<delivery>",
      "owedBy": "<owedBy>",
      "confirmed": "<confirmed>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "create_commitment"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
titleYes
originNoask
owedByYesWho must deliver; the other side is owed
deliveryYesExactly what must be delivered
confirmedYesMust be true only after the user explicitly confirms this exact operation
conversationIdYesChat ID from list_whatsapp_conversations; every commitment belongs to a chat
idempotencyKeyYesA unique identifier generated once for this intended write. Reuse exactly when retrying.
evidenceMessageIdsNoOptional proof from this chat; use update_commitment.addContext for other chats

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 declare a non-destructive, non-open-world write; the description adds far more: commitments:write scope, that the new card starts owed with createdBy api and an 'Added by hand' label, and the Observer dedupe behavior on later chat activity. It also explains idempotencyKey retry semantics and that evidence must exist in this chat, which are behavioral facts found nowhere in the 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?

Front-loads the purpose and then sequences the workflow (dedupe, resolve IDs, confirm, write, retry) in a logical order with no filler. Some sentences are heavily packed with multiple instructions, which slightly slows parsing but every clause carries information.

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 a 9-parameter mutation with a confirmation gate and side effects on later Observer processing, the description covers permissions, prerequisite lookups, evidence scoping, idempotency, and post-write state. An output schema exists, yet the brief note about returning commitmentId and version usefully points the agent to get_commitment for details.

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?

With schema coverage at 67%, the description compensates well for the key fields: it assigns conversationId to list_whatsapp_conversations, scopes evidenceMessageIds to the current chat, constrains idempotencyKey to exact retries, and ties confirmed to an explicit user confirmation. It does not address the note parameter or clarify the origin enum choice beyond a passing 'promise made by phone' example, leaving a small gap.

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?

Opens with a specific verb and resource plus the distinctive scope: 'Add a commitment by hand when it is missing, such as a promise made by phone.' That hand-created, backfill framing clearly separates it from list_commitments, get_commitment and update_commitment in the sibling set.

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?

Gives explicit preconditions and routing: list_commitments first to avoid duplicates, list_whatsapp_conversations for conversationId, get_whatsapp_conversation for evidenceMessageIds, and update_commitment.addContext as the alternative when evidence lives in another chat. It also states the confirmation gate must happen immediately before writing.

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