Skip to main content
Glama

persons_get_collection

Fetch persons using cursor-based pagination for efficient large-scale data synchronization, with optional date range and owner filters.

Instructions

Get all persons using the collection endpoint.

This endpoint provides an alternative way to fetch persons with different capabilities:

  • Cursor-based pagination (more efficient for large datasets)

  • Date range filtering (since/until)

  • Optimized for data synchronization

  • Better performance for large-scale operations

Key differences from persons_list:

  • Uses cursor pagination instead of offset/limit

  • Supports date-based filtering for incremental sync

  • More efficient for fetching large volumes

  • Better for ETL and data integration scenarios

Parameters:

  • cursor: Pagination cursor from previous response

  • limit: Items per page (default: 100, max: 500)

  • since: Start date (YYYY-MM-DD) - get persons modified since this date

  • until: End date (YYYY-MM-DD) - get persons modified until this date

  • owner_id: Filter by owner user ID

  • first_char: Filter by first character of name

Use cases:

  • Initial data synchronization

  • Incremental updates (using since parameter)

  • Large-scale data exports

  • Integration with external systems

  • ETL pipelines

  • Backup and archival

The cursor-based approach is more reliable than offset pagination for datasets that change frequently, as it maintains consistency even when records are added or deleted during pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cursorNoCursor for pagination (from previous response)
limitNoNumber of items to return (default: 100, max: 500)
sinceNoStart date for filtering (YYYY-MM-DD format)
untilNoEnd date for filtering (YYYY-MM-DD format)
owner_idNoFilter by owner user ID
first_charNoFilter by first character of name (single letter)
Behavior4/5

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

Without annotations, the description carries full burden. It explains the cursor-based pagination, date range filtering, and benefits over offset pagination. However, it does not mention potential side effects, error handling, or authentication requirements, which would be valuable.

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 well-organized: purpose, capabilities, differences, parameters, use cases. It is informative but slightly verbose, with some redundancy between the initial bullet list and the later use-case list.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description does not explain return values beyond 'Get all persons'. It focuses on input behavior but omits response structure (e.g., fields of person objects). For a collection tool, this is a moderate gap.

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 coverage is 100%, so baseline is 3. The description adds minor clarifications (default/max limit, date format). It largely reiterates schema descriptions without providing new semantic insights.

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?

The description clearly states the tool gets all persons via a collection endpoint, and explicitly highlights it as an alternative to persons_list with cursor-based pagination and date filtering. It successfully distinguishes the tool from its main sibling.

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?

The description lists specific use cases like initial sync, incremental updates, and large-scale exports. It also explicitly compares with persons_list, detailing key differences (cursor vs. offset, date filtering, performance). This helps the agent decide when to use this tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/iamsamuelfraga/mcp-pipedrive'

If you have feedback or need assistance with the MCP directory API, please join our Discord server