Skip to main content
Glama

update_cell

Destructive

Updates the properties of an existing block: only the fields provided are WRITTEN. ⚠️ That does NOT mean that x/y stay stable — the automatic tidy-up runs AFTER the call and may RECOMPUTE the position, notably when a change of width/height creates an overlap (a block enlarged "without moving it" can therefore end up elsewhere). This holds for ALL kinds, org INCLUDED: an org block only keeps its position if it carries a manual placement, which a block only acquires by being explicitly moved — otherwise the tidy-up places it again like the others. On the kinds with DERIVED placement (arch, entity, process, journey, captable) the position belongs to the engine and never to the caller, and the response SAYS so (placementRecomputed + placementNote). ⚠️ The position returned in cell: over MCP it is the one AFTER that tidy-up, hence reliable; in the chat the tidy-up only runs at the end of the burst of tool calls: the final position is then read with get_cell_details. When a child's x/y is re-bounded inside its parent interior, the response DECLARES it in adjusted (requested vs stored value per axis); a container's width/height sent below what its children need (their extent plus the interior padding) is raised to that size, also declared in adjusted. The parent is changed with move_cell.

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

Input Schema

NameRequiredDescriptionDefault
xNoNew X position in pixels
yNoNew Y position in pixels
idYesID of the block to modify
descNo
iconNoCard icon: ONE emoji, not a word and not an image URL.
nameNo
noteNo
typeNoNature of the block. ⚠️ Switching a typed block (filiale, externe…) to 'container' (a division) makes it LOSE its capital shares (the assigned people stay): that is NOT the way to make it contain its children (the response then carries natureNote). A block contains its children when it keeps its type and carries displayMode:'container'.
labelNo
orderNo
widthNoNew width in pixels
heightNoNew height in pixels
originNo
statusNo
colorKeyNo
collapsedNoCollapses the card to its header (title + status + count chip), ~90px instead of its full height. The content is NOT deleted: it stays in the panel, the exports and the Tasks view. Useful when a card carries many content blocks and crushes the overview. `false` expands it again.
layoutHintNoPlacement hint. An OMITTED field touches nothing (keeps the DERIVED value set at creation by add_cell/apply_batch). 'column-side' forces the side column, 'bottom-center' forces the bottom band.
statusTypeNo'done'/'abandoned' (kind='org' only) fade the card and, for 'abandoned', strike through the title — to close a subject visually without deleting it.
displayModeNoSwitches between the 'container' rendering (encloses the children, in RELATIVE coordinates) and 'hat' (a hat above with downward arrows). ⚠️ This is THE field that decides whether the children are drawn INSIDE the card or NEXT TO it: on a type that does not enclose by default (everything except groupe/filiale/sous-filiale/container), leaving it empty makes the children display outside, even though the hierarchy is correct in the database.
kindMetadataNoLegal metadata (kind='org'): jurisdiction, legal form, entity class, share capital, incorporation date. MERGED with the existing values (like apply_batch and update_kind_metadata): you send ONLY the fields that change, the others STAY. A field is therefore never cleared by omitting it: naming it in `clearKindMetadata` clears it. If kindMetadata is entirely omitted, nothing is touched.
childrenLabelNo
clearKindMetadataNokindMetadata fields to CLEAR explicitly (kind='org' only). Needed because the write is a MERGE: an omitted field is preserved. Accepted fields: jurisdiction, legalType, entityClass, shareCapital, incorporationDate — naming them all clears the whole legal-metadata block. An unknown name is refused and NOTHING is written (a typo is not taken for an erasure).
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).
confirmRootPlacementNo⚠️ Required (true) ONLY if the project has locked its root placement (Settings) AND this displayMode:'hat' switch detaches EXISTING children (they become ROOT): without it, the switch is refused — nothing is written. Not applicable if the root placement is not locked, or if the block has no children.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / icon / description
      Previous value: -"Card icon: ONE emoji (e.g. '🤝'), not a word and not an image URL."New value: +"Card icon: ONE emoji, not a word and not an image URL."
  2. 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)."
  3. 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."
  4. Changed3 schema fields changed
    • addedInput schema / properties / order / maximum
      Added value: +2147483647
    • addedInput schema / properties / order / minimum
      Added value: +-2147483648
    • changedInput schema / properties / order / type
      Previous value: -"number"New value: +"integer"
  5. Changed1 schema field changed
    • addedInput schema / properties / icon / description
      Added value: +"Card icon: ONE emoji (e.g. '🤝'), not a word and not an image URL."
  6. Changed14 schema fields changed
    • changedInput schema / properties / clearKindMetadata / description
      Previous value: -"Champs de kindMetadata à VIDER explicitement (kind='org' uniquement). Nécessaire parce que l'écriture est une FUSION : un champ omis est préservé. Champs acceptés : jurisdiction, legalType, entityClass, shareCapital, incorporationDate — les nommer tous vide le bloc entier. Un nom inconnu est refusé et RIEN n'est écrit (une faute de frappe ne doit pas passer pour un effacement)."New value: +"kindMetadata fields to CLEAR explicitly (kind='org' only). Needed because the write is a MERGE: an omitted field is preserved. Accepted fields: jurisdiction, legalType, entityClass, shareCapital, incorporationDate — naming them all clears the whole legal-metadata block. An unknown name is refused and NOTHING is written (a typo is not taken for an erasure)."
    • changedInput schema / properties / collapsed / description
      Previous value: -"Replie la carte sur son en-tête (titre + statut + pastille de compte), ~90px au lieu de sa hauteur pleine. Le contenu n'est PAS supprimé : il reste dans le panneau, les exports et la vue Tâches. Utile quand une carte porte beaucoup de blocs et écrase la vue d'ensemble. `false` la redéplie."New value: +"Collapses the card to its header (title + status + count chip), ~90px instead of its full height. The content is NOT deleted: it stays in the panel, the exports and the Tasks view. Useful when a card carries many content blocks and crushes the overview. `false` expands it again."
    • changedInput schema / properties / confirmRootPlacement / description
      Previous value: -"⚠️ Requis (true) UNIQUEMENT si le projet a verrouillé son placement racine (Réglages) ET que ce basculement displayMode:'hat' détache des enfants EXISTANTS (ils deviennent RACINE) : sans lui, le basculement est refusé — rien n'est écrit. Sans objet si le placement racine n'est pas verrouillé, ou si la cellule n'a pas d'enfants."New value: +"⚠️ Required (true) ONLY if the project has locked its root placement (Settings) AND this displayMode:'hat' switch detaches EXISTING children (they become ROOT): without it, the switch is refused — nothing is written. Not applicable if the root placement is not locked, or if the block has no children."
    • changedInput schema / properties / displayMode / description
      Previous value: -"Bascule entre rendu 'container' (englobe les enfants, en coordonnées RELATIVES) et 'hat' (chapeau au-dessus avec flèches descendantes). ⚠️ C'est LE champ qui décide si les enfants sont dessinés DANS la carte ou À CÔTÉ : sur un type qui n'englobe pas par défaut (tout sauf groupe/filiale/sous-filiale/container), le laisser vide fait afficher les enfants à l'extérieur, alors même que la hiérarchie est correcte en base."New value: +"Switches between the 'container' rendering (encloses the children, in RELATIVE coordinates) and 'hat' (a hat above with downward arrows). ⚠️ This is THE field that decides whether the children are drawn INSIDE the card or NEXT TO it: on a type that does not enclose by default (everything except groupe/filiale/sous-filiale/container), leaving it empty makes the children display outside, even though the hierarchy is correct in the database."
    • 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 / height / description
      Previous value: -"Nouvelle hauteur en pixels"New value: +"New height in pixels"
    • changedInput schema / properties / id / description
      Previous value: -"ID de la cellule à modifier"New value: +"ID of the block to modify"
    • changedInput schema / properties / kindMetadata / description
      Previous value: -"Métadonnées légales (kind='org') : juridiction, forme juridique, classe d'entité, capital social, date d'immatriculation. FUSIONNÉ avec l'existant (comme apply_batch et update_kind_metadata) : tu n'envoies QUE les champs qui changent, les autres RESTENT. Un champ ne se vide donc jamais en l'omettant : le nommer dans `clearKindMetadata` le vide. Si kindMetadata est entièrement omis, rien n'est touché."New value: +"Legal metadata (kind='org'): jurisdiction, legal form, entity class, share capital, incorporation date. MERGED with the existing values (like apply_batch and update_kind_metadata): you send ONLY the fields that change, the others STAY. A field is therefore never cleared by omitting it: naming it in `clearKindMetadata` clears it. If kindMetadata is entirely omitted, nothing is touched."
    • changedInput schema / properties / layoutHint / description
      Previous value: -"Indice de placement. Champ OMIS ne touche à rien (conserve la valeur DÉRIVÉE posée à la création par add_cell/apply_batch). 'column-side' force la colonne latérale, 'bottom-center' force la bande du bas."New value: +"Placement hint. An OMITTED field touches nothing (keeps the DERIVED value set at creation by add_cell/apply_batch). 'column-side' forces the side column, 'bottom-center' forces the bottom band."
    • changedInput schema / properties / statusType / description
      Previous value: -"'done'/'abandoned' (kind='org' uniquement) atténuent la carte et, pour 'abandoned', barrent le titre — pour clore un sujet visuellement sans le supprimer."New value: +"'done'/'abandoned' (kind='org' only) fade the card and, for 'abandoned', strike through the title — to close a subject visually without deleting it."
    • changedInput schema / properties / type / description
      Previous value: -"Nature du bloc. ⚠️ Passer un bloc typé (filiale, externe…) en 'container' (« pôle ») lui FAIT PERDRE ses parts de capital (les personnes assignées restent) : ce n'est PAS la façon de lui faire contenir ses enfants (la réponse porte alors natureNote). Un bloc contient ses enfants quand il garde son type et porte displayMode:'container'."New value: +"Nature of the block. ⚠️ Switching a typed block (filiale, externe…) to 'container' (a division) makes it LOSE its capital shares (the assigned people stay): that is NOT the way to make it contain its children (the response then carries natureNote). A block contains its children when it keeps its type and carries displayMode:'container'."
    • changedInput schema / properties / width / description
      Previous value: -"Nouvelle largeur en pixels"New value: +"New width in pixels"
    • changedInput schema / properties / x / description
      Previous value: -"Nouvelle position X en pixels"New value: +"New X position in pixels"
    • changedInput schema / properties / y / description
      Previous value: -"Nouvelle position Y en pixels"New value: +"New Y position in pixels"
  7. Changed3 schema fields changed
    • changedInput schema / properties / clearKindMetadata / description
      Previous value: -"Champs de kindMetadata à VIDER explicitement (kind='org' uniquement). Nécessaire parce que l'écriture est une FUSION : omettre un champ le préserve. Champs acceptés : jurisdiction, legalType, entityClass, shareCapital, incorporationDate — les nommer tous vide le bloc entier. Un nom inconnu est refusé et RIEN n'est écrit (une faute de frappe ne doit pas passer pour un effacement)."New value: +"Champs de kindMetadata à VIDER explicitement (kind='org' uniquement). Nécessaire parce que l'écriture est une FUSION : un champ omis est préservé. Champs acceptés : jurisdiction, legalType, entityClass, shareCapital, incorporationDate — les nommer tous vide le bloc entier. Un nom inconnu est refusé et RIEN n'est écrit (une faute de frappe ne doit pas passer pour un effacement)."
    • changedInput schema / properties / kindMetadata / description
      Previous value: -"Métadonnées légales (kind='org') : juridiction, forme juridique, classe d'entité, capital social, date d'immatriculation. FUSIONNÉ avec l'existant (comme apply_batch et update_kind_metadata) : tu n'envoies QUE les champs qui changent, les autres RESTENT. Un champ ne se vide donc jamais en l'omettant — nomme-le dans `clearKindMetadata`. Omettre kindMetadata entièrement ne touche à rien."New value: +"Métadonnées légales (kind='org') : juridiction, forme juridique, classe d'entité, capital social, date d'immatriculation. FUSIONNÉ avec l'existant (comme apply_batch et update_kind_metadata) : tu n'envoies QUE les champs qui changent, les autres RESTENT. Un champ ne se vide donc jamais en l'omettant : le nommer dans `clearKindMetadata` le vide. Si kindMetadata est entièrement omis, rien n'est touché."
    • changedInput schema / properties / type / description
      Previous value: -"Nature du bloc. ⚠️ Passer un bloc typé (filiale, externe…) en 'container' (« pôle ») lui FAIT PERDRE ses parts de capital (les personnes assignées restent) : ce n'est PAS la façon de lui faire contenir ses enfants (la réponse porte alors natureNote). Pour qu'un bloc contienne ses enfants, GARDE son type et pose displayMode:'container'."New value: +"Nature du bloc. ⚠️ Passer un bloc typé (filiale, externe…) en 'container' (« pôle ») lui FAIT PERDRE ses parts de capital (les personnes assignées restent) : ce n'est PAS la façon de lui faire contenir ses enfants (la réponse porte alors natureNote). Un bloc contient ses enfants quand il garde son type et porte displayMode:'container'."
  8. First observed

