Skip to main content
Glama

Look up a contact

lookup_contact
Read-onlyIdempotent

Find workspace contacts by name, email or phone fragment.

Returns up to ten matches containing names, phone numbers, email addresses and IDs. Several matches can refer to different people.

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": {
      "query": "<query>"
    },
    "name": "lookup_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesPart of a name, email address or phone number, such as ``Dana``.
llm_modelNoThe calling agent's provider model ID, as shown in the client's model configuration when available. Recorded for analytics.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / $defs / ContactEntry / properties / extension
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Extension on your connected phone system. Null if none on file.",
      +  "title": "Extension"
      +}
    • changedOutput schema / $defs / ContactEntry / required
      Previous value: -[
      -  "id",
      -  "kind",
      -  "name",
      -  "phone_e164",
      -  "email",
      -  "role"
      -]New value: +[
      +  "id",
      +  "kind",
      +  "name",
      +  "phone_e164",
      +  "email",
      +  "extension",
      +  "role"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / llm_model / description
      Previous value: -"Model ID of the calling agent. Optional. Recorded for analytics only."New value: +"The calling agent's provider model ID, as shown in the client's model configuration when available. Recorded for analytics."
  3. Changed4 schema fields changed
    • addedOutput schema / $defs
      Added value: +{
      +  "ContactEntry": {
      +    "description": "One row in the computed contacts union — an org member or a manual\ncontact. ``id`` is ``member:<user_id>`` for members, the contact row's\nUUID (as str) for manual rows.",
      +    "properties": {
      +      "email": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Email address. Null if none on file.",
      +        "title": "Email"
      +      },
      +      "id": {
      +        "description": "'member:<user_id>' for an org member, or the contact row's UUID (as a string) for a manual contact.",
      +        "title": "Id",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "description": "'member' if this row is a member of the organization, 'manual' if it was added as a contact.",
      +        "enum": [
      +          "member",
      +          "manual"
      +        ],
      +        "title": "Kind",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "Display name.",
      +        "title": "Name",
      +        "type": "string"
      +      },
      +      "phone_e164": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Phone number, E.164 format. Null if none on file.",
      +        "title": "Phone E164"
      +      },
      +      "role": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Organization role (e.g. 'owner', 'admin', 'member') for kind='member'. Always null for kind='manual'.",
      +        "title": "Role"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "kind",
      +      "name",
      +      "phone_e164",
      +      "email",
      +      "role"
      +    ],
      +    "title": "ContactEntry",
      +    "type": "object"
      +  }
      +}
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "properties": {
      +      "items": {
      +        "description": "Contacts in this page.",
      +        "items": {
      +          "$ref": "#/$defs/ContactEntry"
      +        },
      +        "title": "Items",
      +        "type": "array"
      +      },
      +      "next_cursor": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Opaque cursor for the next page. Null when there are no more results.",
      +        "title": "Next Cursor"
      +      }
      +    },
      +    "required": [
      +      "items",
      +      "next_cursor"
      +    ],
      +    "title": "ContactListResponse",
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "error": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / title
      Removed value: -"lookup_contact_toolDictOutput"
  4. Changed1 schema field changed
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "Model ID of the calling agent. Optional. Recorded for analytics only.",
      +  "type": "string"
      +}
  5. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description adds real value beyond them: a result cap of ten matches, the fields returned, and the important caveat that several matches may be different people. That ambiguity warning is material behavior an agent would otherwise miss; absence of query-matching rules (prefix vs substring) keeps it from 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.

Conciseness4/5

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

Two short sentences, front-loaded with purpose then result shape, with no wasted wording. Only minor cost is the slightly awkward line-broken formatting, which does not hurt comprehension.

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?

A read-only, two-parameter lookup with full schema coverage, annotations, and an output schema. The description covers purpose, result cap, returned fields, and the multi-match caveat, leaving nothing an agent needs in order to invoke it correctly.

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 100%, with 'query' already documented with an example ('Dana') and llm_model explained inline as analytics metadata. The description restates the searchable fields but adds no new syntax or matching rules, so baseline 3 applies.

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?

States a specific verb and resource ('Find workspace contacts') plus the searchable fields (name, email, phone fragment), so the agent knows exactly what the tool does. It stops short of naming how it differs from the sibling list_contacts, which is the only thing separating it from a 5.

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?

Usage is only implied: the phrase 'name, email or phone fragment' suggests this is a targeted search, and the warning that 'several matches can refer to different people' hints at disambiguation use. There is no explicit statement of when to prefer this over list_contacts or when not to use it.

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.