Skip to main content
Glama

Read Draft

read_draft
Read-onlyIdempotent

Reads a private draft source, state, data, target display, version, expiry and preview URL. Requires the original canvas online. Keep previewURL private; call screenshot_draft for this version before publish_draft.

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>",
      "controlToken": "<controlToken>"
    },
    "name": "read_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
draftIDYes
controlTokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds genuinely non-redundant behavior: an external dependency on the canvas being online, and a sensitivity warning that previewURL must be kept private. It does not describe failure modes or expiry semantics beyond naming the field.

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 dense sentences with no filler; the capability list comes first and the constraints follow. Listing returned fields rather than actions is slightly unusual but efficient given there is no output 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?

With no output schema, the description usefully enumerates returned fields, plus precondition, privacy note and sequencing. The missing piece is any explanation of controlToken and how a caller obtains it, which matters for a tool on a private resource.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden, yet it never mentions either parameter. draftID is inferable from context, but controlToken — evidently a credential gating access to a 'private' draft — is left entirely unexplained, which is a real gap for a 2-required-param tool.

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?

Uses a specific verb ('Reads') on a specific resource ('a private draft source') and enumerates exactly what comes back — state, data, target display, version, expiry, previewURL. That is enough for an agent to separate it from update_draft/publish_draft/discard_draft, though it never explicitly contrasts with read_component, the nearest sibling.

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

Usage Guidelines4/5

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

States a hard precondition ('Requires the original canvas online') and gives ordering guidance ('call screenshot_draft for this version before publish_draft'). It stops short of saying when not to use it or what to do if the canvas is offline.

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