Skip to main content
Glama

create_draft

Create a Medium draft through the official API to prepare content before publishing; supports titles, tags, content formats, canonical URLs, and publication targeting.

Instructions

Create a Medium draft via official API (capability-gated, draft-first).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
titleNo
contentNo
licenseNo
canonical_urlNo
prepared_postNo
content_formatNo
publication_idNo
idempotency_keyNo
notify_followersNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden. It does convey two useful traits — that access is capability-gated and that the operation produces an unpublished draft — but says nothing about idempotency (despite an idempotency_key param), rate limits, what happens to conflicting existing drafts, or required auth scopes for a 10-parameter mutation.

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?

A single front-loaded sentence with no filler, and the parenthetical efficiently carries the two behavioral qualifiers. It is efficient but so terse that the brevity comes at the cost of the missing guidance rather than being purely economical.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/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 not be described. However, for a create/mutation tool with zero annotations and ten undocumented parameters, the one-line description leaves substantial gaps an agent needs filled before calling it safely.

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

Parameters1/5

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

Schema description coverage is 0% across 10 parameters, so the schema supplies only names and types. The description names none of them and explains none of the non-obvious ones — prepared_post vs content/content_format, publication_id, notify_followers, canonical_url, or how idempotency_key behaves — so it adds no meaning at all.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Create a Medium draft') plus the transport ('official API'), which is far better than the bare name. What it does not do is separate this tool from siblings like prepare_post or publish_post in the complex drafting-to-publishing flow.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'capability-gated' implies the agent should verify capabilities first (e.g. via get_capabilities) and 'draft-first' implies drafts precede publishing, so usage is implied rather than stated. No exclusion or explicit routing to prepare_post/publish_post is given, leaving the agent to infer which tool belongs at which step.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.