Skip to main content
Glama

get_contact_activity

Read-only

Return one contact's engagement history: goals they achieved and buttons they clicked, newest first, plus all-time goal totals. Read-only. This is the per-contact companion to get_broadcast_analytics (which is aggregate). Clicks are inline/menu button presses inside the bot — typed replies, commands and website visits never appear. Goals and clicks are capped separately by limit; goalsTruncated/clicksTruncated say when older events exist. Call list_contacts first to find the contactId.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax rows per stream (goals, clicks, flowRuns are capped independently), 1-100. Defaults to 20.
endDateNoOnly events at or before this time, same format as startDate. Omit for "up to now".
contactIdYesRequired. Contact id, as returned by list_contacts or send_message.
startDateNoOnly events at or after this time, as a date string parsable by Date (ISO 8601 such as "2026-08-01" or "2026-08-01T00:00:00Z" is safest). Omit for the whole history. An unparsable value is rejected, never ignored.
applicationIdNoApplication (workspace) id. Optional: an application-scoped key (app_...) defaults to its own application, but a personal key (usr_...) has no default and omitting it fails with MCP_APPLICATION_REQUIRED. Call list_applications to get the id.
includeFlowRunsNoAlso return this contact's raw flow execution log (what the bot actually ran, with errors) — the Logs tab rows, useful when analytics look wrong. Requires the view_logs permission on top of view. Defaults to false.

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description reinforces 'Read-only.' It adds many behaviors beyond annotations: ordering ('newest first'), capping and truncation ('Goals and clicks are capped separately by limit; goalsTruncated/clicksTruncated say when older events exist'), event scope ('typed replies, commands and website visits never appear'), error handling ('An unparsable value is rejected, never ignored'), and permission requirements ('Requires the view_logs permission'). This is rich behavioral context that goes well beyond the annotation metadata.

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?

The description is dense but every sentence earns its place. It front-loads the core purpose, then adds the sibling distinction, event scope, capping/truncation details, and a required prerequisite. No filler or repetition—each clause contributes to correct usage.

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?

Despite lacking an output schema, the description conveys what the tool returns (goals, clicks, and optionally flowRuns) and how to interpret truncation flags. It covers prerequisites, error cases (MCP_APPLICATION_REQUIRED), permission requirements, and value formats. An agent has everything needed to call it correctly without further lookups.

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

Parameters4/5

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

Schema coverage is 100%, so parameters are already documented. The description adds meaning that the schema does not: it clarifies what 'clicks' means ('inline/menu button presses inside the bot'), explains the independent caps per stream tied to limit, and notes the permission requirement for includeFlowRuns. This adds valuable context beyond the schema's field descriptions, though it does not enumerate each parameter.

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 opens with the exact resource and action: 'Return one contact's engagement history: goals they achieved and buttons they clicked, newest first, plus all-time goal totals.' It explicitly distinguishes itself as the per-contact companion to get_broadcast_analytics (which is aggregate), making its purpose immediately clear and differentiating it from the obvious 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?

It names the alternative (get_broadcast_analytics) and explains when to choose each: 'per-contact companion to get_broadcast_analytics (which is aggregate)'. It also provides a prerequisite: 'Call list_contacts first to find the contactId.' and clarifies the scope of what counts as clicks. This is explicit when-to-use guidance with exclusions.

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.

TDQS

A4.1/5.0
Disambiguation4/5

Each get_/list_ tool targets a distinct resource and the descriptions carefully separate similar pairs like get_application_context vs get_workspace_summary and get_broadcast_details vs get_broadcast_analytics. The main ambiguity is apply_actions vs validate_actions, since one runs the other's validation, but the descriptions make that relationship explicit.

Naming Consistency4/5

Names consistently follow verb_object snake_case and use familiar verbs like create, get, list, and update. Minor deviations such as read_messages instead of list_messages, apply_actions/validate_actions with plural nouns, and run_flow_autotest are still predictable and readable.

Tool Count2/5

33 tools exceeds the 25-tool threshold and makes the surface feel heavy, even though the domain is broad. Many of the read-only getters are individually useful but could be consolidated, such as merging module catalog/details or workspace/application context.

Completeness4/5

Core workflows are covered: application lifecycle, flow editing through apply_actions, deployment, contacts, broadcasts, modules, and message/event reads. Minor gaps exist, such as no dedicated delete for contacts, applications, or broadcasts, and no rollback for deployments, but agents can work around or avoid these.