Skip to main content
Glama

Write a draft

drafts_create

Create a draft: a title and one variant per account, each with its own text and media. Nothing is sent. Answers the draft with its id and version. Check it with drafts_validate and show it to the user before publish or schedule. A TikTok post also waits for the owner: TikTok has them choose, on a screen of ours, who can see each video, whether people may comment, duet or stitch, and whether it promotes a brand. Those choices cannot be sent here. When a draft has a TikTok account, the answer carries choose: one { accountId, network, link } per TikTok account still waiting; hand the user that link and wait for them to make the choices there (they can post from that screen too).

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": {
      "title": "<title>",
      "variants": "<variants>"
    },
    "name": "drafts_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesA name for the draft in the user’s own list. It is never posted.
brandIdNoThe brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.
variantsYesOne entry per account the post goes to, each with its own text and media.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / brandId
      Added value: +{
      +  "description": "The brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.",
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the description must supply the real behavior, and it does: nothing is sent, the response carries id and version, and a TikTok draft can return a pending choose entry per account that blocks publishing until the owner acts. It also discloses that interaction and visibility settings for TikTok cannot be sent here at all, which is behavior no annotation conveys.

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?

The core purpose, the no-send guarantee and the validation step are front-loaded before the TikTok exception. The TikTok paragraph is long and slightly repetitive ('hand the user that link' follows earlier mentions of the screen), but every sentence carries operational information an agent needs.

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?

With no output schema, the description carries the return contract itself, naming id, version and the optional choose array with its accountId, network and link fields. Together with the validation step and the TikTok wait state, an agent has everything required to create, verify and hand off a draft correctly.

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 100%, so the baseline is 3, and the description earns more by explaining the variants array as one entry per account with its own text and media, and by flagging that TikTok's visibility and interaction choices are deliberately absent from the options. It does not restate the individual option fields, but it does not need to given the schema.

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 first sentence gives a specific verb plus resource and immediately defines the shape of the payload: a title and one variant per account, each with its own text and media. That distinguishes it cleanly from siblings like drafts_edit, drafts_validate and publish, which an agent can rule out from the description alone.

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 states the follow-up workflow explicitly: check with drafts_validate and show the user before publish or schedule, naming those siblings directly. It also carves out the TikTok case, where the draft is intentionally incomplete and the agent must hand the user the choose link and wait, which is genuine when/when-not guidance.

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.