Skip to main content
Glama

Create draft

create_draft

Create a new draft owned by the authenticated user. Returns the created draft id and title.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesDraft title.
contentHtmlNoOptional HTML body. If omitted, the draft starts empty. Plain text is also accepted.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
titleYes
createdAtYes
connectedAccountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this as a non-read-only, non-destructive, non-idempotent write, and the description adds that the draft is owned by the authenticated user and returns id/title. It does not warn that repeated calls create duplicate drafts (relevant given idempotentHint=false), so it adds only modest value beyond the annotations.

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?

Two short sentences, front-loaded with the action and scoped by ownership; no filler or repetition of the schema.

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 single-required-parameter create tool with full annotations and an output schema (so return values need not be described), the description covers purpose and ownership adequately. It is only missing guidance on when this is the right creation tool among the create_* siblings.

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?

Schema description coverage is 100%, so title and contentHtml semantics are already fully documented in the schema. The description adds no field-level meaning, which is the expected baseline of 3 when the schema does the heavy lifting.

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?

States a specific verb and resource ('Create a new draft') plus ownership scope ('owned by the authenticated user'), which distinguishes it from list_drafts/get_draft/update_draft. It does not explicitly differentiate from the sibling create_article_from_note, so it falls short of a 5.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus alternatives such as create_article_from_note, nor any prerequisites or exclusions. The context is only implied by the tool name.

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