Skip to main content
Glama

approve_draft

HUMAN GATE: approve a pending draft and schedule the real post in one step. Only call this when the human operator has reviewed the draft content and told you to approve it, never approve autonomously. Optional edits: replacement segments and/or an explicit future scheduled_for ISO datetime (otherwise the draft's schedule_hint is resolved: "optimal" uses the org's best-times model, fallback +2h). Returns { status: "scheduled", scheduledFor, postId }. Multi-segment twitter drafts publish as a thread. ACCOUNT TARGET: in an org with several connected accounts on the draft's platform, pass account_ids (or create the draft with account_ids); approval never guesses and the scheduler never fans out. CAPABILITY: publish: this can reach a LIVE AUDIENCE. A draft-scoped token gets a 403 here; a human must approve at timetopost.co instead.

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

Input Schema

NameRequiredDescriptionDefault
draft_idYesDraft id from list_drafts or list_approvals.
segmentsNoOptional replacement text, same shape as the draft segments (several on twitter make a thread). Omit to approve the text as submitted.
account_idsNoIntegration id(s) from list_integrations to post to. Required when the org has several connected accounts on the draft's platform and the draft was created without account_ids; an ambiguous approve is refused with the accounts to pick from.
scheduled_forNoOptional publish time override: future ISO 8601 datetime with timezone. Omit to use the draft schedule_hint.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / draft_id / description
      Added value: +"Draft id from list_drafts or list_approvals."
    • changedInput schema / properties / scheduled_for / description
      Previous value: -"Optional future ISO datetime override"New value: +"Optional publish time override: future ISO 8601 datetime with timezone. Omit to use the draft schedule_hint."
    • changedInput schema / properties / segments / description
      Previous value: -"Optional edited replacement segments"New value: +"Optional replacement text, same shape as the draft segments (several on twitter make a thread). Omit to approve the text as submitted."
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Far exceeds the annotations: it discloses that this reaches a LIVE AUDIENCE, that the scheduler never fans out to multiple accounts, that ambiguous approvals are refused, that draft-scoped tokens receive a 403, and how a missing scheduled_for is resolved ("optimal" best-times model, fallback +2h). It also states the return shape ({ status, scheduledFor, postId }) despite no output schema existing.

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 human-gate constraint and organized under labeled sections, so the most critical rule is never buried. It is dense and somewhat capitalized/jargon-heavy, and the account-target advice partially repeats the schema's account_ids description, but almost every sentence carries decision-relevant information.

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 non-idempotent, open-world mutation that publishes publicly, the description covers authorization, human gating, account disambiguation, scheduling defaults, thread semantics, and the response shape. Nothing an agent needs to call it safely and correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema coverage the baseline would be 3, but the description adds real semantics the schema does not: the schedule_hint resolution rule and +2h fallback for scheduled_for, thread behavior for multi-segment twitter drafts, and the ambiguity-refusal rule for account_ids. These are behavioral meanings, not restatements of field descriptions.

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+resource plus scope: "approve a pending draft and schedule the real post in one step." It also distinguishes itself from the adjacent workflow steps (drafts are reviewed earlier, rejected via reject_draft, and this is the scheduling gate) so an agent can place it without opening other schemas.

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?

Gives an explicit precondition ("Only call this when the human operator has reviewed the draft content and told you to approve it, never approve autonomously") and an explicit fallback path (a human must approve at timetopost.co when a draft-scoped token gets a 403). It also tells the agent when to supply account_ids versus when the draft already carries them.

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.