Skip to main content
Glama

Message earlier comments

message_earlier_comments
Idempotent

For a live Comment to DM automation on one post: finds comments from the last 24 hours that it would have answered had it been live, from people it hasn't messaged yet. With send false it only counts them. With send true it starts the flow for up to 100 of them (public reply, if on, then the Opening DM), in the background; call it again for the rest. Pro only on the hosted LedaChat.

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": {
      "id": "<id>",
      "send": "<send>"
    },
    "name": "message_earlier_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesAutomation id.
sendYesFalse to only count who would be messaged. True to message them; confirm with the user first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, it discloses that execution happens in the background, that each call caps at 100 targets, that the 24-hour window and 'not yet messaged' filter bound the population, the action order (public reply if enabled, then Opening DM), and a plan restriction ('Pro only on the hosted LedaChat'). This is substantive context the 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.

Conciseness4/5

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

Four dense sentences, front-loaded with the use case before the send=false/send=true split. Every clause carries information, though the nested parenthetical '(public reply, if on, then the Opening DM)' slightly slows parsing.

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 non-read-only, open-world tool with no output schema, the definition covers scope, batching, background execution, and plan gating. It leaves open what the call returns (a count, a job handle) and roughly how long the background flow takes, which an agent may need to report back to a user.

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 the baseline is 3, but the description adds real meaning: send=false is a pure count/dry run, while send=true dispatches the flow for at most 100 and runs in the background. The schema only says 'True to message them'; the batching and background semantics come from the prose.

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 names a specific verb and resource ('finds comments from the last 24 hours that it would have answered had it been live') and scopes it to a single live Comment-to-DM automation on one post. That backfill framing is distinct from the CRUD siblings (create/update/get automation), so an agent can tell what this does without opening the schema.

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?

It gives a clear precondition ('For a live Comment to DM automation on one post') and an explicit two-step usage pattern: send=false to count first, send=true to act. The 'call it again for the rest' line tells the agent how to continue past the batch cap. It stops short of stating exclusions (e.g., paused automations, non-live automations), which is the only gap.

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