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
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- bin/prompte-mcp.js:200-203 (handler)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() }; } - src/config/profile.js:106-108 (helper)Helper function that reads and returns the statistics from the decisions file.
export function getStats() { return readJSON(DECISIONS_FILE, { decisions: [], stats: {} }); }