Skip to main content
Glama

Create a draft

create_draft

Save an article as an unpublished draft for review before going live. Create a new draft each call, then edit or publish later via the returned editor link.

Instructions

Save an article as an unpublished draft.

Nothing becomes visible to readers: use this whenever the work still needs review, and publish_article only when it should go live. The draft can be edited afterwards with update_article.

Each call creates a NEW draft — not idempotent, so calling twice leaves two drafts. Requires an API key. Returns the draft with an editor_url for finishing it in the browser.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoTopic tags to carry through to publication.
titleYesWorking headline. Can be changed before publishing.
body_markdownYesArticle body so far, as Markdown.
Behavior5/5

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

The description adds behavioral details beyond annotations: it spells out the non-idempotence consequence ('calling twice leaves two drafts'), assures that 'nothing becomes visible to readers,' requires an API key, and mentions the return value with an editor_url. These go beyond the flags in annotations and provide meaningful context.

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 description is three tightly written sentences: first sentence states purpose, second provides usage guidance, third discloses behavior. It is front-loaded, free of fluff, and every sentence carries meaningful content.

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 simple create operation, the description covers purpose, usage, non-idempotence, auth, and return value. It does not specify the full response shape or error behaviors, but with no output schema and simple parameters, this is nearly complete. A brief note on the returned draft object would earn a 5.

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?

The input schema already has 100% parameter coverage with detailed descriptions (e.g., 'Working headline. Can be changed before publishing.'). The description adds no additional parameter-level information, so the baseline score of 3 is appropriate.

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 opens with 'Save an article as an unpublished draft,' a specific verb+resource+state combination. It explicitly distinguishes itself from sibling tools by mentioning publish_article and update_article, making it clear this is for the draft stage only.

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?

The description provides explicit when-to-use guidance: 'use this whenever the work still needs review, and publish_article only when it should go live.' It also states that the draft can be edited with update_article, clearly delineating the tool's role among alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Misar-AI/misarblog-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server