Skip to main content
Glama

rename_page

DestructiveIdempotent

Change an existing wiki page title when the user explicitly asks, using its page id and current version to protect content and prevent renaming a page that changed since it was read.

Instructions

Rename an existing page only when the user explicitly asks to change its title. Pass the page_id and expected_version from the latest page result; the version prevents renaming a page that changed since it was read. This changes the title only and preserves the page id and content. It is unavailable over remote HTTP MCP transport (local stdio only). Do not call this during distillation, synthesis, or content refresh; write_page keeps an existing title when refreshing.

Input Schema

NameRequiredDescriptionDefault
titleYesThe new page title requested by the user.
page_idYesOpaque page id (e.g. 'page_abc'). Get it from distill output or another page tool.
expected_versionYesCurrent page version from the latest page result. Required to prevent renaming a page that changed since it was read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.19.3

TDQS

A4.9/5.0
Behavior5/5

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

Adds context beyond the annotations: the optimistic-concurrency contract (expected_version prevents renaming a page changed since read), the blast radius (title only, id and content preserved), and a hard deployment constraint ("unavailable over remote HTTP MCP transport (local stdio only)") that no annotation conveys. The destructiveHint=true flag is conservative rather than contradicted — the description clarifies exactly what is and is not mutated.

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 sentences, each carrying a distinct load: trigger, required-input provenance, effect, and environment/exclusion. The usage constraint is front-loaded before the caveats, so an agent can decide to call or skip it from the first clause.

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 3-required-param mutation tool with no output schema, the description covers trigger, preconditions, effect on state, the read-modify-write pattern needed to obtain expected_version, and a transport-level availability constraint. An agent has everything needed to invoke it correctly or route to write_page instead.

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 the baseline is 3, but the description adds provenance guidance the schema does not: page_id and expected_version should come from "the latest page result," and it explains the purpose of the version field as a race guard. Minor overlap with the schema's own expected_version text keeps it from a 5.

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 ("Rename an existing page") and immediately bounds the scope ("changes the title only and preserves the page id and content"). It also distinguishes itself from the nearest sibling, write_page, which is a crowded neighborhood of page-mutation tools.

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?

Gives an explicit trigger ("only when the user explicitly asks to change its title"), an explicit anti-trigger ("Do not call this during distillation, synthesis, or content refresh"), and names the alternative to use instead ("write_page keeps an existing title when refreshing"). Nothing about when-to-use is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.