Skip to main content
Glama
SEO Advisor

SEO Advisor

by andriantam

Save an article draft

content_save_draft

Save a Markdown draft article to your local drafts folder with status set to draft, optionally add a publish date to the content calendar, without publishing or overwriting changed files.

Instructions

Saves a draft article as a Markdown file in your local drafts folder (SEO_DRAFTS_DIR, default ~/seo-advisor-drafts) with status: draft. It does NOT publish anything. Include publishOn to place it on the content calendar. It will not overwrite a file you have changed to another status.

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": {
      "title": "<title>",
      "body": "<body>"
    },
    "name": "content_save_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe article in Markdown. Mark places the author must add real experience, photos or numbers with [ADD ...].
slugNoFile name; defaults to the title.
notesNoNotes for the reviewer.
titleYesThe article title.
publishOnNoSuggested publish date, YYYY-MM-DD.
sourceUrlNoThe competitor page that inspired the topic, for reference only.
targetQueryNoThe search this article aims to answer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare the write profile (readOnlyHint=false, destructiveHint=false), so credit goes to what the description adds: the filesystem target, the SEO_DRAFTS_DIR default, the draft status stamped on the file, and the non-overwrite rule for status-changed files. It stops short of saying what a repeat save to the same slug does or what is returned.

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?

Four short sentences, each carrying distinct information: destination, scope exclusion, calendar behavior, and overwrite policy. The most load-bearing constraints (no publishing, no destructive overwrite) are front-loaded.

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 7-parameter write tool with no output schema, the description covers destination, status, calendar effect, and overwrite protection, which is enough to call it safely. It omits what the call returns (file path or confirmation) and whether directories are created, minor gaps given no output schema exists.

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 coverage is 100%, so the schema already documents every parameter; the description only adds that publishOn places the article on the content calendar and that slug determines file name. That is marginal added meaning over the structured fields, matching the baseline 3.

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 and resource ("Saves a draft article as a Markdown file") plus the destination folder and default path, and rules out publishing with an explicit negative. It does not name a sibling such as content_list_drafts for retrieving drafts, so the differentiation from siblings is only implicit.

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?

Gives conditional guidance: include publishOn to place the item on the content calendar, and the tool will not overwrite a file moved to another status. It does not name an alternative tool or state when to prefer a different save/publish path, so context is clear but exclusions are absent.

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