Skip to main content
Glama
jakedx6

Helios-9 MCP Server

by jakedx6

list_initiatives

Retrieve all initiatives with optional filters by project, status, priority, or search term to quickly find relevant initiatives.

Instructions

List all initiatives with optional filtering

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idNoFilter by project
statusNoFilter by status
priorityNoFilter by priority
searchNoSearch initiatives by name or objective
limitNoMaximum number of initiatives to return

Implementation Reference

  • The handler function for list_initiatives. Parses args via ListInitiativesSchema, calls supabaseService.getInitiatives() with filters (project_id, status, priority, search) and sorting (updated_at desc), then returns initiatives array, total count, and applied filters.
    export const listInitiatives = requireAuth(async (args: any) => {
      const { project_id, status, priority, search, limit } = ListInitiativesSchema.parse(args)
      
      logger.info('Listing initiatives', { project_id, status, priority, search, limit })
      
      const initiatives = await supabaseService.getInitiatives(
        { project_id, status, priority, search },
        { limit },
        { field: 'updated_at', order: 'desc' }
      )
      
      // The API already returns enriched initiatives with counts
      return {
        initiatives: initiatives,
        total: initiatives.length,
        filters_applied: { project_id, status, priority, search }
      }
    })
  • Zod validation schema for list_initiatives input. Defines optional fields: project_id (UUID), status (enum), priority (enum), search (string), and limit (number 1-100, default 20).
    const ListInitiativesSchema = z.object({
      project_id: z.string().uuid().optional(),
      status: z.enum(['planning', 'active', 'on_hold', 'completed', 'cancelled']).optional(),
      priority: z.enum(['critical', 'high', 'medium', 'low']).optional(),
      search: z.string().optional(),
      limit: z.number().int().positive().max(100).default(20)
    })
  • The tool metadata/registration object for list_initiatives. Specifies name, description, and input JSON Schema (properties: project_id, status, priority, search, limit). This is included in the initiativeTools export and ultimately spread into this.allTools in the main server.
    export const listInitiativesTool: MCPTool = {
      name: 'list_initiatives',
      description: 'List all initiatives with optional filtering',
      inputSchema: {
        type: 'object',
        properties: {
          project_id: {
            type: 'string',
            format: 'uuid',
            description: 'Filter by project'
          },
          status: {
            type: 'string',
            enum: ['planning', 'active', 'on_hold', 'completed', 'cancelled'],
            description: 'Filter by status'
          },
          priority: {
            type: 'string',
            enum: ['critical', 'high', 'medium', 'low'],
            description: 'Filter by priority'
          },
          search: {
            type: 'string',
            description: 'Search initiatives by name or objective'
          },
          limit: {
            type: 'number',
            minimum: 1,
            maximum: 100,
            default: 20,
            description: 'Maximum number of initiatives to return'
          }
        }
      }
    }
  • Handler registration mapping: the key 'list_initiatives' in initiativeHandlers is mapped to the listInitiatives function. This object is spread into this.allHandlers in the main server.
    export const initiativeHandlers = {
      list_initiatives: listInitiatives,
  • src/index.ts:143-152 (registration)
    The main server's allHandlers object spreads initiativeHandlers (which includes list_initiatives). When a tool call request comes in with name 'list_initiatives', this.allHandlers['list_initiatives'] is looked up and invoked.
    this.allHandlers = {
      ...projectHandlers,
      ...taskHandlers,
      ...documentHandlers,
      ...conversationHandlers,
      ...contextAggregationHandlers,
      ...workflowAutomationHandlers,
      ...intelligentSearchHandlers,
      ...analyticsInsightsHandlers,
      ...initiativeHandlers,
Behavior2/5

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

With no annotations, the description carries full behavioral disclosure burden. It only states the basic function without disclosing pagination behavior, ordering, performance implications, or other traits. The agent gains minimal insight beyond the tool's existence.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, which is concise but lacks substance. It meets minimum requirements but does not provide additional value beyond the title.

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

Completeness2/5

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

Given 5 optional parameters and no output schema, the description should explain the return structure, pagination behavior, and default ordering. It fails to provide such context, leaving agents uncertain about how results are presented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all parameters. The description adds no extra meaning beyond 'optional filtering'. Baseline 3 is appropriate as it does not contradict or enhance the schema.

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 'List all initiatives with optional filtering', specifying the verb (list) and resource (initiatives). It distinguishes from sibling tools like get_initiative (single), create_initiative, and search tools. However, it does not explicitly differentiate from other list tools like list_workflow_rules.

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?

No guidance is provided on when to use list_initiatives vs alternatives such as search_workspace, universal_search, or get_initiative. There are no prerequisites, exclusions, or context clues for appropriate usage.

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/jakedx6/helios9-MCP-Server'

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