Skip to main content
Glama

get_latest_next_steps

Retrieve prioritized next steps for a specific project to streamline task management and enhance workflow coordination on the Project Handoffs MCP Server.

Instructions

Get open next steps ordered by priority

Input Schema

NameRequiredDescriptionDefault
projectIdYesProject identifier

Input Schema (JSON Schema)

{ "properties": { "projectId": { "description": "Project identifier", "type": "string" } }, "required": [ "projectId" ], "type": "object" }

Implementation Reference

  • Core handler function in ProjectManager class that loads project data, filters for open next steps, and sorts them by priority order.
    async getLatestNextSteps(projectId: string): Promise<NextStep[]> { const data = await this.loadProjectData(projectId); return data.nextSteps .filter(step => step.status === 'open') .sort((a, b) => { const priorityOrder = { 'core-critical': 0, 'full-required': 1, 'enhancement': 2 }; return priorityOrder[a.priority] - priorityOrder[b.priority]; }); }
  • src/index.ts:383-393 (registration)
    Tool registration definition returned by the list_tools handler, including name, description, and input schema.
    { name: "get_latest_next_steps", description: "Get open next steps ordered by priority", inputSchema: { type: "object", properties: { projectId: { type: "string", description: "Project identifier" } }, required: ["projectId"] } },
  • Input schema definition for the tool, specifying the required projectId parameter.
    inputSchema: { type: "object", properties: { projectId: { type: "string", description: "Project identifier" } }, required: ["projectId"] }
  • Dispatch logic in the CallToolRequestSchema handler that calls the core handler and returns the result as JSON text content.
    case "get_latest_next_steps": const steps = await projectManager.getLatestNextSteps(args.projectId as string); return { content: [{ type: "text", text: JSON.stringify(steps, null, 2) }] };

Other Tools

Related Tools

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/davidorex/project-handoffs'

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