Skip to main content
Glama
1msg MCP

1msg MCP

Official
by 1msg

send_contact

Send a WhatsApp contact card to share a contact's name and phone number in a chat via the 1msg Chat API.

Instructions

Send a WhatsApp contact card.

Preferred simple body (legacy-compatible):

{
  "phone": "79001234567",
  "contact": { "name": "Lida", "phone": "+79181976551" }
}

Cloud API shape also works: contacts is an array of objects with name.formatted_name and phones[].phone (E.164 string, not a timestamp).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "send_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
phoneNo
chatIdNo
contactNo
contactsNo
quotedMsgIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changedv1.2.10
    • addedInput schema / properties / chatId
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / contact
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "email": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "additionalProperties": {},
      +          "propertyNames": {
      +            "type": "string"
      +          },
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "org": {
      +      "additionalProperties": {},
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "phone": {
      +      "type": "string"
      +    },
      +    "url": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "name",
      +    "phone"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / contacts / items / properties / addresses / items / additionalProperties
      Added value: +{}
    • addedInput schema / properties / contacts / items / properties / addresses / items / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / contacts / items / properties / addresses / items / type
      Previous value: -"string"New value: +"object"
    • addedInput schema / properties / contacts / items / properties / emails / items / additionalProperties
      Added value: +{}
    • addedInput schema / properties / contacts / items / properties / emails / items / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / contacts / items / properties / emails / items / type
      Previous value: -"string"New value: +"object"
    • addedInput schema / properties / contacts / items / properties / urls / items / additionalProperties
      Added value: +{}
    • addedInput schema / properties / contacts / items / properties / urls / items / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / contacts / items / properties / urls / items / type
      Previous value: -"string"New value: +"object"
    • addedInput schema / properties / quotedMsgId
      Added value: +{
      +  "type": "string"
      +}
  2. First observedv1.2.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and mostly doesn't meet it: it says nothing about delivery semantics, authentication, rate limits, error modes, or what happens when neither phone nor chatId is supplied. The only behavioral hints are that the legacy shape is "preferred" and that the phone value must be E.164 rather than a timestamp, which is thin for a mutating send operation.

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 purpose is front-loaded in one sentence, followed by a compact example and a short note on the alternate shape. The example earns its space by resolving real ambiguity, though the bolded "not a timestamp" aside reads as patch-up wording rather than clean specification.

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 five-parameter, deeply nested send tool with no annotations and no output schema, the description covers only payload shape. It omits recipient selection (phone vs chatId), quoting behavior, and any indication of what a successful or failed send looks like, so an agent could easily construct a call the schema accepts but the API rejects.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must compensate, and it partially does: the example disambiguates the top-level `phone` (recipient) from `contact.phone` (the shared card's number) and it explains the `contacts[].name.formatted_name` and `phones[].phone` nesting. It leaves `chatId` and `quotedMsgId` completely unexplained, and it never states that the schema marks zero required parameters, leaving the agent to guess what the minimum valid call looks like.

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 first sentence gives a specific verb and resource ("Send a WhatsApp contact card"), which distinguishes it from most siblings by payload type. It does not name or contrast with the nearest alternatives such as send_message or send_product, so differentiation is implied rather than stated.

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

Usage Guidelines3/5

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

The phrase "Preferred simple body (legacy-compatible)" implies a default choice between the two accepted shapes, which is useful guidance. However, there is no guidance on when to use this tool instead of send_message or another send_* tool, and no stated prerequisites or recipient requirements.

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