Skip to main content
Glama
Drafts MCP Server

Drafts MCP Server

by Automaat

prepend_to_draft

Add text to the beginning of an existing draft using its UUID. Use this to insert new content before the draft's current text.

Instructions

Prepend text to an existing 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": {
      "uuid": "<uuid>",
      "text": "<text>"
    },
    "name": "prepend_to_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText to prepend to the draft
uuidYesThe UUID of the draft

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden and provides almost nothing: it does not state whether the draft must exist, what happens if the UUID is invalid, whether the operation is reversible, or whether the edit is saved automatically. Only the implicit fact that this is a mutation is conveyed.

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?

A single short sentence with no wasted words and the key operation front-loaded. Its brevity is efficient, though it borders on under-specification rather than over-explanation.

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?

For a simple two-parameter mutation the description is minimally adequate, and the schema fully documents the inputs. However, with zero annotations and no output schema, the missing behavioral details about draft state and failure modes leave it thinner than the complexity warrants.

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%, with both uuid and text documented in the schema, so the baseline is 3. The description adds no meaning beyond the schema, such as whether text is inserted with or without separators.

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?

Names a specific verb (prepend) and resource (draft), with the positional meaning of 'prepend' distinguishing it from append_to_draft without naming that sibling. An agent can identify the operation, though the contrast with the append sibling is left implicit.

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?

No indication of when to use this versus append_to_draft or create_draft, and no stated prerequisites such as the draft needing to exist or be editable. The agent must infer selection from the name alone.

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