Skip to main content
Glama

Get Contact Activity

get_contact_activity
Read-onlyIdempotent

Returns the recent email activity of one contact of the signed-in Mailpro account: emails received, opened and clicked over the period, favorite email client, and the last campaigns received.

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": {
      "contact_id": "<contact_id>"
    },
    "name": "get_contact_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
contact_idYesContact id (a GUID), from search_contacts.

Output Schema

NameRequiredDescriptionDefault
period_daysYesLength of the observed period, in days.
emails_openedYes
emails_clickedYes
last_campaignsYes
emails_receivedYes
favorite_email_clientYesEmpty when unknown.

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, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds useful scope detail (which metrics are aggregated per contact), but leaves 'over the period' undefined — there is no date parameter, so the agent cannot tell what window 'recent' means. That ambiguity is the main behavioral gap.

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?

One sentence, front-loaded with the verb and resource, then a compact enumeration of returned fields. No filler, no restatement of the title, and every clause carries information.

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?

For a single-parameter read tool with a full annotation set and an output schema (so return shapes need not be described), the definition supplies the essential scope. The one missing piece is the meaning of the aggregation window, which matters because no date parameter exists to control it.

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% and the single contact_id parameter is documented in the schema, including its GUID format and the search_contacts provenance. The description adds nothing about the parameter, but with full coverage the schema carries this dimension and a baseline 3 is appropriate.

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 names a specific verb and resource ('Returns the recent email activity of one contact') and enumerates the concrete metrics returned (received, opened, clicked, favorite client, last campaigns), which distinguishes it from get_contact, which presumably returns profile fields. It stops short of explicitly contrasting with any sibling, so it is clear but not fully differentiated.

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?

Usage is only implied: the phrase 'of one contact' tells the agent this is a per-contact drill-down, and the schema notes the id comes from search_contacts, which hints at a discovery-then-detail workflow. There is no explicit statement of when to prefer this over get_contact or the campaign-level tools like get_campaign_opens, and no exclusions are given.

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