Skip to main content
Glama
ohneben

ActiveCampaign MCP

get_count_history_by_segment_id

Read-onlyIdempotent

Retrieve the count history for a segment's query results. Use pagination to fetch up to 50 records per page.

Instructions

🟢 READ-ONLY · Segments · GET /api/3/segmentsV2/{segmentId}/count-history

Retrieve all result counts for the given segment that were ran without an AdditionalCriteria

Fetches data. Makes no changes to your ActiveCampaign account.

Up to 50 results will be returned at once. To get the next page, request again with the last result's timestamp formatted as an EPOCH seconds value

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of results per page (ActiveCampaign default 20, max 100).
offsetNoZero-based offset into the result set for pagination.
ordersNoSort order as an object, e.g. {"email":"ASC"} → orders[email]=ASC.
filtersNoField filters as an object, e.g. {"name":"ecom"} → filters[name]=ecom.
segmentIdYesA segment id
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds behavioral context beyond annotations by explaining the read-only nature ('Makes no changes') and pagination behavior (50 result limit, epoch-based pagination). This adds value, though it does not cover all edge cases like rate limits or error handling.

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 concise with 3 sentences and a header line. It front-loads key information (read-only, endpoint). However, the header repeats information from the first sentence, and the structure could be improved for clarity.

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?

With no output schema, the description should explain the return format. It mentions 'result counts' and pagination but does not describe the response structure (e.g., fields, data types). Given the complexity (5 params, nested objects), the description is incomplete, though the pagination guidance is helpful.

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?

Input schema coverage is 100%, so each parameter is documented with descriptions. The description does not add new meaning beyond the schema; it only references 'segmentId' implicitly. The pagination info mentions a response field (timestamp) not a parameter, so parameter semantics remain at baseline.

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 clearly states it retrieves result counts for a specific segment without additional criteria, using the verb 'Retrieve' and specifying the resource. However, it does not differentiate from sibling tools like get_count_history_with_timestamp or get_recent_count_history, which limits clarity for distinguishing between similar tools.

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 provides basic guidance (read-only, no changes) and pagination details (up to 50 results, next page with epoch timestamp). However, it lacks explicit when-to-use vs alternatives, and does not mention exclusions or prerequisites for using this tool over others.

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/ohneben/ActiveCampaign-MCP'

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