Skip to main content
Glama

update_node

Idempotent

Edit an existing node's title and/or spec (description). Use this when requirements change mid-build or the user refines what a task should contain — editing beats creating a duplicate node. Status is not yours to set here: mark_task_complete, flag_blocker, unblock_task and reopen_task own that. Clearing the description back to an empty string is allowed; the node will then report needs_spec: true again.

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": {
      "project_id": "<project_id>",
      "node_id": "<node_id>"
    },
    "name": "update_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoThe new title. Omit to keep the current one.
node_idYesThe node ID to update.
project_idYesThe project ID.
descriptionNoThe new spec/description text. Omit to keep the current one; pass an empty string to clear it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: clearing the description is permitted and causes the node to report needs_spec: true, and omitting fields preserves current values. It stops short of describing the response payload (there is no output schema), which keeps it at 4 rather than 5.

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?

Four short sentences, front-loaded with the action, then usage trigger, then boundary against siblings, then the edge case. Every sentence carries distinct information with no restatement of the name or schema.

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 4-parameter mutation tool with full schema coverage and no output schema, the description covers purpose, triggers, exclusions and the key side effect. What it does not address is whether any authorization or node-state precondition applies and what a successful edit returns, both minor given the annotation coverage.

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; the description earns an increment by explaining the consequence of clearing the description (needs_spec flips back to true), which the schema's 'pass an empty string to clear it' does not state. Otherwise it defers to the schema for field lengths and formats, which is appropriate.

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 ('Edit an existing node's title and/or spec') and immediately scopes it against status-changing siblings, which are named explicitly. An agent can distinguish this from mark_task_complete, flag_blocker, unblock_task and reopen_task without opening any schema.

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 an explicit trigger ('when requirements change mid-build or the user refines what a task should contain'), a preference rule ('editing beats creating a duplicate node'), and an explicit exclusion list assigning status changes to four named siblings. When-to-use, when-not-to-use, and alternatives are all 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.