Skip to main content
Glama

Data Parrot AI Revenue Analyst for HubSpot

Review Sales Activity

get_engagements
Read-onlyIdempotent

Return date-bounded activities or deal/lead CRM object events. For activities associated with deals or leads, use meetings, calls, emails, or communications plus association filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
detailNo
columnsNoOptional fields to return for each activity; omit for safe defaults. Safe meeting fields include owner_name, associated_deals, and associated_companies. Grouped row_count is an output, not an activity field.
deal_idsNo
group_byNoOptional day (120), week (208), or month (60) grouping plus one field. Fields: meetings owner_name/hubspot_owner_id/meeting_type/hs_meeting_start_time; calls owner_name/hubspot_owner_id/call_type; emails owner_name/hubspot_owner_id/email_direction; communications owner_name/hubspot_owner_id/communication_channel_type; deals owner_name/hubspot_owner_id/deal_status; leads owner_name/hubspot_owner_id/lead_status. Period-only results zero-fill. Communication series zero-fill explicitly requested channels, otherwise observed channels in the requested date range. Other dimensions return observed period/dimension combinations only; values are deduplicated and period_start is returned.
team_idsNoExclusive selector: exact team IDs, expanded to active owners.
call_typeNo
owner_idsNoExclusive selector: exact IDs from the owners catalog.
page_sizeNoRow size 1-100; use page/page_size. Groups use group_page_size.
date_rangeYesRequired activity start_date and end_date as explicit dates. Resolve relative periods before calling.
activity_idNoExact activity_fact_id returned by an engagement row or grouped supporting evidence.
company_idsNo
contact_idsNo
deal_statusNo
lead_statusNo
owner_scopeNoExclusive selector: all owners or current authenticated user.
meeting_typeNo
group_sort_byNoRequired for non-time grouping. Time series use canonical subtype order unless row_count or label is set.
email_directionNo
engagement_typeYesActivity type. For sales activities associated with deals or leads, select meetings, calls, emails, or communications and association filters. The deals and leads values select dated CRM object events.
group_page_sizeNo
pipeline_stagesNo
remove_duplicatesNo
show_unassociatedNo
group_sort_directionNoSort direction for an explicit group_sort_by. Ignored when group_sort_by is omitted.desc
lead_pipeline_stagesNo
show_deal_associatedNo
show_lead_associatedNo
communication_channel_typesNoOptional exact tenant-observed communication channel values, such as SMS or LINKEDIN_MESSAGE. Discover and pass exact values from the sales_activity fields detail.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
kindYes
toolYes
summaryYes
result_idNo
limitationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the date-bounded scoping and the distinction between activity types and object events, which is useful behavior context, though it leaves details like pagination and grouping to the schema.

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 sentences, no filler, with the core operation front-loaded and the conditional routing rule in the second sentence. Every word earns its place.

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?

The tool is complex (29 params) and the description is minimal, but the schema carries detailed parameter semantics and an output schema exists, so return-value documentation isn't required. The description gives the essential orientation an agent needs before reading the schema, though a sentence about grouping/filtering would have made it more self-sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only 41% of parameters have schema descriptions, so the top-level description needs to compensate, but it only gestures at engagement_type choices and 'association filters.' It does not explain the required date_range shape, the selector semantics of owner_ids/team_ids, or the grouping/pagination parameters, leaving a large gap.

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?

States a specific verb ('Return') and resource ('date-bounded activities or deal/lead CRM object events'), and it distinguishes between activity records and dated object events. It does not name or contrast sibling tools explicitly, so it falls just short of full differentiation.

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?

The description gives a clear context for the tool—retrieving date-bounded activities or object events—and provides an explicit routing rule: for deal/lead-associated activities, choose meetings/calls/emails/communications and pair them with association filters. It does not state exclusions or name alternative tools, but the primary use case is clear.

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.

Resources