Skip to main content
Glama

List Milestones

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({}),
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool lists milestones with card counts, implying a read-only operation, but doesn't cover critical aspects like pagination, rate limits, authentication needs, or error handling. For a tool with zero annotation coverage, this is insufficient.

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?

The description is a single, efficient sentence that front-loads the core purpose ('List all milestones') and adds a useful detail ('with card counts'). There is no wasted verbiage, making it highly concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (0 parameters, no output schema, no annotations), the description is adequate but has gaps. It explains what the tool does and includes card counts, but lacks usage guidelines and behavioral details like response format or limitations. This makes it minimally viable but not fully complete.

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?

The input schema has 0 parameters with 100% coverage, so no parameter documentation is needed. The description adds value by specifying that card counts are included in the output, which is semantic information beyond the schema. Baseline is 4 for 0 parameters, as it compensates appropriately.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('List') and resource ('milestones'), specifying what the tool does. It distinguishes itself from siblings like 'list_cards' or 'list_projects' by focusing on milestones. However, it doesn't explicitly differentiate from potential similar tools (e.g., if there were a 'get_milestones' tool), keeping it at 4 rather than 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, context (e.g., after creating a project), or exclusions (e.g., not for filtered lists). With siblings like 'list_cards' and 'list_projects', the lack of comparative guidance is a clear gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

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

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