Skip to main content
Glama

List contacts

list_contacts
Read-onlyIdempotent

List workspace members and manually saved contacts.

    A member entry carries a workspace role and a ``member:<user_id>`` ID.
    A manually saved contact has its own contact ID and no workspace role.
    Either kind can be selected for handover when it has a phone number.

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": "list_contacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOnly contacts whose name, email or phone contains this text.
limitNoMaximum matching contacts to include in this reply. Omitted: 100.
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. Changed5 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"How many contacts to return in one reply. Omitted: 100."New value: +"Maximum matching contacts to include in this reply. Omitted: 100."
    • 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: -"list_contacts_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. Changed1 schema field changed
    • changedInput schema / properties / limit / description
      Previous value: -"Most contacts to return. Omitted: 100."New value: +"How many contacts to return in one reply. Omitted: 100."
  6. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already establish that this is a read-only, idempotent, non-destructive, closed-world operation. The description adds useful behavioral context beyond that by explaining the member versus saved-contact data model and the phone-number requirement for handover eligibility.

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 front-loaded with the core purpose and then adds two concise clarifications about entry types and handover eligibility. Every sentence contributes useful information without repetition or filler.

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?

Given the existing output schema, annotations, and fully described parameters, the description provides enough context about what kinds of contacts are returned. Its main omission is explicit routing guidance versus sibling contact tools, which prevents a top score.

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 q, limit, and llm_model all documented in the schema. The description does not add any parameter-specific meaning beyond the schema, so the baseline score of 3 is appropriate.

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 names a specific verb and resource pair: listing workspace members and manually saved contacts. It clearly explains the two entry kinds, but it does not explicitly distinguish this from sibling tools such as lookup_contact or create_contact.

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 description implies usage for listing contacts and identifying handover-eligible entries with phone numbers. However, it does not state when to use this tool instead of lookup_contact or create_contact, nor does it provide exclusions.

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.