Skip to main content
Glama

List contacts

plando_list_contacts
Read-onlyIdempotent

Lists CRM contacts in pages of 50, oldest ID first, and filters by creation or update date, status change, status, or contact fields to narrow results and reduce API quota use.

Instructions

List contacts, 50 per call, oldest id first. Filter by when they were created or updated, when their customer status changed, by status, or by any contact field. With no date filter it lists every contact. Each call uses one API call from the monthly quota, so filter as much as possible. To get the next page, pass next_page from the previous answer as after_contact_id.

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

Input Schema

NameRequiredDescriptionDefault
fieldsNoExtra comma-separated contact fields to return, on top of the defaults. Examples: p_id (national id), lead_status_cat_id, lead_origin_cat_id, customer_sales_person_id, customer_status_change, is_retainer, retainer_amount, retainer_next_payment, custom fields by column name (text_1, date_1, decimal_1, category_1), tags (tag_<type>), last_open_invoice, last_receipt, contact_sales, contact_projects. Unknown names come back empty.
filtersNoFilter by contact field values, e.g. {"category_1": "5,6"}. A list containing -1 also matches empty values.
statusesNoComma-separated customer status ids (get them with return_ids=true)
created_toNoCreated on or before
return_idsNotrue = return ids instead of names for statuses, categories and tags (needed for the `statuses` filter)
updated_toNoUpdated on or before
created_fromNoCreated on or after: YYYY-MM-DD or YYYY-MM-DD HH:MM (Israel time)
updated_fromNoUpdated on or after
after_contact_idNoPaging: return contacts with an id greater than this
status_changed_toNoCustomer status changed on or before: YYYY-MM-DD
status_changed_fromNoCustomer status changed on or after: YYYY-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover read-only and idempotency, and the description adds substantial behavior beyond them: fixed page size of 50, oldest-id-first ordering, the quota cost of one API call per invocation, the consequence of omitting date filters, and the pagination contract. That is exactly the operational context 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.

Conciseness5/5

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

Five sentences, each carrying a distinct fact: scope, filtering options, default behavior, cost, and pagination. The most decision-relevant facts (page size, ordering, cost) are front-loaded and there is no filler or restatement of the tool name.

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?

For an 11-parameter tool with a nested filter object and no output schema, the description covers ordering, paging, cost, and the default-result warning, and even names the `next_page` response key. It does not describe the returned record shape or default field set, which is a minor remaining gap given there is no output schema.

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 a baseline of 3 is guaranteed; the description earns more by explaining the paging linkage, i.e. that `next_page` from the previous response must be passed as `after_contact_id`, which is not obvious from the schema field name alone. It also frames which parameter families exist for filtering.

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?

Opens with a specific verb and resource plus operational detail: 'List contacts, 50 per call, oldest id first.' An agent immediately knows this is a bulk enumeration tool with a deterministic order. It does not explicitly distinguish itself from the sibling plando_find_contact, so it stops short of 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 Guidelines4/5

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

Gives concrete guidance on when and how to narrow: filter by creation/update dates, status-change dates, status, or any contact field, and warns that no date filter returns everything. It also justifies filtering via the quota cost. It never names an alternative tool for single-record lookups, so no explicit exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.