Skip to main content
Glama

list_instincts

Retrieve all active instincts with confidence scores to understand available contextual rules and preferences in the MCP Context Provider system.

Instructions

List all loaded instincts with their confidence scores

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler for the `list_instincts` tool, which retrieves all instincts from the engine and returns them as a JSON-formatted list.
    case 'list_instincts': {
      const instincts = engine.getAllInstincts().map((i) => ({
        id: i.id,
        domain: i.domain,
        rule: i.rule,
        confidence: i.confidence,
        active: i.active,
        approved_by: i.approved_by,
        usage_count: i.usage_count,
      }));
      return { content: [{ type: 'text', text: JSON.stringify(instincts, null, 2) }] };
    }

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/doobidoo/MCP-Context-Provider'

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