Skip to main content
Glama

List contacts

list_contacts
Read-onlyIdempotent

List and filter the CRM contacts (people who have written to or interacted with the connected accounts), each with id, name, email, tags, subscribed and platform, plus count with the total that matched before the limit. Use it to find a person or a segment; for one person's channels, custom fields and notes use get_contact, and for their messages list_conversations. Returns 40 by default and at most 200: if count is higher, narrow with tag, search, platform or accountId. The id is what get_contact, update_contact, set_contact_field and enroll_in_sequence take.

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
tagNoOnly contacts carrying this exact tag (case-insensitive).
limitNoMax contacts returned (default 40, max 200).
searchNoText contained in the contact's name or email (case-insensitive).
platformNoOnly contacts from this network (e.g. instagram, whatsapp, facebook).
accountIdNoOnly contacts of this connected account (id from list_accounts).
workspaceIdNoWorkspace to work on (an id from list_workspaces). Not needed when this connection is tied to one workspace, or when you pass an account: the account's workspace is used.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / accountId / description
      Previous value: -"Restrict to one account (Ignix account id)."New value: +"Only contacts of this connected account (id from list_accounts)."
    • changedInput schema / properties / limit / description
      Previous value: -"Max rows (default 40)."New value: +"Max contacts returned (default 40, max 200)."
    • changedInput schema / properties / platform / description
      Previous value: -"Restrict to one network."New value: +"Only contacts from this network (e.g. instagram, whatsapp, facebook)."
    • changedInput schema / properties / search / description
      Previous value: -"Match on name or email."New value: +"Text contained in the contact's name or email (case-insensitive)."
    • changedInput schema / properties / tag / description
      Previous value: -"Only contacts carrying this tag."New value: +"Only contacts carrying this exact tag (case-insensitive)."
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered; the description goes further by disclosing the pagination contract (40 default, 200 max) and the precise meaning of `count` as the pre-limit total. That count-vs-limit distinction is the kind of behavior an agent cannot infer from annotations and prevents a common truncation mistake.

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?

Three sentences, front-loaded with what is returned, then routing to alternatives, then the cap and the id's downstream use. No filler, and the ordering matches how an agent needs the information.

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?

For a read-only filtered list with no output schema, the description covers return fields, result cap, count semantics and the id's reuse. Nothing an agent needs in order to call this correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3; the description still adds meaning by tying `count` to `limit` and by stating that `id` is the key consumed by get_contact, update_contact, set_contact_field and enroll_in_sequence, which the schema never says. It does not add per-parameter detail beyond the schema for tag/search/platform, which are already well documented.

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 and resource ('List and filter the CRM contacts'), defines the entity in parenthetical scope terms, and enumerates returned fields. It explicitly separates itself from get_contact (single person's channels, custom fields, notes) and list_conversations (messages), so an agent can pick it without opening a sibling schema.

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

Usage Guidelines5/5

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

Gives positive usage ('find a person or a segment') and names two alternatives with the exact condition that selects each. It also gives an in-tool escalation rule: if `count` exceeds the cap, narrow with tag, search, platform or accountId.

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