Skip to main content
Glama
Drafts MCP Server

Drafts MCP Server

by Automaat

run_action

Executes a named Drafts action on provided text, letting AI assistants automate Drafts workflows by applying actions to specific content.

Instructions

Run a Drafts action on specified text

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": {
      "action": "<action>",
      "text": "<text>"
    },
    "name": "run_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText to run the action on
actionYesThe name of the action to run

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?

No annotations are supplied, so the description carries the full burden of disclosure. It does not say whether running an action can mutate existing drafts, launch scripts, or produce output the caller can capture — behavior an agent needs before invoking an execution tool.

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 front-loaded sentence with no filler. It is efficient, though its brevity reflects missing content rather than deliberate tightening.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool that executes arbitrary named actions with no annotations and no output schema, the description omits what the action returns, whether effects are reversible, and what happens if the action name is unknown. An agent cannot confidently call this from the definition alone.

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 both parameters (text, action) are already documented in the schema. The phrase 'on specified text' merely restates the text parameter and adds no format, lookup, or constraint detail.

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 (run) and resource (a Drafts action) applied to text, which is clearly distinct from the sibling CRUD tools like create_draft or append_to_draft. It does not explicitly name an alternative, but the action-execution purpose reads unambiguously.

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 guidance on when to use this versus editing a draft directly, no prerequisites (must the action already exist? must a draft be selected?), and no exclusions. The agent must infer all of that.

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