TDQS

A4.2/5.0
Behavior5/5

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

The annotations already mark destructiveHint=true, and the description goes far beyond that: it discloses the post-call tidy-up that may reposition the block, the derived-placement kinds, the merge semantics for kindMetadata, the adjusted/re-bounding behavior, and the capital-shares loss on type switch. This is exactly the behavioral context an agent needs before a destructive update.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core statement is front-loaded, which is good, but the body is dense, uses heavy ALL-CAPS emphasis and repeated warnings, and mixes several distinct concerns (position recomputation, kindMetadata merge, adjusted reporting) into one paragraph. Every sentence has content, but readability and ordering could be improved.

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 24-parameter destructive update with no output schema, the description explains return-field semantics (cell position, placementRecomputed, placementNote, natureNote, adjusted) and the interaction between parameters. An agent has enough to call it correctly and to interpret the result.

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 63% and the schema already documents many params, but the description adds meaning the schema does not carry on its own: the merge-vs-clear interaction, the meaning of `adjusted`, and the consequence of switching `type`. It does not enumerate every param, but it covers the high-risk ones well.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource: 'Updates the properties of an existing block: only the fields provided are WRITTEN.' This is unambiguous about the partial-write semantics. It stops short of contrasting with the other update_* siblings (e.g. update_content_block, update_kind_metadata), so a 4 rather than 5.

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?

Gives concrete routing: the parent is changed via move_cell, and the final position in the chat flow is read with get_cell_details. It also explains the conditions under which position is recomputed. It does not explicitly declare a 'use this instead of X when Y' at the top, but the alternatives are named with their triggering conditions.

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.