Skip to main content
Glama

Read a saved draft

get_draft
Read-onlyIdempotent

Retrieve a draft’s content, revision, saved preview, and publication receipts to verify its status and inspect publishing results before retrying a publish.

Instructions

Read content, revision, current saved preview and publication receipts. Draft/Preview are not published. Publishing/NeedsReview must be inspected before any retry.

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": {
      "draftId": "<draftId>"
    },
    "name": "get_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
draftIdYes

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already establish read-only, idempotent, closed-world behavior, so the description's job is to add domain context beyond that — and it does, by naming the returned facets and the failure states (Publishing/NeedsReview) that must be examined before retrying. The dangling phrase 'before any retry' of what is never specified, which leaves a small ambiguity.

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?

Two tight sentences with no filler, front-loaded on what is returned before the state warnings. Some of the compression hurts — 'publication receipts' and 'before any retry' are jargon-dense without unpacking.

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

Completeness3/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 no prose, and the annotation set covers safety. What is missing is the operational context an agent needs for a single-ID fetch: how to obtain the ID and what the status labels mean for subsequent actions.

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 0% and the single draftId parameter is documented only by its UUID format and pattern, with nothing about where an ID comes from or whether it must be a draft rather than a published post. The parameter is near self-explanatory by name, so this lands at the minimum-viable level rather than being broken.

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?

Opens with a specific verb and enumerates what is read: content, revision, saved preview and publication receipts. It is clearly a single-draft read, though it never contrasts itself with close siblings such as get_draft_variants or list_drafts, so differentiation is left to the names.

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?

Offers workflow guidance in the form of state rules ('Draft/Preview are not published', 'Publishing/NeedsReview must be inspected before any retry'), which implies when inspection is required. It gives no explicit when-to-use/when-not-to-use statement against the sibling tools that also read draft state.

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