Skip to main content
Glama
ja-roque

@dayby/mcp-server

by ja-roque

edit_draft

Update a draft post before publishing: revise title, content, tags, or visibility, with automatic local re-sanitization to keep sensitive data out.

Instructions

Edit a draft post before publishing. Provide updated title and/or content — they will be re-sanitized locally.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoUpdated tags/project names
titleNoUpdated title (will be re-sanitized)
contentNoUpdated content (will be re-sanitized)
draft_idYesThe draft ID from draft_post
visibilityNoUpdated visibility

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

A3.5/5.0
Behavior3/5

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

It discloses a useful behavioral trait: title and content 'will be re-sanitized locally.' However, with no annotations, it omits potential side effects such as setting visibility to 'published,' which the schema allows and which slightly conflicts with the 'before publishing' framing.

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?

Two short sentences, with the main action front-loaded and no filler. The key behavioral note about re-sanitization is concisely included.

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?

The description is adequate for a basic draft edit, but it doesn't mention the visibility parameter's ability to publish or any output/return behavior. Given no output schema and no annotations, an agent would only have partial context for less-common use cases.

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 all parameters are documented in the schema. The description adds minimal extra meaning beyond mentioning title and content, and doesn't discuss tags or visibility, but the schema already covers those.

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?

The description uses a specific verb and resource ('Edit a draft post') and adds the timing constraint 'before publishing,' which helps distinguish it from update_post and publish_post. It doesn't explicitly name alternatives, but the draft focus is clear.

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?

It gives clear context ('before publishing') but no explicit guidance on when to use this tool versus siblings like update_post or update_article. There are no exclusions or alternative routing hints.

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