{"at":"2026-11-23T04:18:56.059Z","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-23T04:18:56.367Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"method not found: server/discover"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T04:18:56.468Z","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-23T04:18:56.794Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":false}},"instructions":"Checks .docx and .pptx files on this machine for structural defects and for review content an edit lost: comments, tracked changes, notes, headers. After editing a document, call compare with the original as source and your output as edited, and fix or report what it finds before returning the file. If the user asked for a change that removes something, such as accepting a tracked change, declare it in expect. Use check when there is no original. The verdict says 'clean' only when nothing was found and every surface was checked; 'no findings in checked surfaces' means part of the file was not assessed, listed under coverage.","protocolVersion":"2025-11-25","serverInfo":{"name":"ooxml-integrity","version":"0.10.0"}}}}
{"at":"2026-11-23T04:18:56.794Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T04:18:56.794Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T04:18:56.795Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Self-check one .docx or .pptx: comment anchors, footnotes, styles, numbering, relationships and tracked-change markup in a document; text that overflows its box and shapes off the slide in a deck. Same as `ooxml-integrity check PATH --json --coverage`. Without the original it cannot see what an edit removed, such as a deleted comment: use compare when the original is available. Returns a one-line verdict, then the JSON report; exit_code 1 means findings at or above fail-on.","inputSchema":{"additionalProperties":false,"properties":{"path":{"description":"path on this machine; absolute, or relative to the server's working directory. URLs are rejected","type":"string"}},"required":["path"],"type":"object"},"name":"check","title":"Check a .docx or .pptx"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Everything check does on the edited file, plus what the edit lost relative to the original: comments, tracked insertions and deletions, footnotes and endnotes, headers and footers, text. Same as `ooxml-integrity check EDITED --against SOURCE --json --coverage`. For a .pptx only the layout checks run and the comparison is reported as not performed (FID000). If the user asked for a change that removes something, such as accepting or rejecting a tracked change or rewriting a header untracked, declare it in expect: a matching finding is reported as expected instead of failing, and an expectation nothing matches fails with EXP001.","inputSchema":{"additionalProperties":false,"properties":{"edited":{"description":"the edited copy; path on this machine; absolute, or relative to the server's working directory. URLs are rejected","type":"string"},"expect":{"description":"changes the edit was asked to make, as [[expect]] entries in docs/configuration.md, without path","items":{"additionalProperties":false,"properties":{"code":{"description":"rule code, e.g. FID001","type":"string"},"match":{"description":"values the finding must carry: part, where, or keys of its extra, e.g. {\"tag\": \"ins\", \"before\": 2, \"after\": 1}","type":"object"},"reason":{"description":"why the change was requested; required","type":"string"},"required":{"description":"false allows the finding without requiring it; default true","type":"boolean"}},"required":["code","reason"],"type":"object"},"type":"array"},"introduced":{"description":"true reports only what the edit introduced: a finding the original already has, such as a comment an earlier tool orphaned, is listed as suppressed instead of failing. Lost content (FID) and anything not checked always count. Default false","type":"boolean"},"source":{"description":"the original document; path on this machine; absolute, or relative to the server's working directory. URLs are rejected","type":"string"}},"required":["source","edited"],"type":"object"},"name":"compare","title":"Check an edited .docx against its original"}]}}}
