Skip to main content
Glama

Reply To Mention

reply_to_inbox_mention
Destructive

Post a public reply to a mention, from the account that was mentioned, where capabilities.canReply is true. This sends text to a real person from the account: show the user the exact text and the item it answers, and get their yes before calling. Each call posts a new reply, so after an error or timeout check the mention's replies in list_inbox_mentions before trying again. A 403 with code inbox_reconnect_required means the account lacks the platform permission for this channel or action (some channels still wait on platform review) or its token expired: tell the user to reconnect the account in AdaptlyPost and do not retry. 404 inbox_item_not_found means the id is unknown in this workspace. 429 inbox_rate_limited means the platform rate limited the call: wait a while before trying again. 503 inbox_platform_error means the platform failed: try again later. Needs the inbox.reply permission, which Admin and Editor hold (403 permission_denied otherwise), and an active plan.

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>",
      "text": "<text>"
    },
    "name": "reply_to_inbox_mention"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe mention id, from list_inbox_mentions
textYesThe text to send. The limit is the platform's reply limit: Threads 500 characters, Bluesky 300, Mastodon 500, Facebook 8000, Instagram 2200. Empty or too long text answers 400 inbox_reply_invalid, whose message names the limit
workspaceIdNoWorkspace to act in: an id from list_workspaces. Omit to act in the workspace list_workspaces marks current. Use the same workspaceId for every call about the same workspace, since ids from one workspace (accounts, posts, uploads) do not exist in another

Output Schema

NameRequiredDescriptionDefault
resultYesThe mention with the new reply in replies. An InboxMention: id, accountId, platform, accountName, platformMentionId, author { id, name, username, avatarUrl }, text, permalink, thumbnailUrl, createdAt, status, replied, repliedAt, capabilities { canReply } and replies (each { id, text, permalink, createdAt }).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / result / additionalProperties
      Added value: +true
    • addedOutput schema / properties / result / properties
      Added value: +{
      +  "accountId": {
      +    "description": "The account `id` from GET /social-accounts",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "accountName": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "author": {
      +    "anyOf": [
      +      {
      +        "additionalProperties": true,
      +        "properties": {
      +          "avatarUrl": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "description": "The platform user id",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "username": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "capabilities": {
      +    "anyOf": [
      +      {
      +        "additionalProperties": true,
      +        "properties": {
      +          "canReply": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "createdAt": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "id": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "permalink": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "platform": {
      +    "description": "One of: FACEBOOK, INSTAGRAM, THREADS, TIKTOK, TWITTER, BLUESKY, LINKEDIN, PINTEREST, YOUTUBE, MASTODON, TELEGRAM, GOOGLE_BUSINESS, TUMBLR, WORDPRESS",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "platformMentionId": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "replied": {
      +    "type": [
      +      "boolean",
      +      "null"
      +    ]
      +  },
      +  "repliedAt": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "replies": {
      +    "anyOf": [
      +      {
      +        "items": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "createdAt": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "permalink": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "text": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "description": "Replies sent from AdaptlyPost, oldest first"
      +  },
      +  "status": {
      +    "description": "One of: UNREAD, READ, DONE",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "text": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "thumbnailUrl": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • addedOutput schema / properties / result / type
      Added value: +"object"
    • addedOutput schema / required
      Added value: +[
      +  "result"
      +]
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, openWorldHint=true and idempotentHint=false, and the description reinforces all three with concrete consequences: text reaches a real person, every call creates a new reply (so retries can duplicate), and confirmation is mandatory. It further maps specific error codes (403 inbox_reconnect_required, 404 inbox_item_not_found, 429 inbox_rate_limited, 503 inbox_platform_error, 400 inbox_reply_invalid) to distinct recovery actions, which is context no annotation supplies.

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-loaded with purpose and the confirmation gate, then organized as a compact error-code playbook. It is dense but nearly every clause maps to an action the agent must take; the error enumeration is long yet operational rather than filler.

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?

For a destructive, non-idempotent, open-world write with a permission gate, the definition covers preconditions, confirmation, duplicate-risk, and per-error recovery. An output schema exists, so return values need not be described.

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 the schema itself carries the per-platform character limits and the workspaceId disambiguation rule, so the description has little left to add. It only implicitly touches id (404 means unknown in this workspace) and text (too-long text answers 400). 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 specific verb and resource ("Post a public reply to a mention") plus the acting identity ("from the account that was mentioned") and a hard precondition ("capabilities.canReply is true"). The mention resource is distinct from the sibling reply_to_inbox_comment / reply_to_inbox_review targets, so an agent can route without opening schemas.

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 clear preconditions (canReply true, active plan, inbox.reply permission) and an explicit human-in-the-loop rule to show the exact text and get a yes before calling. It also directs the agent to list_inbox_mentions to verify state after an error or timeout. It stops short of explicitly naming the sibling reply tools as alternatives for comments/reviews, leaving that inference to the resource name.

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