Skip to main content
Glama

list_techniques

Discover available prompt engineering techniques with acceptance statistics to enhance AI interactions through optimized method selection.

Instructions

List all 8 available prompt engineering techniques with acceptance stats.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler logic for 'list_techniques' which maps over the techniques library and adds acceptance statistics from the profile config.
    case 'list_techniques': {
      const { stats } = getStats();
      return TECHNIQUES.map(t => {
        const s = stats[t.id] ?? { shown: 0, accepted: 0, helpful: 0 };
        const rate = s.shown > 0 ? Math.round((s.accepted / s.shown) * 100) : null;
        return {
          id: t.id,
          name: t.name,
          description: t.description,
          triggers: t.triggers,
          stats: { shown: s.shown, accepted: s.accepted, acceptanceRate: rate },
        };
      });
    }
  • The MCP tool definition (registration) for 'list_techniques'.
    {
      name: 'list_techniques',
      description: 'List all 8 available prompt engineering techniques with acceptance stats.',
      inputSchema: { type: 'object', properties: {} },
    },

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/AlanRoybal/prompte-mcp'

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