Skip to main content
Glama

get_node_context

Retrieve comprehensive context for a planning node, including children, logs, and artifacts, to support structured project analysis and decision-making.

Instructions

Get comprehensive context for a node including children, logs, and artifacts

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
plan_idYesPlan ID
node_idYesNode ID

Implementation Reference

  • Handler function that executes the get_node_context tool by calling the API endpoint to retrieve comprehensive node context including children, logs, and artifacts.
    if (name === "get_node_context") { const { plan_id, node_id } = args; // Get node with context const response = await apiClient.axiosInstance.get( `/plans/${plan_id}/nodes/${node_id}/context` ); return formatResponse(response.data); }
  • src/tools.js:250-261 (registration)
    Tool registration in the listTools response, defining the name, description, and input schema for get_node_context.
    { name: "get_node_context", description: "Get comprehensive context for a node including children, logs, and artifacts", inputSchema: { type: "object", properties: { plan_id: { type: "string", description: "Plan ID" }, node_id: { type: "string", description: "Node ID" } }, required: ["plan_id", "node_id"] } },
  • Input schema defining the required plan_id and node_id parameters for the tool.
    inputSchema: { type: "object", properties: { plan_id: { type: "string", description: "Plan ID" }, node_id: { type: "string", description: "Node ID" } }, required: ["plan_id", "node_id"] }

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