Skip to main content
Glama
JoodasCode

SlopWatch MCP Server

slopwatch_status

Retrieve current slop score and statistics to track AI system accountability by comparing promised versus delivered implementations.

Instructions

Get current slop score and statistics

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
random_stringYesDummy parameter for no-parameter tools

Implementation Reference

  • The handleStatus method implements the core logic for the slopwatch_status tool, calculating accuracy from claims and verification results and returning a simple status message.
    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})` } ] }; }
  • The getStatus function implements the slopwatch_status tool handler, providing detailed server status including recent verification history if requested.
    async function getStatus(args: any, claims: Map<string, any>, verificationResults: any[]) { const { detailed = false } = args || {}; const totalClaims = claims.size; const verifiedClaims = verificationResults.filter(r => r.isVerified).length; const failedClaims = verificationResults.filter(r => !r.isVerified).length; const accuracy = totalClaims === 0 ? 100 : Math.round((verifiedClaims / totalClaims) * 100); let output = `šŸ”„ SlopWatch Server Status\n\n`; output += `šŸ“Š Total Claims: ${totalClaims}\n`; output += `āœ… Verified: ${verifiedClaims}\n`; output += `āŒ Failed: ${failedClaims}\n`; output += `šŸŽÆ AI Accuracy: ${accuracy}%\n\n`; if (detailed && verificationResults.length > 0) { output += `šŸ“‹ Recent Verification History:\n`; verificationResults.slice(-5).forEach((result, i) => { const status = result.isVerified ? 'āœ…' : 'āŒ'; output += ` ${status} "${result.claim}" (${result.confidence}%)\n`; }); } output += `\nšŸ’” How to use:\n`; output += `1. AI calls slopwatch_claim("what I'm implementing", ["file1.js"], "js")\n`; output += `2. AI makes the changes\n`; output += `3. AI calls slopwatch_verify(claimId)\n`; output += `4. Get instant lie detection results!\n`; return { content: [ { type: 'text', text: output } ] };
  • Registration of the slopwatch_status tool in the ListTools response, defining 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/index.ts:88-100 (registration)
    Registration of the slopwatch_status tool in the ListTools response for the stateless server, including optional detailed parameter.
    { name: 'slopwatch_status', description: 'šŸ“Š Get current SlopWatch status and recent verification results', inputSchema: { type: 'object', properties: { detailed: { type: 'boolean', description: 'Show detailed verification history', } }, }, }
  • Input schema definition for slopwatch_status tool requiring a dummy random_string parameter.
    inputSchema: { type: 'object', properties: { random_string: { type: 'string', description: 'Dummy parameter for no-parameter tools' } }, required: ['random_string']

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/JoodasCode/SlopWatch'

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