Skip to main content
Glama
AgentBase1
by AgentBase1

get_featured

Retrieve high-quality instruction files with quality scores of 90+, verified for completeness and production readiness. Find reliable starting points for agent development.

Instructions

Return all featured instruction files (quality score 90+). These are verified, complete, and production-tested. Good starting point for finding high-quality instructions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function that fetches the registry index, filters for featured entries (quality score 90+), formats them as a readable list, and returns the result as MCP content.
    async function handleGetFeatured() {
      const index = await fetchIndex();
      const featured = (index.entries || []).filter(e => e.featured);
    
      const output = featured.map(e =>
        `**${e.title}** [${e.category}]\nslug: ${e.slug} | quality: ${e.quality_score}/100\ntags: ${(e.tags || []).join(', ')}`
      );
    
      return {
        content: [{
          type: 'text',
          text: `Featured files (${featured.length} total — quality score 90+):\n\n${output.join('\n\n')}\n\nUse get_instruction with any slug to fetch the full file.`
        }]
      };
    }
  • Tool schema definition specifying the tool name, description, and empty input parameters (no arguments required).
    {
      name: 'get_featured',
      description: 'Return all featured instruction files (quality score 90+). These are verified, complete, and production-tested. Good starting point for finding high-quality instructions.',
      inputSchema: {
        type: 'object',
        properties: {}
      }
    }
  • index.js:263-263 (registration)
    Router registration in the CallToolRequestSchema handler that maps 'get_featured' tool calls to the handleGetFeatured function.
    case 'get_featured': return await handleGetFeatured();
  • Helper function that fetches and parses the registry index JSON from the remote URL, used by handleGetFeatured to retrieve the data.
    async function fetchIndex() {
      const res = await fetch(INDEX_URL);
      if (!res.ok) throw new Error(`Registry unavailable: ${res.status}`);
      return res.json();
    }

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/AgentBase1/mcp-server'

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