Skip to main content
Glama
amoCRM MCP Server

amoCRM MCP Server

by AntonTera

Analytics Get Events

analytics_get_events

Retrieve filtered amoCRM account events by entity type, entity ID, date range, or event type to inspect activity and support reporting.

Instructions

Retrieve account events with optional filters.

Supports filtering by entity type (lead, contact, company, customer, task), entity ID, date range (unix timestamps), and event types. Event entity_type uses singular form (lead, not leads). entity_id requires entity_type to be set.

Filter encoding verified against live amoCRM API:

  • filter[entity][] for entity type

  • filter[entity_id][] for entity ID (requires exactly 1 entity type)

  • filter[created_at][from/to] for date range (unix timestamps)

  • filter[type][] for event types

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "input": "<input>"
    },
    "name": "analytics_get_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesInput for analytics_get_events tool.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden, and it does real work: it discloses the exact filter encoding verified against the live amoCRM API and the constraint that entity_id requires exactly one entity type. It omits pagination behavior (the 250-item cap) and does not explicitly declare the operation read-only, though 'Retrieve' strongly implies it, keeping this below a 5.

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 purpose sentence and filter summary are front-loaded and the bulleted encoding list is scannable. It is slightly padded: the filter[entity][] style mappings largely duplicate the schema's own parameter descriptions rather than adding new information.

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

Completeness5/5

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

An output schema exists, so return values need not be explained, and the description covers the meaningful invocation constraints: entity type vocabulary, the entity_id/entity_type dependency, and unix timestamp format. For a filtered read tool with full schema coverage, nothing an agent needs in order to call it correctly is missing.

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%, so every parameter is already documented, which sets the baseline at 3. The description does add a little meaning beyond the schema, notably the singular entity_type form and the one-entity-type restriction on entity_id, but most of its filter-encoding list restates what the schema already says about unix timestamps and the entity_type dependency.

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 opens with a specific verb and resource: 'Retrieve account events with optional filters.' That is unambiguous and, since no sibling tool covers events, the agent can tell what domain this belongs to. It stops short of naming or contrasting with a sibling such as analytics_get_pipeline_analytics, so it does not earn 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 implies usage by listing the supported filters and two preconditions ('entity_id requires entity_type to be set', 'entity_type uses singular form'), which steers invocation correctly. It never states when to reach for this tool instead of another analytics or entity-listing sibling, and offers no exclusions, so guidance is implied rather than explicit.

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