Skip to main content
Glama

rename_page

Destructive

Change a page's public URL slug in the same event without changing its ID or content. Existing links and flows are not rewritten. Requires an explicit request to change the URL.

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": {
      "target": "<target>",
      "slug": "<slug>"
    },
    "name": "rename_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYes
targetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / target / properties / designId
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / target / properties / kind / enum
      Previous value: -[
      -  "page",
      -  "email"
      -]New value: +[
      +  "page",
      +  "email",
      +  "wallet",
      +  "apple-wallet",
      +  "google-wallet"
      +]
  2. Changed3 schema fields changed
    • removedInput schema / properties / expectedRevision
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / target / properties / organizationId
      Removed value: -{
      -  "minLength": 1,
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "target",
      -  "slug",
      -  "expectedRevision"
      -]New value: +[
      +  "target",
      +  "slug"
      +]
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, so the safety bar is lower; the description still adds genuine blast-radius detail — ID and content survive, downstream links and flows are not rewritten. It does not address permissions/authorization or whether the old slug is retained, so it is not fully exhaustive.

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?

Three short sentences, front-loaded with the core action and its scope, then consequences, then the precondition. No redundant restatement of the tool name and no filler.

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

Completeness3/5

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

The mutation's effects are well covered and annotations carry the safety profile, but a tool whose only two parameters include an undocumented nested discriminator (target.kind) with six possible ID fields is under-explained. An agent knows what the tool does but not reliably how to form the required target object.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the target parameter is a nested object with a five-value kind enum plus pageId, draftId, emailId, eventId, designId and pageSlug fields. The description never references target or slug and never says which kind value applies here or which ID fields are expected, so it leaves the hardest part of the call undocumented.

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?

Names a specific verb and a narrow resource: changing a page's public URL slug, scoped to the same event. It also delimits what is not touched (ID, content), which separates it from generic edit_page_document or replace_page_document without needing to name them.

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?

'Requires an explicit request to change the URL' gives a real precondition that steers the agent away from proactive renames, and 'Existing links and flows are not rewritten' supplies the consequence. It stops short of naming an alternative tool or an explicit when-not case, so it is clear context rather than full routing guidance.

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.