Skip to main content
Glama

Get contact

get_contact
Read-onlyIdempotent

One contact with notes, CRM attributes (company, birthday, address, website, tags, custom_fields), opt-out state (opted_out / opt_out_source), current labels (plus a label_version token for update_labels), and the ids of their WhatsApp conversations that are inside your AI access scope.

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": {
      "contact_id": "<contact_id>"
    },
    "name": "get_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
contact_idYes

Output Schema

NameRequiredDescriptionDefault
notesYes
labelsYes
contactYes
label_versionYes
conversation_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedOutput schema / properties / contact / properties / address
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/properties/contact/properties/name/anyOf/0"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / contact / properties / birthday
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / contact / properties / company
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/properties/contact/properties/name/anyOf/0"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / contact / properties / custom_fields
      Added value: +{
      +  "additionalProperties": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / contact / properties / opt_out_source
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "label"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / contact / properties / opted_out
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / contact / properties / tags
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / contact / properties / website
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / contact / required
      Previous value: -[
      -  "contact_id",
      -  "name",
      -  "phone",
      -  "email",
      -  "whatsapp_name",
      -  "is_whatsapp",
      -  "status",
      -  "is_archived",
      -  "created_at"
      -]New value: +[
      +  "contact_id",
      +  "name",
      +  "phone",
      +  "email",
      +  "whatsapp_name",
      +  "is_whatsapp",
      +  "status",
      +  "is_archived",
      +  "created_at",
      +  "company",
      +  "birthday",
      +  "address",
      +  "website",
      +  "tags",
      +  "custom_fields",
      +  "opted_out",
      +  "opt_out_source"
      +]
  2. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so the safety profile is covered. Beyond that, the description discloses two useful traits: conversations are limited to those 'inside your AI access scope,' and the label_version token is the value needed by update_labels, a cross-tool dependency the annotations cannot express.

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?

A single front-loaded sentence that opens with the resource and then lists facets in a readable order. The field laundry-list is dense but every clause carries information, with no filler.

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

Completeness3/5

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

An output schema exists, so explaining return values is optional rather than required, and the description goes further by flagging the access-scope limit and the update_labels token. It remains silent on id format and on behavior when the contact is missing or out of scope, which matters for a single-param lookup.

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

Parameters2/5

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

Schema description coverage is 0% and the single parameter, contact_id, is only constrained by a numeric-string pattern. The description never mentions the identifier, its format, or where to obtain it, so it does not compensate for the schema gap.

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 description specifies the resource precisely (one contact) and enumerates the returned facets: notes, CRM attributes, opt-out state, labels, and conversation ids. It clearly separates this from list-style tools, though it never names the sibling search_contacts or states that lookup is by id.

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

Usage Guidelines2/5

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

There is no when-to-use guidance: no statement about calling this for a known contact_id versus using search_contacts to find one, and no prerequisites. The reader must infer usage entirely from the enumerated return fields.

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