{"at":"2026-11-22T23:29:41.500Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-22T23:29:41.973Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-22T23:29:42.074Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-22T23:29:42.490Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"ai-visibility","version":"1.0.0"}}}}
{"at":"2026-11-22T23:29:42.490Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-22T23:29:42.490Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-22T23:29:42.514Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Check a brand's visibility across AI platforms (ChatGPT, Perplexity, Claude, Gemini). Simulates realistic queries and analyzes mention rates, positions, sentiment, and competitor landscape.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"brand":{"description":"The brand name to check visibility for","type":"string"},"keywords":{"description":"Industry keywords related to the brand (e.g., ['SEO', 'analytics']). Used to generate relevant queries.","items":{"type":"string"},"type":"array"},"platforms":{"description":"Which AI platforms to check. Defaults to all four platforms.","items":{"enum":["chatgpt","perplexity","claude","gemini"],"type":"string"},"type":"array"}},"required":["brand"],"type":"object"},"name":"check_brand_visibility"},{"description":"Check if a brand is mentioned for a specific query on a specific AI platform. Returns mention status, position, context snippet, sentiment, and competitor mentions.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"brand":{"description":"The brand name to check","type":"string"},"platform":{"description":"The AI platform to check on","enum":["chatgpt","perplexity","claude","gemini"],"type":"string"},"query":{"description":"The exact query to check (e.g., 'What are the best SEO tools?')","type":"string"}},"required":["brand","query","platform"],"type":"object"},"name":"check_single_query"},{"description":"Calculate an overall AI visibility score (0-100) for a brand across all four AI platforms. Includes per-platform breakdowns and improvement recommendations.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"brand":{"description":"The brand name to score","type":"string"}},"required":["brand"],"type":"object"},"name":"get_visibility_score"},{"description":"Compare the AI visibility of multiple brands side by side. Shows per-platform scores, overall rankings, and relative strengths.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"brands":{"description":"List of brand names to compare (2-10 brands)","items":{"type":"string"},"maxItems":10,"minItems":2,"type":"array"},"keyword":{"description":"Optional industry keyword for context (e.g., 'project management')","type":"string"}},"required":["brands"],"type":"object"},"name":"compare_brands"},{"description":"Get actionable recommendations to improve a brand's AI visibility. Prioritized suggestions based on current score and industry best practices.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"brand":{"description":"The brand name to get recommendations for","type":"string"},"current_score":{"description":"Current visibility score (0-100) if known. If not provided, a quick check will be performed.","maximum":100,"minimum":0,"type":"number"}},"required":["brand"],"type":"object"},"name":"get_recommendations"},{"description":"List all supported AI platforms with details about how each sources and presents brand information.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"list_platforms"}]}}}
