Skip to main content
Glama

get_stats

Retrieve session statistics and current configuration snapshot from the prompte-mcp server to monitor prompt enhancement performance and settings.

Instructions

Get session totals and current config snapshot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler for 'get_stats' tool which returns session stats, per-technique stats, and current configuration.
    case 'get_stats': {
      const { stats } = getStats();
      return { session: sessionStats, perTechnique: stats, config: getConfig() };
    }
  • Helper function that reads and returns the statistics from the decisions file.
    export function getStats() {
      return readJSON(DECISIONS_FILE, { decisions: [], stats: {} });
    }

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