Skip to main content
Glama

get_automation_activity

Read-only

The activity of a comment-to-DM automation, newest first: one row per comment or message it acted on, with the DM sent, an answer that waits in the queue (queued: the send cap is full or X asked to wait; it goes out within the hour), a skip and its reason (already got the DM, limit reached, comment older than 7 days, the send cap stayed full for an hour, the person does not accept DMs from the X account, the person replied STOP earlier, the automation was paused while the answer waited), a person who replied STOP on X (opted_out: no automatic DMs to them from that X account again, in any workspace or automation), or a failure with the platform's error. On the Facebook Page the person shows by name (Facebook has no @handle). Use it to answer 'how many people got the DM' or 'why did this person not get it'.

Input Schema

NameRequiredDescriptionDefault
limitNoRows per page (default 25, max 100).
offsetNoRows to skip (for the next page).
outcomeNoOnly rows with this outcome.
automation_idYesThe automation id (from list_automations).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / outcome / enum
      Previous value: -[
      -  "sent",
      -  "skipped",
      -  "failed",
      -  "pending"
      -]New value: +[
      +  "sent",
      +  "skipped",
      +  "failed",
      +  "pending",
      +  "queued",
      +  "opted_out"
      +]
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare it is a safe read; the description adds real operational semantics beyond that: queued answers are gated by the send cap or an X wait request and drain within the hour, opted_out suppresses automatic DMs across every workspace and automation, and failures carry the platform error. It also discloses the return shape (person shown by name on Facebook since there is no @handle), which annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core identity is front-loaded in the first clause, but the tool is described in one very long run-on sentence with a seven-item parenthetical of skip reasons. Each item is substantively useful for the 'why did this person not get it' use case, yet the wall of text hurts scannability and would benefit from being broken into separate sentences or a list.

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?

No output schema exists, and the description compensates by describing the row contents (comment/message acted on, DM text, queue state, skip reason, opt-out, failure error) and ordering. Combined with annotations covering the safety profile and a fully documented schema, an agent has everything needed to call and interpret it.

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 limit/offset/automation_id are already documented and the baseline is 3. The description earns above baseline by defining the meaning of each outcome value used in the `outcome` enum filter (queued vs skipped vs opted_out vs failed), which is the one parameter whose semantics the schema alone cannot explain.

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?

States a specific resource (the activity log of a comment-to-DM automation), the ordering (newest first), and the row granularity (one row per comment or message acted on). The enumerated outcome taxonomy makes it unmistakable versus get_automation or list_automations, which an agent could otherwise confuse it with.

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?

Gives concrete answering scenarios: 'how many people got the DM' and 'why did this person not get it', which map directly to counting rows and reading skip reasons. It does not explicitly exclude alternatives (e.g. use get_automation for config rather than activity), so it stops short of a 5.

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