Skip to main content
Glama

Rename object

rename
DestructiveIdempotent

Rename an application group, application, category, edit form, view page or control. It changes only the displayed name — never the identifier (dbName), which is referenced from scripts, JavaScript, print templates and external functions and must be changed through the implementation model instead. Use the multilingual format name#en:name to make the name bilingual, for example Nastavení#en:Settings. Ids come from get_model. An application group with a single application of the same name and no separator (separators are not part of the model) is renamed together with it, and vice versa. Portlet titles and favorite items of all users follow the new name of a view page control or view page. Controls without a name (Title, Tab, Space; RichText and History in an edit form; Email on a view page) are rejected — the caption of Title, Tab and RichText is changed through 'text' with write_model.

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": {
      "type": "<type>",
      "id": "<id>",
      "name": "<name>"
    },
    "name": "rename"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId of the object, as returned by get_model.
nameYesNew displayed name. Multilingual format: Nastavení#en:Settings.
typeYesObject type: appgroup, app, category, form, viewpage, formcontrol (edit form control) or viewpagecontrol (view page control).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior4/5

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

Beyond the supplied annotations (destructiveHint=true, idempotentHint=true), the description discloses real side effects: an application group with a single same-named application renames with it, and portlet titles plus all users' favorite items follow a view page or control rename. That cascade context is exactly what annotations cannot convey and justifies the destructive flag. Minor gap: it does not say what the call returns or how partial failures are handled.

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?

Purpose, identifier caveat, format example, and the cascade/rejection rules are each stated once and front-loaded, with the highest-risk constraint (dbName never changes) placed early. The parenthetical object lists are dense but every clause carries operational information.

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 three-parameter mutation tool with no output schema, the definition covers scope limits, side effects, naming format, id provenance, and escape hatches to write_model. Nothing an agent needs 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.

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 value by clarifying that ids come from get_model and by enumerating which type values will be rejected for lacking a name, which effectively narrows the value space of the enum-less 'type' parameter. The name#en:name formatting guidance largely repeats the schema wording.

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?

The description opens with a specific verb ("Rename") and enumerates the exact resource types it handles (application group, application, category, edit form, view page, control). It also draws a hard line between the displayed name and the identifier (dbName), which immediately separates it from write_model-style model edits.

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?

It states when not to use it: identifier changes must go through the implementation model, and caption-only controls (Title, Tab, RichText) must use 'text' with write_model. It also warns which object types will be rejected, so an agent can route before calling.

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