Skip to main content
Glama

Get Profile

wa_get_profile
Read-only

Look up who a phone number is on WhatsApp, from one of your accounts: whether it is registered, its public name, about text, profile picture and — for a business — its categories, contact details and hours. An empty about or picture means the peer has not shared it with this account, not that it has none.

Input Schema

NameRequiredDescriptionDefault
phoneNothe number to look up, in international form (e.g. +447700900111)
account_idNowhich of your accounts to ask from, from wa_list_accounts; omit it when the workspace has only one account

Output Schema

NameRequiredDescriptionDefault
jidNo
nameNothe best available public name
noteNo
aboutNothe peer's status text, when they let this account see it
phoneNo
refusalNopresent only when the request was declined
businessNopresent only for a business account
is_businessNotrue or false when known; ABSENT means the lookup could not establish it (see note) — absence is not a no
name_sourceNobusiness or none — a verified business name is vouched for by WhatsApp; "none" means nothing public is published
on_whatsappYesfalse means the number is not registered on WhatsApp at all
picture_urlNoa WhatsApp-hosted URL that expires; fetch it promptly

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / refusal / properties / account_status / description
      Previous value: -"when the number is not working: its status — starting, not_running, whatsapp_down, suspended, pairing, unlinked or locked"New value: +"when the number is not working: its status — starting, not_running, whatsapp_down (telegram_down for a Telegram account), suspended, pairing, unlinked or locked"
  2. Changed3 schema fields changed
    • changedInput schema / properties / account_id / description
      Previous value: -"which of your accounts to ask from, from wa_list_accounts"New value: +"which of your accounts to ask from, from wa_list_accounts; omit it when the workspace has only one account"
    • removedInput schema / required
      Removed value: -[
      -  "account_id"
      -]
    • addedOutput schema / properties / refusal / properties / candidates
      Added value: +{
      +  "description": "on an account_ambiguous refusal: the accounts to choose from — retry with one of these as account_id",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "account_id": {
      +        "description": "the id to retry with as account_id",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "the account's WhatsApp display name",
      +        "type": "string"
      +      },
      +      "phone": {
      +        "description": "the account's phone number, E.164",
      +        "type": "string"
      +      },
      +      "status": {
      +        "description": "whether the number works right now — live, connecting, or why not, as wa_list_accounts reports it",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "account_id"
      +    ],
      +    "type": "object"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
  3. Changed3 schema fields changed
    • addedOutput schema / properties / refusal / properties / account_status
      Added value: +{
      +  "description": "when the number is not working: its status — starting, not_running, whatsapp_down, suspended, pairing, unlinked or locked",
      +  "type": "string"
      +}
    • addedOutput schema / properties / refusal / properties / account_status_reason
      Added value: +{
      +  "description": "the detail of account_status, e.g. no_egress, stopped, no_plan",
      +  "type": "string"
      +}
    • addedOutput schema / properties / refusal / properties / since
      Added value: +{
      +  "description": "when the number stopped working, RFC3339, when known",
      +  "type": "string"
      +}
  4. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations cover read-only safety, and the description adds real behavioral context the annotations cannot: results are account-relative, and an empty about/picture means the peer withheld it from this account rather than that it is unset. It does not cover failure behavior for unregistered numbers beyond the registered flag, so it falls short of a 5.

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?

Two sentences: the first front-loads what is returned, the second delivers a high-value caveat about empty fields. No repetition of the title or schema, nothing wasted.

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?

With an output schema present, return values need not be restated, and the description covers scope and the main interpretive pitfall. It leaves implicit that phone is effectively the key input (the schema marks nothing required), a minor gap for a lookup tool.

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 coverage is 100%, including phone format and the account_id lookup path, so the baseline is 3. The description adds only the soft notion of per-account visibility, not new semantics for either parameter.

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?

States a specific verb (look up) and resource (a phone number's WhatsApp identity) and enumerates exactly what comes back: registration status, public name, about text, picture, and business categories/contact/hours. This is clearly distinguishable from sibling list tools like wa_list_contacts and from wa_get_chat.

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?

"From one of your accounts" implies the account_id scoping and the schema points to wa_list_accounts, but there is no explicit when-to-use/when-not guidance and no routing to alternatives such as wa_get_chat for numbers already in a chat. Usage is inferable rather than stated.

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