Skip to main content
Glama

Set up a blog on a website

setup_blog

Give an HTML v2 website a blog: Simplepages' editor writes the post layout (how every post looks, in the site's design) and the index page that lists posts. Run it once per site, before put_post. It doesn't write posts or change the site menu. Takes a minute or two. The index page starts as a draft and goes Live with the first publish_post. Answers alreadySetUp when the site has a blog layout.

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": {
      "siteId": "<siteId>"
    },
    "name": "setup_blog"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoOptional wishes for the blog's look, e.g. "cards with a picture, two per row".
titleNoThe index page's heading. Defaults to "Blog".
siteIdYesThe site (id from list_sites).
collectionNoWhich collection the posts are in. Defaults to "blog", so posts are at /blog/<slug>. Lowercase words joined by hyphens.

Output Schema

NameRequiredDescriptionDefault
noteYes
siteIdYes
changesYesWhat the editor wrote, in its own words.
editUrlNo
summaryNo
indexPathYesThe index page's source file, or null when there is none.
collectionYes
layoutPathYes
indexStatusNo
alreadySetUpYesTrue when the site already had this blog's layout; nothing was written.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, so the description carries the burden and does so well: it discloses runtime cost ('a minute or two'), idempotency signal ('Answers alreadySetUp when the site has a blog layout'), draft-vs-live state, and what it does not touch. It does not mention permission requirements or whether re-running overwrites a customized layout, which keeps it short of a 5.

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?

Five short sentences, front-loaded with the action and its output, then constraints, timing, lifecycle, and response code. Nothing is redundant and 'takes a minute or two' earns its place by setting agent expectations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, yet the description still surfaces the one response detail an agent needs to branch on (alreadySetUp). Combined with setup ordering, exclusions, and draft lifecycle, nothing needed to invoke it correctly is missing.

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% and every parameter already has a description with defaults (title 'Blog', collection 'blog' at /blog/<slug>, note as look wishes). The description adds no parameter-level meaning beyond the schema, so baseline 3 applies.

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 concrete verb and resource ('Give an HTML v2 website a blog') and immediately names what gets created: the post layout and the index page listing posts. It also demarcates scope by saying it does not write posts or change the site menu, which separates it from put_post and publish_post.

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 ordering guidance ('Run it once per site, before put_post') plus exclusions ('doesn't write posts or change the site menu'). The lifecycle note that the index page starts as a draft and goes Live with the first publish_post tells the agent exactly when this step belongs.

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.

Resources