Skip to main content
Glama

update_card

Patch a card. Set merge_properties=true to merge the properties map key-by-key instead of replacing it (Notion-shape fix from spec §8). Under merge, array-typed properties (multi_select / people / files / links per the board schema) element-UNION with the stored value (deduped by option id/name, user id, file id/url/name, or for links by url), so two agents appending concurrently never clobber each other (spec §7.3). A links value is an ordered list of {"url": "https://…", "title"?: "…", "kind"?: "gmail|drive|copper|slack|url|…"} (url must be http(s); deduped by url, case-sensitive). A people value is a list of user references, {"Reviewer": [{"id": "<user uuid>"}]} (a bare id string works too), stored as [{"object": "user", "id": …}]; each NEW id must be a member who can open this board (§7.1, any mode), else 400 validation_error. Per-key explicit removal: pass {"add": [...], "remove": [...]} as the property value (either key optional; {"remove": [...]} alone subtracts). Removes apply FIRST, then adds, so remove+add of the same identity in ONE write is the update idiom: {"remove": [{"url": X}], "add": [{"url": X, "title": "new"}]} atomically replaces that link's metadata. A bare re-add of an existing element (no matching remove) is a no-op; the stored form wins. Optional if_match enforces optimistic concurrency against the card's current etag. Pass the etag you read from the prior get_card / update_card response to fail fast (HTTP 412 etag_mismatch) if another writer changed the card in the meantime. Omit if_match for last-write-wins, which is the default agent behavior in v1 (spec §11.4 / NOV-103). Mirrors PATCH /v1/cards/{id}. The response carries a top-level unique_id: the resolved human key ("BUG-12"), or null when the board defines no unique_id property.

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": {
      "card_id": "<card_id>"
    },
    "name": "update_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
labelsNo
card_idYes
due_dateNo
if_matchNo
assigneesNo
propertiesNo
is_archivedNo
merge_propertiesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

With no annotations, the description must carry the entire behavioral burden and largely does: it discloses merge-vs-replace semantics, array element-union and dedup rules per property type, remove-before-add ordering, the no-op rule for bare re-adds, HTTP 412 etag_mismatch on failed optimistic concurrency, last-write-wins as the v1 default, and a 400 validation_error when a new person id is not a board member. These are non-obvious traits an agent could not infer from the schema.

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 opening verb+resource is front-loaded, but the body is a dense wall of backticked spec citations (§8, §7.3, §7.1, §11.4, NOV-103) that add no operational value for an agent and interrupt otherwise useful prose. The merge/union mechanics are necessary, but the reference codes and nested parentheticals could be trimmed substantially.

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?

For a nine-parameter mutation with no annotations, the description covers the hard parts (merge, concurrency, removal) well, and an output schema exists so return values need not be explained. The gap is that six parameters, including the required card_id, are left entirely undocumented when the schema provides zero descriptions of its own.

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 0% across nine parameters, so the description has to compensate and it does so only partially: properties, merge_properties and if_match receive rich, precise semantics, including concrete value shapes for links and people. But title, labels, due_date, assignees, is_archived and the required card_id get no explanation at all, leaving roughly two-thirds of the surface undocumented.

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?

"Patch a card" states a specific verb and resource, and "Mirrors PATCH /v1/cards/{id}" anchors it to a known API operation. It does not, however, distinguish itself from close siblings like batch_update_cards or move_card, so the agent must rely on the name alone for that distinction.

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?

The description gives concrete guidance on when to set merge_properties=true versus replacing, when to supply if_match versus omitting it for last-write-wins, and points to get_card as the source of the etag. What it lacks is any explicit statement of when to reach for a sibling tool instead, so it stops short of 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.

Resources