Skip to main content
Glama

Change a blog's address

rename_blog

Move a website's blog to a new address, e.g. from /journal to /blog: the index page and every post move (/journal/ becomes /blog/), links to them across the site follow, and each post keeps its Draft or Live status and its history. Redirects from the old address are added so shared links keep working. Nothing changes on the domain until the site is next published.

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>",
      "to": "<to>"
    },
    "name": "rename_blog"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesThe new address name, e.g. "news" for /news. Lowercase words joined by hyphens.
siteIdYesThe site (id from list_sites).
collectionNoThe blog's current address name. Defaults to "blog".

Output Schema

NameRequiredDescriptionDefault
fromYesThe blog's old address name (posts were at /<from>/<slug>).
noteYes
siteIdYes
warningsYesWhat did not move cleanly. Empty when everything did.
postCountYes
redirectsYesRedirects from the old address, live with the site's next publish.
collectionYesThe blog's new address name (posts are now at /<collection>/<slug>).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

The only annotation is readOnlyHint=false, so the description carries the full behavioral burden and does it well: it discloses the cascading effects (index page and every post move, cross-site links follow), that post status and history are preserved, that redirects from the old address are created, and that nothing changes on the domain until the next publish. This is exactly the kind of consequence detail an agent needs before mutating a site.

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?

The core action and example are front-loaded, and the cascading effects follow logically. It is dense but nearly every clause carries information; the only minor cost is length in a single sprawling sentence, though the final publish-timing sentence is well placed.

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?

For a mutating tool with an output schema already covering return values, the description supplies everything material: scope of the move, link propagation, status/history preservation, automatic redirects, and publish timing. An agent could call this correctly without further questions.

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 description coverage is 100%, so the schema already documents all three parameters including the 'to' naming convention and the 'collection' default. The description adds only the illustrative /journal to /blog example and does not clarify the 'collection' (current address) parameter, so it sits at the baseline for high-coverage schemas.

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?

Opens with a specific verb and resource ('Move a website's blog to a new address') and immediately grounds it with a concrete example (/journal to /blog). This is clearly a bulk address migration, not a page edit or redirect creation, so an agent can distinguish it from siblings like create_redirect or edit_page.

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?

The description gives clear context for when this applies: relocating an existing blog's address, with the index and all posts following. It also warns that changes only take effect on next publish. However, it never states when NOT to use it or names an alternative (e.g., create_redirect for a one-off link), leaving that to inference.

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