Skip to main content
Glama

update_content_block

Destructive

Updates an existing content block in a block (replacement of the fields provided, entries as a whole). ONE specific action is modified with set_action_status. ⚠️ Since entries is REPLACED entirely, this call can by itself push a card past the cap of 12 entries per card: the response returns contentBudget {used, available, budget} of the card AFTER writing, and get_cell_details returns it beforehand.

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>",
      "blockId": "<blockId>"
    },
    "name": "update_content_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoNote under the content block (italic, muted) — null to remove it
textNoFree text (for type='text', supports \n)
typeNoChange the type of the content block
titleNoNew title of the content block (displayed in uppercase)
cellIdYesID of the block carrying the content block
blockIdYesID of the content block to modify
entriesNoREPLACES all the entries of the content block (sent as a whole, no incremental append). ONE action is modified with set_action_status.
colorKeyNoColor of the chips/text in the content block
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 / entries / items / properties / badge / description
      Previous value: -"Displayed badge (e.g. 'Core', 'Roadmap', 'Considered')"New value: +"Displayed badge"
  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. Changed23 schema fields changed
    • changedInput schema / properties / blockId / description
      Previous value: -"ID du bloc de contenu à modifier"New value: +"ID of the content block to modify"
    • changedInput schema / properties / cellId / description
      Previous value: -"ID de la cellule portant le bloc"New value: +"ID of the block carrying the content block"
    • changedInput schema / properties / colorKey / description
      Previous value: -"Couleur des pills/texte dans le bloc"New value: +"Color of the chips/text in the content block"
    • changedInput schema / properties / entries / description
      Previous value: -"REMPLACE toutes les entrées du bloc (envoi en bloc, pas d'ajout incrémental). UNE action se modifie par set_action_status."New value: +"REPLACES all the entries of the content block (sent as a whole, no incremental append). ONE action is modified with set_action_status."
    • changedInput schema / properties / entries / items / properties / assignee / description
      Previous value: -"Personne responsable de l'entrée (nom libre ou ID de personne) — affiché en chip @nom"New value: +"Person responsible for the entry (free-form name or person ID) — shown as an @name chip"
    • changedInput schema / properties / entries / items / properties / badge / description
      Previous value: -"Badge affiché (ex: 'Core', 'Roadmap', 'Envisagé')"New value: +"Displayed badge (e.g. 'Core', 'Roadmap', 'Considered')"
    • changedInput schema / properties / entries / items / properties / badgeType / description
      Previous value: -"Style du badge: 'pending'=jaune, 'future'=violet, 'ref'=gris, 'active'=vert"New value: +"Badge style: 'pending'=yellow, 'future'=purple, 'ref'=gray, 'active'=green"
    • changedInput schema / properties / entries / items / properties / colorKey / description
      Previous value: -"Couleur spécifique de cette entrée"New value: +"Specific color of this entry"
    • changedInput schema / properties / entries / items / properties / complexity / description
      Previous value: -"Chip xs…xl d'une entrée. Ordre de grandeur RELATIF en TEMPS HUMAIN : xs = moins d’une heure · s = quelques heures · m = une demi-journée à un jour · l = quelques jours · xl = à DÉCOUPER. Elle s’estime AVANT la prise du travail ; c’est une estimation, jamais une promesse. Sans valeur = non estimée."New value: +"Chip xs…xl of an entry. RELATIVE order of magnitude in HUMAN TIME: xs = under an hour · s = a few hours · m = half a day to a day · l = a few days · xl = to SPLIT. It is estimated ahead of the pick-up of the work; it is an estimate, not a promise. No value = not estimated."
    • changedInput schema / properties / entries / items / properties / createdAt / description
      Previous value: -"Horodatage de création (ISO 8601), posé PAR LE SERVEUR — toute valeur fournie est ignorée et re-dérivée : une entrée dont le texte existe déjà dans le bloc garde sa date d'origine, une entrée nouvelle est datée de maintenant. La renvoyer telle quelle est inoffensif"New value: +"Creation timestamp (ISO 8601), set BY THE SERVER — any supplied value is ignored and re-derived: an entry whose text already exists in the block keeps its original date, a new entry is dated now. Sending it back as is is harmless"
    • changedInput schema / properties / entries / items / properties / done / description
      Previous value: -"Pour type='actions': action terminée (case cochée + texte barré)"New value: +"For type='actions': action completed (box checked + struck-through text)"
    • changedInput schema / properties / entries / items / properties / due / description
      Previous value: -"Échéance libre ('mi-juillet', '2026-07-15') — affichée en chip 📅"New value: +"Free-form due date ('mid-July', '2026-07-15') — shown as a 📅 chip"
    • changedInput schema / properties / entries / items / properties / labels / description
      Previous value: -"Étiquettes libres de l'utilisateur (pastilles colorées). Distinct de `badge`, qui est unique"New value: +"Free-form labels of the user (colored chips). Distinct from `badge`, which is unique"
    • changedInput schema / properties / entries / items / properties / priority / description
      Previous value: -"Priorité fixe 4 niveaux (chip ‼/↑/↓, 'normal' = aucun chip)"New value: +"Fixed 4-level priority (chip ‼/↑/↓, 'normal' = no chip)"
    • changedInput schema / properties / entries / items / properties / rank / description
      Previous value: -"Clé de tri MANUELLE du backlog (flottant, inséré entre deux voisins). Composée par l'utilisateur — elle se renvoie telle quelle, sans arrondi ni réinvention"New value: +"MANUAL sort key of the backlog (float, inserted between two neighbors). Composed by the user — it is sent back as is, with no rounding or reinvention"
    • changedInput schema / properties / entries / items / properties / status / description
      Previous value: -"Pour type='actions': état de l'action (chip coloré: todo=gris, doing=jaune, done=vert, blocked=rouge)"New value: +"For type='actions': state of the action (colored chip: todo=gray, doing=yellow, done=green, blocked=red)"
    • changedInput schema / properties / entries / items / properties / text / description
      Previous value: -"Texte de l'entrée"New value: +"Entry text"
    • changedInput schema / properties / entries / items / properties / url / description
      Previous value: -"Pour type='links' (ou toute entrée): rend le texte cliquable vers cette URL"New value: +"For type='links' (or any entry): makes the text a clickable link to this URL"
    • 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 / note / description
      Previous value: -"Note sous le bloc (italic, muted) — null pour la retirer"New value: +"Note under the content block (italic, muted) — null to remove it"
    • changedInput schema / properties / text / description
      Previous value: -"Texte libre (pour type='text', supporte \\n)"New value: +"Free text (for type='text', supports \\n)"
    • changedInput schema / properties / title / description
      Previous value: -"Nouveau titre du bloc (affiché en uppercase)"New value: +"New title of the content block (displayed in uppercase)"
    • changedInput schema / properties / type / description
      Previous value: -"Changer le type du bloc"New value: +"Change the type of the content block"
  5. Changed3 schema fields changed
    • changedInput schema / properties / entries / description
      Previous value: -"REMPLACE toutes les entrées du bloc (envoi en bloc, pas d'ajout incrémental). Pour modifier UNE action, préférer set_action_status."New value: +"REMPLACE toutes les entrées du bloc (envoi en bloc, pas d'ajout incrémental). UNE action se modifie par set_action_status."
    • changedInput schema / properties / entries / items / properties / complexity / description
      Previous value: -"Chip xs…xl d'une entrée. Ordre de grandeur RELATIF en TEMPS HUMAIN : xs = moins d’une heure · s = quelques heures · m = une demi-journée à un jour · l = quelques jours · xl = à DÉCOUPER. Pose-la AVANT la prise du travail ; c’est une estimation, jamais une promesse. Sans valeur = non estimée."New value: +"Chip xs…xl d'une entrée. Ordre de grandeur RELATIF en TEMPS HUMAIN : xs = moins d’une heure · s = quelques heures · m = une demi-journée à un jour · l = quelques jours · xl = à DÉCOUPER. Elle s’estime AVANT la prise du travail ; c’est une estimation, jamais une promesse. Sans valeur = non estimée."
    • changedInput schema / properties / entries / items / properties / rank / description
      Previous value: -"Clé de tri MANUELLE du backlog (flottant, inséré entre deux voisins). Composée par l'utilisateur — la renvoyer telle quelle, ne jamais l'arrondir ni la réinventer"New value: +"Clé de tri MANUELLE du backlog (flottant, inséré entre deux voisins). Composée par l'utilisateur — elle se renvoie telle quelle, sans arrondi ni réinvention"
  6. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true; the description goes further by disclosing exactly what gets destroyed (entries are replaced wholesale, no incremental append) and a hard operational limit of 12 entries per card. It even explains that the response exposes contentBudget so the agent can detect a cap breach, which is substantive behavior beyond structured fields. Permission/auth requirements are not mentioned, keeping it from a 5.

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?

Three compact sentences that lead with the replacement contract, then the sibling exception, then the cap risk. The warning symbol and parenthetical budget notation are dense but earn their space; no filler.

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 explains the contentBudget return shape and the 12-entry ceiling, and points to get_cell_details for the pre-write state. Together with a fully documented input schema this is sufficient for correct invocation, though it leaves error/failure behavior unstated.

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 description coverage is 100%, and the nested entry fields are documented in detail in the schema itself, so baseline 3 applies. The description reinforces replacement semantics for entries and note/text, but adds little parameter-level meaning the schema does not already carry.

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?

States a specific verb ('Updates') and resource ('content block') and clarifies that behavior is field-wise replacement with wholesale entries substitution. It also distinguishes itself from set_action_status for single-action edits, though the phrase 'in a block' is slightly awkward wording for the parent resource.

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?

Routes single-action edits to set_action_status and implies a pre-check via get_cell_details before writing. It does not state explicit 'when to use this instead of X' for the remaining siblings (move_content_block, delete_content_block, add_content_block), but the key alternative is covered.

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.