Skip to main content
Glama

update_node

Modify task properties like title, status, due date, or instructions within a hierarchical project plan to reflect progress changes and updated requirements.

Instructions

Update a node's properties

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
plan_idYesPlan ID
node_idYesNode ID
titleNoNew node title
descriptionNoNew node description
statusNoNew node status
contextNoNew context
agent_instructionsNoNew agent instructions
acceptance_criteriaNoNew acceptance criteria
due_dateNoNew due date (ISO format)
metadataNoNew metadata

Implementation Reference

  • MCP CallToolRequestHandler implementation for the 'update_node' tool. Destructures arguments, calls apiClient.nodes.updateNode, and formats the response.
    if (name === "update_node") { const { plan_id, node_id, ...nodeData } = args; const result = await apiClient.nodes.updateNode(plan_id, node_id, nodeData); return formatResponse(result); }
  • src/tools.js:200-222 (registration)
    Tool registration object including name, description, and input schema for 'update_node' in the ListToolsRequestHandler.
    { name: "update_node", description: "Update a node's properties", inputSchema: { type: "object", properties: { plan_id: { type: "string", description: "Plan ID" }, node_id: { type: "string", description: "Node ID" }, title: { type: "string", description: "New node title" }, description: { type: "string", description: "New node description" }, status: { type: "string", description: "New node status", enum: ["not_started", "in_progress", "completed", "blocked"] }, context: { type: "string", description: "New context" }, agent_instructions: { type: "string", description: "New agent instructions" }, acceptance_criteria: { type: "string", description: "New acceptance criteria" }, due_date: { type: "string", description: "New due date (ISO format)" }, metadata: { type: "object", description: "New metadata" } }, required: ["plan_id", "node_id"] }
  • API client helper function that performs the actual HTTP PUT request to update a node, called by the MCP tool handler.
    updateNode: async (planId, nodeId, nodeData) => { const response = await apiClient.put(`/plans/${planId}/nodes/${nodeId}`, nodeData); return response.data; },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TAgents/agent-planner-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server