Skip to main content
Glama

list_contacts

Read-only

List contacts. Optional search (first/last name, email), account_id (main organisation), category (category name, case-insensitive) or category_id, label (name or id), stale_days (last activity older than N days), order_by: last_activity|name|created (default last_activity). Returns category name, last_activity_at and labels[].

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
labelNoLabel
limitNoMaximum number of entries to return
offsetNoNumber of entries to skip (for paging)
searchNoFree-text search term
categoryNoFilter by contact category name (case-insensitive)
order_byNoField to sort by
account_idNoID of the account (company)
stale_daysNoOnly contacts whose last activity is older than this many days
category_idNoID of the category

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / account_id / description
      Added value: +"ID of the account (company)"
    • addedInput schema / properties / category / description
      Added value: +"Filter by contact category name (case-insensitive)"
    • addedInput schema / properties / category_id / description
      Added value: +"ID of the category"
    • addedInput schema / properties / label / description
      Added value: +"Label"
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of entries to return"
    • addedInput schema / properties / offset / description
      Added value: +"Number of entries to skip (for paging)"
    • addedInput schema / properties / order_by / description
      Added value: +"Field to sort by"
    • addedInput schema / properties / search / description
      Added value: +"Free-text search term"
    • addedInput schema / properties / stale_days / description
      Added value: +"Only contacts whose last activity is older than this many days"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds useful behavior beyond annotations: default sorting by last_activity, case-insensitive category matching, the meaning of stale_days, and a partial description of returned fields (category name, last_activity_at, labels[]). It does not describe pagination behavior, so it is not fully complete.

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?

The description is front-loaded with "List contacts" and then packs filter and return details into a compact paragraph. Every clause carries useful information, though the single dense sentence is slightly harder to scan than structured bullets. It is appropriately sized for a 9-parameter list tool.

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 9 optional parameters, no output schema, and annotations that already cover read-only safety, the description provides enough filter semantics and partial return-field information for correct invocation. The main gap is sibling differentiation, which is more a purpose/usage concern than a completeness one.

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 description coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the terse schema: search covers first/last name and email, account_id refers to the main organisation, category matching is case-insensitive, label accepts a name or id, stale_days means last activity older than N days, and order_by supports last_activity|name|created with a documented default. It omits added meaning for limit and offset, which keeps it from a 5.

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 states a specific verb and resource: "List contacts." This is clear enough for an agent to understand the operation. However, it does not distinguish this tool from the many sibling contact-listing tools (e.g. list_brevo_contacts, list_hubspot_contacts), so it falls short of the sibling differentiation required for 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?

The description lists optional filters such as search, account_id, category, label, stale_days, and order_by, which implies the tool is for filtered contact listing. It does not state when to use this tool instead of any alternative contact-list tool, nor does it provide exclusions or prerequisites. Usage is therefore only implied.

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.