Skip to main content
Glama
Meta Social MCP

Meta Social MCP

by miindtraa

Create comment-to-DM rule

autoreply_rule_create

Create a keyword auto-reply rule to publicly answer matching comments and DM the resource, ensuring each future comment is handled once.

Instructions

Create a keyword rule: when someone comments a keyword (e.g. 'GUIDE'), reply publicly and DM them the resource. Only comments made after the rule is created are handled, each at most once. Use {username} in templates. Keep links out of public replies; put them in the DM. Runs automatically every few minutes while the connector is running.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
accountNoWhich account: Instagram @username, Page name, or id. Omit for the default account.
enabledNo
keywordsNo
platformNoinstagram
post_idsNoLimit to these posts; empty = your recent posts (last 30 days)
dm_messageNo
match_modeNo'any' replies to every commentcontains
public_repliesNoRotated at random so replies do not look robotic

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior5/5

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

Annotations only declare a non-read-only, non-destructive, closed-world mutation. The description adds genuinely non-obvious behavior: the rule is forward-only (comments before creation are ignored), each comment is handled at most once, execution is on a polling loop ('every few minutes while the connector is running'), templating via {username}, and a link-placement policy for public replies. These are operational semantics an agent could not derive from the schema or annotations.

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?

Dense and front-loaded: the core action comes first, followed by lifecycle constraints and policy notes in short clauses. Every sentence carries information, though the link-out-of-public-replies advice is more editorial guidance than a definition of the tool's interface.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter mutation with no output schema, the description covers behavior and lifecycle well but leaves the majority of parameters undescribed and never indicates what is returned (e.g. a rule id) or how the created rule can later be inspected via autoreply_rule_list. Adequate, but with clear gaps.

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?

With only 44% schema description coverage across 9 parameters, the description must compensate and does so partially. It gives meaning to keywords (the example 'GUIDE'), to templating in dm_message/public_replies via {username}, and to the public-vs-DM split, but says nothing about account, platform, enabled, post_ids, or match_mode (including the consequential 'any' mode) beyond what the enum already implies.

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 opens with a specific verb and resource ('Create a keyword rule') and immediately explains the trigger-action shape (comment keyword -> public reply + DM). It is clearly distinguishable from autoreply_rule_update/delete/list by the 'create' verb and by the 'only comments made after the rule is created' scoping, though it never names a sibling to disambiguate further.

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 implied rather than stated: the description explains what the rule does and that it runs automatically, from which an agent can infer 'use this to set up new automation'. There is no explicit when-to-use vs autoreply_rule_update, autoreply_run_now, or comment_reply guidance, and no prerequisites for creating a rule.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.