Skip to main content
Glama

list_milestones

Retrieve all project milestones with their associated card counts to track progress and manage timelines in Codecks project management.

Instructions

List all milestones with card counts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core implementation of listMilestones() method that queries the Codecks API for milestones data, extracting id and title fields for each milestone.
    async listMilestones(): Promise<Record<string, unknown>> { const result = await query({ _root: [{ account: [{ milestones: ["id", "title"] }] }], }); return { milestones: this.extractList(result, "milestones") }; }
  • MCP tool registration for 'list_milestones' with empty input schema, error handling, and result formatting through finalizeToolResult().
    server.registerTool( "list_milestones", { title: "List Milestones", description: "List all milestones with card counts.", inputSchema: z.object({}), }, async () => { try { const result = await client.listMilestones(); return { content: [{ type: "text", text: JSON.stringify(finalizeToolResult(result)) }], }; } catch (err) { return { content: [ { type: "text", text: JSON.stringify(finalizeToolResult(handleError(err))), }, ], }; } }, );
  • Schema definition for list_milestones tool - empty object since no input parameters are required.
    "list_milestones", { title: "List Milestones", description: "List all milestones with card counts.", inputSchema: z.object({}),

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/rangogamedev/codecks-mcp'

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