We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mercurialsolo/counsel-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
verify.ts•728 B
import { TOOLS as DEBATE_TOOLS } from "../src/tools/debates";
import { TOOLS as ADVISOR_TOOLS } from "../src/tools/advisor";
import { z } from "zod";
async function verify() {
console.log("Verifying Debate Tools...");
for (const [key, tool] of Object.entries(DEBATE_TOOLS)) {
console.log(`- ${tool.name}: ${tool.description}`);
if (!tool.schema) throw new Error(`Tool ${key} missing schema`);
if (!tool.handler) throw new Error(`Tool ${key} missing handler`);
}
console.log("Verifying Advisor Tools...");
for (const [key, tool] of Object.entries(ADVISOR_TOOLS)) {
console.log(`- ${tool.name}: ${tool.description}`);
}
console.log("Verification Successful!");
}
verify().catch(console.error);