Skip to main content
Glama

Save an article

articles_save

Keep an article you wrote for the user, or the next version of one. It reaches readers one of two ways. On the user’s blog here: send blog true with status ready, and it is public at their link page’s address followed by /blog, in their brand (a workspace with one link page gets its blog there; with several, links_save with showBlog chooses the page; with none, make one first). Or on the user’s own site: they paste it in, and you then save its address as url with status published. Either way posts can link to it. An article on the blog can carry a cover picture (image) and pictures in its words, each one of the user’s own stored pictures. The same piece in two languages is two articles: save each in its own language, then name one in the other’s twinId. Send every field again with each version: a field left out is removed. Judge it with grader_get first, tie it to its topic with topicId, and put nothing on the blog without the user’s yes to that article.

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": "articles_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe article to replace. Leave it out for a new article.
faqNoUp to 8 questions the article answers, each with its answer. On the blog they are shown in full under the article and given to search engines word for word.
urlNoThe https address where the article now lives on the user’s own site, up to 300 characters.
blogNotrue puts the article on the user’s blog here, at the address of their link page followed by /blog. Left out or false, it is not on the blog. It needs status ready or published, and the user’s yes to this article.
bodyYesThe article as Markdown, without its title: ## and ### headings, paragraphs, lists, tables, **bold**, *italic* and [links](https://…). On the blog a numbered list is shown as steps, so use one for things done in order. A picture inside the words is a line of its own, ![what it shows](picture:MEDIA_ID), with a media id from media_upload, media_from_url or media_list, never a web address; up to 12. It is shown on the blog where its line is, and left out of the copy the user pastes into their own site. Up to 60,000 characters.
slugNoThe last part of the page’s address: lower-case letters, numbers and hyphens, up to 80 characters. Made from the title when left out.
tagsNoUp to 12 short tags, each up to 40 characters. On the blog, articles that share a tag are offered to the reader next.
imageNoThe cover picture, by its media id (from media_upload, media_from_url or media_list). On the blog it is shown under the headline, small beside the article in the list and on the link page, and it is the picture a share of the article shows. Use the user’s own photo of the thing the article is about. It is kept for as long as the article is.
titleYesThe headline, up to 160 characters.
statusNodraft while you work on it, ready once it passes the grader and the user has agreed, published once the user has put it on their own site (url is then needed). An article on the blog here is ready or published. draft when left out.
twinIdNoThe id of the same article in another language, from articles_list. It ties the two from either side: on the blog each then names the other to search engines, and the language link at the top of each leads to the other. Left out, the two are untied.
brandIdNoThe brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.
keywordNoThe question or search phrase the article is meant to win, up to 120 characters.
sourcesNoWhere each number in the article comes from, up to 12. A number with no source does not go in the article.
summaryNoWhat a search result shows under the title, up to 160 characters.
topicIdNoThe topic in the ledger this article covers, from topics_list.
versionNoWith id: the version you read, so an edit made meanwhile is not overwritten.
imageAltNoWhat the cover picture shows, in one plain sentence, for a reader who cannot see it. Up to 200 characters. Needs image.
languageNoThe language it is written in, up to 40 characters. English when left out.
publishAtNoFor the blog: the moment the article goes out, which is also the date it is shown with, with its time zone, such as 2026-10-13T09:00:00-04:00. A later moment makes it appear by itself then. Left out, it goes out when it is first put on the blog.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / brandId
      Added value: +{
      +  "description": "The brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.",
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare that this is a non-read, non-open-world write. The description adds the crucial contract that this is a full replacement – "Send every field again with each version: a field left out is removed" – plus the version field's role in avoiding lost updates, the consent gate for blog publication, and the fact that url becomes mandatory once status is published. None of that is recoverable from the annotation block.

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?

Purpose and the two publication routes are front-loaded, and most sentences carry real decision-relevant content. It nevertheless runs long as a single dense block, with mild repetition – the user's approval is restated, and the media-id sources are re-listed for both the cover and inline images.

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 20-parameter mutation tool with no output schema, the description covers the risky parts: replacement semantics, concurrency via version, and publication prerequisites. The remaining gap is the return value – the agent is not told that saving yields the new id/version needed for the next call – which matters for a versioned upsert.

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 100%, so per-parameter documentation is already handled and the baseline is 3. The description still earns credit for cross-field semantics the schema cannot express: blog requires status ready/published plus user consent, published requires url, imageAlt depends on image, and twinId must point at the counterpart article in another language.

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?

"Keep an article you wrote for the user, or the next version of one" names a concrete resource and a concrete operation (create-or-replace), and the rest of the text makes the upsert nature explicit via id/version. An agent can immediately distinguish this from articles_delete, articles_get, articles_list, or links_save without opening the schema.

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?

The description spells out two mutually exclusive publishing routes (blog=true with status ready, versus a paste-in on the user's own site with url + status published) and states which fields each route requires. It also gives ordering prerequisites: judge with grader_get first, tie to a topic with topicId, and never put it on the blog without the user's explicit yes.

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.