Skip to main content
Glama

Kalpana Designer

Rename a page

rename_page
Idempotent

Rename one page of a template. Any edits to the design not yet saved are saved first; then the page takes the new name, which shows in Kalpana and in batches. Returns the page's page_id and new name; rename again to change it back. Use it to tell the pages of a template apart ("Story", "Banner"); to name the template itself use set_template_info.

Input Schema

NameRequiredDescriptionDefault
nameYesThe new name.
page_idYesThe page, from list_pages or create_design.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing a non-obvious side effect: unsaved design edits are committed before the rename, and the new name propagates to Kalpana and batches. Annotations already cover safety and idempotency, so this added context is the right kind of contribution. It stops short of covering failure modes such as an unknown page_id or a duplicate name.

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?

Front-loads the verb and resource, then adds side effects and the sibling alternative; no filler sentences. The return-value sentence is slightly redundant but justified because no output schema exists.

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?

With no output schema, the description usefully states the return shape (page_id plus new name) and the persistence behavior. Errors, name-collision handling, and permission requirements remain unstated, which is the one meaningful gap for a mutation tool.

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 the schema already documents both page_id ("from list_pages or create_design") and name. The description adds only the downstream meaning of the name (it appears in Kalpana and batches), not syntax, length, or formatting constraints. Baseline 3 is appropriate.

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 with scope: "Rename one page of a template." It also explicitly delimits itself from set_template_info, so an agent can distinguish it from the sibling that names the template itself.

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 a concrete when-to-use case (telling pages apart, e.g. "Story", "Banner") and names the alternative tool for the adjacent task (set_template_info for the template's own name). It also notes reversibility ("rename again to change it back"), which covers the undo path without pointing at the undo sibling.

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