Skip to main content
Glama

Draft reply

draft_reply
Destructive

Drafts the reply to one comment (comment_id from list_comments). It never sends: the reply waits for a person to approve that exact text in the Timeline, and only then goes out. Calling it again replaces your draft and withdraws any approval it had. Refused if a person wrote the reply, if it was already sent, or if it breaks the brand's rules (get_brand) or the platform's length. Spam and abusive comments need no reply; a person can mark them as needing none.

Input Schema

NameRequiredDescriptionDefault
textYes
comment_idYes

Output Schema

NameRequiredDescriptionDefault
approvalYes
reply_idYes
inbox_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare destructiveHint, idempotentHint=false, readOnlyHint=false, but the description adds the critical semantics: the draft is held for human approval, re-calling replaces the draft and withdraws approval (explaining the non-idempotent/destructive flags), and the exact refusal conditions. This is rich, non-redundant behavioral context.

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 the core action, and every sentence substantially earns its place (approval flow, replacement behavior, refusals, spam guidance). Dense but justified; a slight run-on in the refusal clause keeps it from a clean 5.

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?

An output schema exists, so return values need no explanation. Combined with the approval workflow, refusal conditions, and sibling references, an agent has everything needed to invoke it correctly and predict the outcome.

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 0%, so the description must compensate, and it does partially: comment_id is sourced from list_comments, and text is bounded by brand rules (get_brand) and platform length. It adds real meaning for both params, though it doesn't spell out the exact format/content expectations of the reply text.

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?

States a specific verb ('Drafts') and resource ('the reply to one comment'), with a clear scope that distinguishes it from siblings like create_post or add_media. The parenthetical routes the agent to list_comments for the comment_id, removing ambiguity about the target.

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 names when the tool applies (replying to a comment), what it does not do ('never sends'), and lays out refusal conditions (person already wrote the reply, already sent, breaks brand rules or length). It also references siblings list_comments and get_brand and gives guidance for spam/abusive cases.

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