Skip to main content
Glama

Get draft

get_draft
Read-only

Get a single draft by id, including full HTML content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDraft id.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
metaYesA JSON value stored by Narrareach.
titleYes
statusYes
createdAtYes
updatedAtYes
contentHtmlYes
contentJsonYesA JSON value stored by Narrareach.
publishedToYes
aiVisibilityYes
publishedCountYes
lastPublishedAtYes
connectedAccountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / aiVisibility
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "checks": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "detail": {
      +                "type": "string"
      +              },
      +              "id": {
      +                "type": "string"
      +              },
      +              "status": {
      +                "enum": [
      +                  "pass",
      +                  "weak",
      +                  "missing"
      +                ],
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "status",
      +              "detail"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "guidance": {
      +          "type": "string"
      +        },
      +        "needsJudgment": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "topFixes": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "wordCount": {
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "wordCount",
      +        "checks",
      +        "topFixes",
      +        "needsJudgment",
      +        "guidance"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "title",
      -  "status",
      -  "createdAt",
      -  "updatedAt",
      -  "publishedTo",
      -  "publishedCount",
      -  "lastPublishedAt",
      -  "contentHtml",
      -  "contentJson",
      -  "meta"
      -]New value: +[
      +  "id",
      +  "title",
      +  "status",
      +  "createdAt",
      +  "updatedAt",
      +  "publishedTo",
      +  "publishedCount",
      +  "lastPublishedAt",
      +  "contentHtml",
      +  "contentJson",
      +  "meta",
      +  "aiVisibility"
      +]
  2. 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 readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered without the description. The description's one added fact, that the response includes full HTML content, is useful context about payload weight, but it says nothing about size limits, permissions, or error behavior on a missing id.

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?

One sentence, front-loaded with the verb and resource, and the payload note is appended rather than buried. Nothing is wasted and nothing extra is needed.

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 one-parameter read tool with annotations covering safety and an output schema covering the return shape, the description says enough to call it correctly. The only mild shortfall is the absence of any guidance on obtaining the id or handling a missing draft.

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% and the single parameter 'id' is documented in-schema as the draft id. The description only echoes that with 'by id', adding no format or sourcing detail, so the baseline 3 applies.

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 (get) and resource (a single draft) plus the retrieval key (id), which cleanly separates it from list_drafts. It does not name any sibling explicitly, but the word 'single' plus 'by id' makes the scope unambiguous.

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?

The description contains no when-to-use or when-not-to-use guidance; it only restates the operation. The only implicit signal is that an id must already be in hand (presumably from list_drafts or create_draft), but that routing is left entirely to inference.

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