Skip to main content
Glama

Write an article draft

create_article

Saves a new article on the site as an unpublished draft. Content is HTML; the site removes scripts and unsafe markup. It stays a draft until set_published publishes it. The connector cannot delete it: the member removes a draft they do not want in the site admin.

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": {
      "site_id": "<site_id>",
      "title": "<title>",
      "content": "<content>"
    },
    "name": "create_article"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
contentYesThe article body as HTML.
site_idYesThe site id from list_sites.
subtitleNo
link_titleNoA short title for menus and links.
meta_titleNo
meta_keywordsNo
meta_descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare the safety flags; the description adds genuinely new behavior: content is HTML, the site strips scripts and unsafe markup, the item remains a draft until published, and the connector offers no delete path. That sanitization and lifecycle detail is exactly what an agent needs before writing content and is not recoverable from the annotations.

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, front-loaded with the operation and result state, then safety, then lifecycle, then limitations. Every sentence carries distinct information with no repetition.

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 write path and its side effects are well covered, but for an 8-parameter creation tool with no output schema the description never says what comes back (draft id, URL, or nothing), and the meta/link parameters are left entirely to an incomplete schema. Adequate but with clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 38% across 8 parameters, but the description adds little parameter-level detail beyond confirming that content is HTML (which the schema already states for content). It says nothing about subtitle, meta_title, meta_keywords, or meta_description, leaving several undocumented parameters unexplained in both places.

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 ("Saves a new article... as an unpublished draft") plus the resulting state, and names the sibling that changes that state (set_published). An agent can separate this from update_content or set_published without opening any schema.

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 clear context for use (creating a new draft) and explicitly routes publishing to set_published, with a note that deletion happens outside the connector. It stops short of an explicit exclusion such as "use update_content to modify an existing article," so a full 5 is not warranted.

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.