Skip to main content
Glama

Store an article you wrote

save_article
Destructive

Store an article that YOU (the assistant) wrote for the user's site in their Seonix project, as a draft (write scope — ask the user first; every plan, Free included). Seonix does not write or rewrite anything here: it keeps the text, scores it with its deterministic SEO and readability checks and returns the failing ones. Read get_site_dna first so the text fits the business; pass article_id to replace the text of an article this tool stored (articles written in Seonix or imported from the site are edited in the Seonix editor, not here). The draft appears in the dashboard, where the user can edit and publish it. Optional fields left empty keep their stored value when replacing.

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>",
      "html": "<html>"
    },
    "name": "save_article"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlYesThe article body as HTML: headings from h2 down, paragraphs, lists, tables, links, images by absolute https URL. No h1 (the title is the h1), no scripts, styles, iframes or forms: markup outside plain article content is removed. A heading id for a table of contents is kept when it is lowercase words joined by hyphens (id="care-tips").
slugNoURL slug: lowercase latin letters, digits and hyphens.
titleYesThe article's headline (H1).
excerptNoA short summary shown in article lists.
languageNoLanguage code of the text, e.g. en, de, uk (default: the project's language).
seo_titleNoThe <title> tag, when it should differ from the headline.
article_idNoLeave empty to store a new article. Pass the id of an article this tool stored earlier to replace its text.
project_idNoProject id or slug.
focus_keyphraseNoThe search phrase the article targets; the scoring checks use it.
meta_descriptionNoThe page's meta description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare destructiveHint=true, and the description supplies the missing context: the output is only a draft, text is not rewritten, deterministic SEO/readability checks run and failures are returned, and the draft surfaces in the dashboard for the user to edit and publish. It also covers write-scope consent across all plans. It stops short of addressing reversibility or whether a replaced text is recoverable, which matters given destructiveHint=true.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single dense paragraph with the verb and scope front-loaded, which is good, but the parentheticals ('write scope — ask the user first; every plan, Free included') and the editor aside interleave usage rules into the purpose sentence, making it slower to parse than it needs to be. Some clauses could be split or trimmed without losing information.

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 carries the return-value burden and does so partially ('returns the failing ones'), and it names the prerequisite tool and the downstream dashboard step, which is enough for correct invocation of a 10-parameter mutation tool. Remaining gaps, such as what the failure list looks like and whether a replaced draft can be undone, are minor.

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 baseline is 3. The description adds real meaning for article_id (only for articles this tool itself stored; clearer scope than the schema's own wording) and for replace semantics ('Optional fields left empty keep their stored value when replacing'), but says nothing extra about html, title, focus_keyphrase or language beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Store an article that YOU wrote... as a draft') and immediately bounds the scope: Seonix stores but does not write or rewrite. It also distinguishes itself from the Seonix editor path and from article_id replacement, so an agent can tell it apart from get_article, publish_article and score_article without opening schemas.

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

Usage Guidelines5/5

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

Explicit prerequisites and alternatives: 'Read get_site_dna first so the text fits the business', 'ask the user first' for write scope, and 'articles written in Seonix or imported from the site are edited in the Seonix editor, not here'. The condition selecting replacement (pass article_id) versus new storage is spelled out.

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.