{"at":"2026-11-23T01:03:31.060Z","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-23T01:03:31.317Z","dir":"received","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"slowplan","version":"0.1.0"}},"cacheScope":"public","capabilities":{"logging":{},"tools":{"listChanged":true}},"resultType":"complete","supportedVersions":["2026-07-28","2025-11-25","2025-06-18","2025-03-26","2024-11-05"],"ttlMs":0}}}
{"at":"2026-11-23T01:03:31.317Z","dir":"sent","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T01:03:31.318Z","dir":"received","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"slowplan","version":"0.1.0"}},"cacheScope":"public","resultType":"complete","tools":[{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Compares EXPLAIN output from before and after a change, such as a new index, and shows the timing change and which problems were fixed, remain or are new. It never connects to a database.","inputSchema":{"additionalProperties":false,"properties":{"after":{"description":"EXPLAIN output after the change","type":"string"},"after_path":{"description":"Path to a file with the plan after the change","type":"string"},"before":{"description":"EXPLAIN output before the change","type":"string"},"before_path":{"description":"Path to a file with the plan before the change","type":"string"}},"type":"object"},"name":"postgres_plan_compare","outputSchema":{"additionalProperties":false,"properties":{"after_ms":{"type":"number"},"before_ms":{"type":"number"},"change_percent":{"type":"number"},"fixed":{"items":{"additionalProperties":false,"properties":{"fix":{"type":"string"},"id":{"type":"string"},"impact_ms":{"type":"number"},"message":{"type":"string"},"node":{"type":"string"},"severity":{"type":"string"}},"required":["id","severity","node","message","fix","impact_ms"],"type":"object"},"type":["null","array"]},"new":{"items":{"additionalProperties":false,"properties":{"fix":{"type":"string"},"id":{"type":"string"},"impact_ms":{"type":"number"},"message":{"type":"string"},"node":{"type":"string"},"severity":{"type":"string"}},"required":["id","severity","node","message","fix","impact_ms"],"type":"object"},"type":["null","array"]},"notes":{"items":{"type":"string"},"type":["null","array"]},"remaining":{"items":{"additionalProperties":false,"properties":{"fix":{"type":"string"},"id":{"type":"string"},"impact_ms":{"type":"number"},"message":{"type":"string"},"node":{"type":"string"},"severity":{"type":"string"}},"required":["id","severity","node","message","fix","impact_ms"],"type":"object"},"type":["null","array"]}},"required":["before_ms","after_ms","change_percent","fixed","new","remaining","notes"],"type":"object"},"title":"Compare two PostgreSQL query plans"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Finds why a PostgreSQL query is slow from its EXPLAIN output, in text or JSON: where the time goes, and problems such as sequential scans throwing away rows, wrong row estimates, sorts and hashes spilling to disk, and nested loops run many times. Use after running EXPLAIN (ANALYZE, BUFFERS). It only reads the text you give it and never connects to a database. Suggested indexes are candidates to test.","inputSchema":{"additionalProperties":false,"properties":{"path":{"description":"Path to a file holding EXPLAIN output. Give this or plan","type":"string"},"plan":{"description":"EXPLAIN output as text or JSON. Give this or path","type":"string"}},"type":"object"},"name":"postgres_plan_review","outputSchema":{"additionalProperties":false,"properties":{"analyzed":{"type":"boolean"},"execution_ms":{"type":"number"},"findings":{"items":{"additionalProperties":false,"properties":{"fix":{"type":"string"},"id":{"type":"string"},"impact_ms":{"type":"number"},"message":{"type":"string"},"node":{"type":"string"},"severity":{"type":"string"}},"required":["id","severity","node","message","fix","impact_ms"],"type":"object"},"type":["null","array"]},"hottest":{"items":{"additionalProperties":false,"properties":{"node":{"type":"string"},"percent":{"type":"number"},"self_ms":{"type":"number"}},"required":["node","self_ms","percent"],"type":"object"},"type":["null","array"]},"notes":{"items":{"type":"string"},"type":["null","array"]},"planning_ms":{"type":"number"}},"required":["analyzed","execution_ms","planning_ms","hottest","findings","notes"],"type":"object"},"title":"Review a PostgreSQL query plan"}],"ttlMs":0}}}
{"at":"2026-11-23T01:03:31.419Z","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-23T01:03:31.703Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"logging":{},"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"slowplan","version":"0.1.0"}}}}
{"at":"2026-11-23T01:03:31.703Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T01:03:31.703Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T01:03:31.705Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"cacheScope":"public","tools":[{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Compares EXPLAIN output from before and after a change, such as a new index, and shows the timing change and which problems were fixed, remain or are new. It never connects to a database.","inputSchema":{"additionalProperties":false,"properties":{"after":{"description":"EXPLAIN output after the change","type":"string"},"after_path":{"description":"Path to a file with the plan after the change","type":"string"},"before":{"description":"EXPLAIN output before the change","type":"string"},"before_path":{"description":"Path to a file with the plan before the change","type":"string"}},"type":"object"},"name":"postgres_plan_compare","outputSchema":{"additionalProperties":false,"properties":{"after_ms":{"type":"number"},"before_ms":{"type":"number"},"change_percent":{"type":"number"},"fixed":{"items":{"additionalProperties":false,"properties":{"fix":{"type":"string"},"id":{"type":"string"},"impact_ms":{"type":"number"},"message":{"type":"string"},"node":{"type":"string"},"severity":{"type":"string"}},"required":["id","severity","node","message","fix","impact_ms"],"type":"object"},"type":["null","array"]},"new":{"items":{"additionalProperties":false,"properties":{"fix":{"type":"string"},"id":{"type":"string"},"impact_ms":{"type":"number"},"message":{"type":"string"},"node":{"type":"string"},"severity":{"type":"string"}},"required":["id","severity","node","message","fix","impact_ms"],"type":"object"},"type":["null","array"]},"notes":{"items":{"type":"string"},"type":["null","array"]},"remaining":{"items":{"additionalProperties":false,"properties":{"fix":{"type":"string"},"id":{"type":"string"},"impact_ms":{"type":"number"},"message":{"type":"string"},"node":{"type":"string"},"severity":{"type":"string"}},"required":["id","severity","node","message","fix","impact_ms"],"type":"object"},"type":["null","array"]}},"required":["before_ms","after_ms","change_percent","fixed","new","remaining","notes"],"type":"object"},"title":"Compare two PostgreSQL query plans"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Finds why a PostgreSQL query is slow from its EXPLAIN output, in text or JSON: where the time goes, and problems such as sequential scans throwing away rows, wrong row estimates, sorts and hashes spilling to disk, and nested loops run many times. Use after running EXPLAIN (ANALYZE, BUFFERS). It only reads the text you give it and never connects to a database. Suggested indexes are candidates to test.","inputSchema":{"additionalProperties":false,"properties":{"path":{"description":"Path to a file holding EXPLAIN output. Give this or plan","type":"string"},"plan":{"description":"EXPLAIN output as text or JSON. Give this or path","type":"string"}},"type":"object"},"name":"postgres_plan_review","outputSchema":{"additionalProperties":false,"properties":{"analyzed":{"type":"boolean"},"execution_ms":{"type":"number"},"findings":{"items":{"additionalProperties":false,"properties":{"fix":{"type":"string"},"id":{"type":"string"},"impact_ms":{"type":"number"},"message":{"type":"string"},"node":{"type":"string"},"severity":{"type":"string"}},"required":["id","severity","node","message","fix","impact_ms"],"type":"object"},"type":["null","array"]},"hottest":{"items":{"additionalProperties":false,"properties":{"node":{"type":"string"},"percent":{"type":"number"},"self_ms":{"type":"number"}},"required":["node","self_ms","percent"],"type":"object"},"type":["null","array"]},"notes":{"items":{"type":"string"},"type":["null","array"]},"planning_ms":{"type":"number"}},"required":["analyzed","execution_ms","planning_ms","hottest","findings","notes"],"type":"object"},"title":"Review a PostgreSQL query plan"}],"ttlMs":0}}}
