Skip to main content
Glama

List contacts

list_contacts
Read-only

List contacts of the team, oldest first, with cursor pagination. Pass segment_id to list only that segment's members; include=properties,topics attaches the typed property map and the topic subscriptions to every item.

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
afterNoCursor: id of the last item of the previous page. Must be an id this list returned; there is no sentinel value.
limitNoPage size, 1-100 (default 20)
beforeNoCursor: id of the first item of the next page (page backwards); same rule as after.
includeNoMepMail extension: comma-separated facets attached to every item — `properties` (the {type, value} map GET /contacts/{id} returns) and `topics` (the rows GET /contacts/{id}/topics returns). Omitted, each item has the Resend shape.
segment_idNoOnly contacts in this segment

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the description's job is to add unsaid behavior. It does add 'oldest first' ordering and the cursor-pagination scheme, both non-obvious traits. It omits auth/permission requirements and rate-limit behavior.

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?

Two dense sentences: the core list behavior with ordering comes first, then per-parameter modifiers. 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?

With no output schema, the description carries return-shape burden, and it partially does so by describing what include attaches to 'every item' and noting the default Resend shape when omitted. It still leaves the un-enriched item shape and total-count behavior unstated, so it is not fully self-contained.

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% and the schema itself thoroughly documents after/before, limit, include and segment_id, so the baseline is 3. The description reinforces the segment_id and include semantics but adds little syntax or format detail beyond what the schema already supplies.

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 of the team') and adds ordering plus pagination style, which makes the operation concrete. It does not, however, explicitly differentiate itself from sibling readers like get_contact or list_segments, leaving the agent to infer the distinction.

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?

It gives conditional usage rules ('Pass segment_id to list only that segment's members') and explains the include facets, which tells the agent how to shape the call. There is no explicit when-not-to-use guidance or named alternative tool, so it falls short of a 5.

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.