Skip to main content
Glama

Post the reply to one lead

approve_reply_lead
Destructive

POSTS a public reply on X, now, under the connected account, to ONE lead from list_reply_leads. Only after the user has read this lead and its reply and said yes to it; never for several leads on one go-ahead, and never on your own judgement. Pass text when the user edited the draft (at most 280 characters). Counts against the workspace's monthly X posts.

Input Schema

NameRequiredDescriptionDefault
textNoThe reply as the user approved it, when it differs from the draft.
lead_idYesThe lead_id from list_reply_leads or find_reply_leads.
brand_idYesBrand workspace id from list_brands
user_goalNoOptional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / user_goal
      Added value: +{
      +  "description": "Optional: the user's goal behind this call, in one short sentence of plain words (e.g. \"add a page so customers can book tables\"). No names, emails or other personal details.",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag this as non-read-only, open-world, non-idempotent, and destructive. The description adds valuable context beyond annotations: the reply is public, immediate, tied to the connected account, limited to one lead, and consumes the workspace's monthly X posts. It does not cover failure modes or whether a posted reply can be deleted.

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?

The critical action and scope are front-loaded in the first sentence. The remaining sentences add permissions, single-lead constraints, parameter guidance, and quota impact without unnecessary padding.

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 public, destructive, open-world mutation, the definition covers authorization, scope, account context, and quota consumption. It stops short of explaining failure behavior or whether the posted reply can be edited or removed, but the safety-critical context is largely present.

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 description coverage is 100%, so the schema already documents all four parameters, including lead_id and brand_id sources. The description reinforces that text is for user-edited drafts and is capped at 280 characters, but adds little beyond the schema and says nothing about user_goal.

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 states a specific verb and resource: it POSTS a public reply on X under the connected account to ONE lead sourced from list_reply_leads. This clearly distinguishes it from sibling tools such as queue_post_for_publishing, update_social_post, or dismiss_reply_leads.

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 gives explicit conditions: only after the user has read the lead and reply and said yes, never for several leads on one go-ahead, and never on the agent's own judgement. The prerequisite source tool and the single-lead scope are also named.

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