Skip to main content
Glama

Comment-to-DM automation stats

get_dm_automation_stats
Read-only

Per-rule counts only: how many people each comment-to-DM rule reached and how far they got. For the full picture — funnel drop-off at each gate, per-post results, growth over time, audience stats — use get_social_stats instead. Instagram DM performance, NOT email sequence stats.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_dm_automation_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
clientNoClient website slug (or id). Required for platform-scoped keys.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false, and a closed-world scope, so the safety profile is covered. The description adds real value by disclosing the narrow shape of the return data ('per-rule counts only'), which prevents an agent from expecting time series or per-post breakdowns. It says nothing about the default 30-day window, the 90-day ceiling, or aggregation/pagination behavior, so beyond the return-scope caveat the disclosure is thin.

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, both front-loaded with the operative constraint first ('Per-rule counts only', 'use get_social_stats instead'). The trailing 'NOT email sequence stats' disambiguation is short and prevents a costly misfire, so it 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?

For a two-parameter read tool with no output schema, the definition gives enough to select it correctly and to know the result is per-rule counts. The remaining gap is the time window: an agent cannot learn from the description that results default to 30 days and cap at 90, which affects how it should set 'days'.

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?

At 50% schema description coverage, the description would need to compensate and does not: it never mentions the 'days' window (its default, its 90-day cap, or that it bounds the counts) or what 'client' scoping does to the result set. The phrase 'how far they got' hints at stage buckets but gives no mapping to parameters or output fields.

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 first sentence names a specific resource (comment-to-DM rules) and a specific measurement (per-rule reach and progression counts), and the qualifier 'Per-rule counts only' immediately scopes it against the broader analytics sibling. The closing clause 'Instagram DM performance, NOT email sequence stats' eliminates a plausible wrong-domain match.

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 explicitly routes the agent elsewhere when the need is funnel drop-off, per-post results, growth over time, or audience stats, naming get_social_stats as the alternative. Both the when-to-use and when-not-to-use conditions are stated, so no inference is required.

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