Skip to main content
Glama

Preview Rewind: earlier comments a campaign can still answer

preview_rewind
Read-onlyIdempotent

Rewind sends a comment campaign's private message to people who commented BEFORE the campaign existed (or while it was off) and were never answered. This tool only looks and sends nothing. It returns found (people still owed the message), will_send (what a run would queue now), skipped (with reasons), quota (the plan's monthly messages left), enough_quota, active (a run needs the campaign on) and connection_dm_cap (this connection's daily message cap, null when the owner set none). The rules: private replies only, never a public reply; only comments from the last 6 days; only comments that matched the campaign's keywords and were never answered; once per person; at most 200 a run; keyword campaigns only. Show the user will_send and what it costs and ask whether to send it BEFORE calling run_rewind.

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": {
      "page": "<page>",
      "campaign_id": "<campaign_id>"
    },
    "name": "preview_rewind"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYesChannel id from list_pages (a Facebook Page or an Instagram account)
campaign_idYesA comment campaign from list_campaigns

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces this with "looks and sends nothing." It goes further than the annotations by disclosing the eligibility rules (private replies only, 6-day window, keyword match, once per person, 200 per run) and by enumerating every returned field, including the null case for connection_dm_cap. The only minor gap is that quota/rate-limit interaction details are summarized rather than fully specified.

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?

Front-loads the core behavior and the safety instruction, with no filler sentences. The middle section packing eight return fields and seven rules into two long sentences is dense and would read better as a list, which costs it the top score.

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?

There is no output schema, yet the description enumerates all return fields and their meanings, plus the eligibility rules and quota context an agent needs to explain costs to a user. Nothing material for correct invocation is missing.

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 coverage is 100% and both parameters are already documented as coming from list_pages and list_campaigns, so the description adds little per-parameter meaning beyond the rule that only keyword campaigns are supported. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

Opens with a precise verb and resource: rewind sends a campaign's DM to people who commented before the campaign existed and were never answered, and immediately clarifies "This tool only looks and sends nothing." That distinguishes it cleanly from run_rewind and the get_* siblings.

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?

Explicitly states the workflow: show the user will_send and its cost and ask for confirmation BEFORE calling run_rewind. It also names the preconditions (campaign must be on, keyword campaigns only), which tells the agent exactly when this tool applies.

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.