Skip to main content
Glama

add_cell_id_alias

Adds an extra call identifier (alias) to "rename" a block's identifier WITHOUT DESTROYING ANYTHING. The canonical identifier in the database does not change — so no reference (dependencies, tasks, documents, comments, versions) needs to move, and ANY identifier the block has ever had keeps working forever in all tools. The new identifier is reserved FOR LIFE for this block in the project: it can never designate another block or serve as the identifier of a new block. ⚠️ What this does NOT do: DERIVED identifiers (for example a struct-- dependency) keep citing the canonical identifier — this is expected and is never a defect. Replaying the call with the same pair converges (no duplicate). Renaming an identifier with delete_cell + add_cell destroys the links (tasks, documents, sub-blocks): only the alias keeps them.

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": {
      "cellId": "<cellId>",
      "newId": "<newId>"
    },
    "name": "add_cell_id_alias"
  }
}

Input Schema

NameRequiredDescriptionDefault
newIdYesThe new call identifier (kebab-case, like any block id). It becomes an ALIAS resolved by all tools, and it is reserved FOR LIFE for this block in the project — it can never be reused for another block, even after deletion.
cellIdYesThe block to "rename" — its CURRENT (canonical) identifier or any of its aliases already added: both are resolved.
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  3. Changed3 schema fields changed
    • changedInput schema / properties / cellId / description
      Previous value: -"Le bloc à « renommer » — son identifiant ACTUEL (canonique) ou n’importe lequel de ses alias déjà posés : les deux sont résolus."New value: +"The block to \"rename\" — its CURRENT (canonical) identifier or any of its aliases already added: both are resolved."
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / newId / description
      Previous value: -"Le nouvel identifiant d’appel (kebab-case, comme tout id de bloc). Il devient un ALIAS résolu par tous les outils, et il est réservé À VIE à ce bloc dans le projet — jamais réutilisable pour un autre bloc, même après suppression."New value: +"The new call identifier (kebab-case, like any block id). It becomes an ALIAS resolved by all tools, and it is reserved FOR LIFE for this block in the project — it can never be reused for another block, even after deletion."
  4. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Goes well beyond the annotations: canonical id never changes, no references need to move, the alias is reserved for life and cannot be reused even after deletion, and replaying the same pair is idempotent. That is exactly the mutation-safety context the bare destructiveHint=false flag cannot convey. It stops short of describing the response payload, which is a minor gap for a write tool with no output schema.

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-loaded with the core action and the key safety guarantee, then the caveat, then the alternative. The all-caps emphasis and warning emoji are slightly noisy and the derived-identifier sentence is dense, but every sentence carries distinct information.

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?

For a three-parameter mutation with no output schema and only coarse annotations, the definition covers safety, idempotency, lifetime semantics and the main misuse case thoroughly. The one omission is what the call returns (e.g., the created alias record), which an agent might want since no output schema exists.

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 cellId resolution, newId's kebab-case format and lifetime reservation, and expectedProjectId's override behavior. The description reinforces the lifetime reservation and adds the idempotency nuance for the pair, but adds little syntax or format meaning beyond the schema, so the baseline 3 applies.

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 — adds an alias identifier to a block — and immediately clarifies the operation is a non-destructive 'rename'. It explicitly distinguishes itself from the delete_cell + add_cell approach that a user might otherwise reach for.

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 both sides: use this when you want an identifier to change while keeping references intact, and do not use delete_cell + add_cell because that destroys tasks, documents and sub-block links. It also pre-empts a false-positive: derived identifiers like struct-<parent>-<child> continuing to cite the canonical id is expected, not a defect.

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.