Skip to main content
Glama
razvangirgiz

wazap-mcp

by razvangirgiz

Add or rename a WhatsApp contact

save_contact

Add a new person or rename an existing contact in WhatsApp. Saves the name to the account and linked devices, with optional write to the phone's address book.

Instructions

Save a person in the account's WhatsApp contacts: a new entry for a phone number, or a new name for an existing one. The name syncs to every linked device, and with save_on_phone (default) also into the phone's own address book. WhatsApp keeps no other fields — email, "my accountant" and the like go to set_contact_note, which stays on this machine.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesFull name to save the contact under
account_idNoRegistry account id (default, work, …). Omit to resolve from chat_id or message_id, or the default account.
contact_idYesContact id from search_contacts / get_contact, or a phone number
first_nameNoFirst name, when it differs from the full name
save_on_phoneNoAlso write the contact into the phone's address book; false keeps it inside WhatsApp

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.21.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations indicate a non-readonly write operation, and the description adds concrete side effects: name syncs to all linked devices and optionally to the phone's address book. It also clarifies that no other fields are stored, which helps set expectations beyond what annotations convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

The description is compact and front-loaded with the core purpose, then adds essential behavioral detail and a sibling distinction. Every sentence carries information without redundancy.

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 write tool with full schema coverage and no output schema, the description covers the primary use cases, side effects, and scope. It lacks explicit error or prerequisite information, but the tool is straightforward and the provided detail is sufficient for correct invocation.

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 100%, so the baseline is 3. The description adds meaning by explaining that save_on_phone controls phone-book writes and by clarifying that the name field is for the contact name only (with notes going elsewhere). This enriches the parameter semantics beyond the schema.

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 clear verb (save) and resource (WhatsApp contacts), and distinguishes two use cases: creating a new entry or renaming an existing one. It also explicitly routes non-name fields to set_contact_note, which differentiates it from that sibling.

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

Usage Guidelines4/5

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

It clearly explains when to use the tool (new contact or rename) and gives an explicit exclusion for notes via set_contact_note. It doesn't enumerate all sibling tools but provides sufficient context to avoid the most common confusion.

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