slopwatch_status
Retrieve real-time slop scores and statistics to assess the gap between AI system promises and actual delivery, supporting accountability within the SlopWatch MCP framework.
Instructions
Get current slop score and statistics
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| random_string | Yes | Dummy parameter for no-parameter tools |
Implementation Reference
- src/mcp-server.js:304-317 (handler)The main handler function for the slopwatch_status tool. Computes the slop score accuracy from the number of verified claims versus total claims and returns it in MCP content format.async handleStatus(args) { const totalClaims = this.claims.size; const verifiedClaims = this.verificationResults.filter(r => r.isVerified).length; const accuracy = totalClaims > 0 ? Math.round((verifiedClaims / totalClaims) * 100) : 100; return { content: [ { type: 'text', text: `Accuracy: ${accuracy}% (${verifiedClaims}/${totalClaims})` } ] }; }
- src/mcp-server.js:69-78 (schema)Input schema for slopwatch_status tool defining a required dummy 'random_string' parameter.inputSchema: { type: 'object', properties: { random_string: { type: 'string', description: 'Dummy parameter for no-parameter tools' } }, required: ['random_string'] }
- src/mcp-server.js:66-80 (registration)Registration of the slopwatch_status tool in the ListToolsRequestSchema response, including name, description, and input schema.{ name: 'slopwatch_status', description: 'Get current slop score and statistics', inputSchema: { type: 'object', properties: { random_string: { type: 'string', description: 'Dummy parameter for no-parameter tools' } }, required: ['random_string'] } }, {
- src/mcp-server.js:110-111 (registration)Switch case in CallToolRequestSchema handler that dispatches slopwatch_status calls to the handleStatus method.case 'slopwatch_status': return await this.handleStatus(args);