Skip to main content
Glama

list_ecosystems

List the AI ecosystems available on your tier to get valid slugs for best practices, news, and integrations.

Instructions

List all AI ecosystems available on your current tier. Call this first to discover valid ecosystem slugs before calling get_best_practices, get_latest_news, or get_top_integrations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for list_ecosystems. It queries the 'ecosystems' table for live ecosystems, filters by tier (pro gets all, free gets only available_on_free), and returns the user's tier and available ecosystems.
    if (name === 'list_ecosystems') {
      const { data, error } = await supabase
        .from('ecosystems')
        .select('slug, name, vendor, available_on_free')
        .eq('status', 'live')
        .order('name')
    
      if (error) return err('Error: Database error', 500)
    
      const all = (data ?? []) as Array<{ slug: string; name: string; vendor: string; available_on_free: boolean }>
      const ecosystems = profile.tier === 'pro'
        ? all.map(e => ({ slug: e.slug, name: e.name, vendor: e.vendor, tier: 'pro' as const }))
        : all
            .filter(e => e.available_on_free)
            .map(e => ({ slug: e.slug, name: e.name, vendor: e.vendor, tier: 'free' as const }))
    
      await logApiRequest(supabase, { apiKey: profile.api_key, tool: 'list-ecosystems', ecosystem: 'all', statusCode: 200 })
      return ok({ your_tier: profile.tier, ecosystems })
    }
  • The schema definition for list_ecosystems. It has no input parameters (empty properties and required arrays).
    {
      name: 'list_ecosystems',
      description:
        'List all AI ecosystems available on your current tier. Call this first to discover valid ecosystem slugs before calling get_best_practices, get_latest_news, or get_top_integrations.',
      inputSchema: {
        type: 'object',
        properties: {},
        required: [],
      },
  • app/mcp/route.ts:62-69 (registration)
    Registration of list_ecosystems tool on the MCP server, using the 5th definition (index 4) from TOOL_DEFINITIONS.
    server.registerTool(
      'list_ecosystems',
      {
        description: TOOL_DEFINITIONS[4].description,
        inputSchema: {},
      },
      (args) => handleToolCall('list_ecosystems', args as Record<string, unknown>, req),
    )
Behavior4/5

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

In absence of annotations, the description adequately implies a read-only operation (listing ecosystems) without side effects. It does not contradict any annotations. A slightly higher score is not warranted as it does not explicitly state idempotency or safety.

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?

Two sentences with no wasted words. All information is front-loaded and directly useful. Every sentence adds value.

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

Completeness5/5

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

Given zero parameters and no output schema, the description is fully complete. It explains the tool's output (list of ecosystems), its dependency by other tools, and the action needed (call first).

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 no parameters, and schema coverage is 100%. The description adds no parameter specifics, which is acceptable as none are needed. Baseline 4 is appropriate.

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

Purpose5/5

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

The description uses a specific verb 'List' and clearly defines the resource 'AI ecosystems' with a scope qualifier 'on your current tier'. It differentiates from sibling tools by positioning itself as a prerequisite for specific data-fetching tools.

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

Usage Guidelines5/5

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

Explicitly instructs the user to call this tool first to discover valid ecosystem slugs before using get_best_practices, get_latest_news, or get_top_integrations. Provides clear context on when and why to use it.

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/PThrower/Strata'

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