{"at":"2026-11-23T03:37:04.081Z","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-23T03:37:04.247Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found: server/discover"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T03:37:04.297Z","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-23T03:37:04.488Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{},"resources":{},"tools":{}},"instructions":"Frame Check is a structural framing-analysis tool for any English analytical document. Use it when the user wants to read a document with a structural lens (which perspectives it covers, which it omits, how confidently it speaks) or when you want to self-audit your own response before the user acts on it.\n\nDefault invocation is zero-arg: `frame_check(document_text=<text>)`. The defaults produce the full output, including the divergence block (perspectives the document does not use) and a per-call suggested_next_actions block. Pass the optional parameters only when the user has provided the relevant context (source material, decision goal, working-memory budget).\n\nTwo tools: `frame_check` (single document) and `frame_compare` (two documents on the same subject).\n\nFour prompts surface the common workflows: `frame_check_my_response` (self-audit your last reply), `frame_check_this_ai_response` (the user pastes another AI's reply), `challenge_document` (adversarial questions traced to structural gaps), `explain_framing` (guided walkthrough of a completed result). The user can ask you to use any of them by name.\n\nCite each measurement as Frame Check's; frame your reading as a reading ('the pattern reads as X'), never as a verdict ('the document is X'). The deterministic path returns identical measurements on identical inputs at zero LLM cost.","protocolVersion":"2024-11-05","serverInfo":{"name":"frame-check","version":"1.2.2"}}}}
{"at":"2026-11-23T03:37:04.488Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T03:37:04.488Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T03:37:04.489Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Read a document with a structural lens: which analytical perspectives it covers, which it omits, how confidently it speaks, and which framing patterns from the Frame Vocabulary Standard fire on it.\n\nUse this when the user pastes a document and asks for a structural read, when you want to self-audit your own last response before the user acts on it, or when the user pastes another AI's reply and asks what that AI did structurally.\n\nZero-arg invocation works for any English analytical document: `frame_check(document_text=<text>)`. The defaults produce the full output, including the divergence block (perspectives the document does not use) and a per-call suggested_next_actions block. Pass the optional parameters only when the user has provided the relevant context (source material, decision goal, working-memory budget).\n\nCompose ONE insight grounded in the cited measurements (a reading the user could not see by reading the document themselves), not a walk through the measurements one by one. The measurements are Frame Check's; the reading is yours. Cite each measurement as Frame Check's; frame the reading as a reading ('the pattern reads as X'), never as a verdict ('the document is X'). Repeated calls with identical inputs return identical measurements; zero LLM cost on the deterministic path.","inputSchema":{"properties":{"compose_budget":{"description":"Default 'standard'. Switch to 'minimal' for tighter working-memory budgets (per-turn self-audit loops, batch document processing) or to 'full' when you specifically need the inline claim_level_treatments table or the uncompressed agent_guidance prose.\n  'minimal' = top-3 absent_frames, top-1 cluster, top-1 pattern; agent_guidance compressed to load-bearing prescriptions only (the inline claim_level_treatments table and worked examples drop; the compressed shape carries a claim_level_treatments_note pointing you to compose_budget='full' for the full table).\n  'standard' = top-5 absent_frames, all clusters, all patterns; agent_guidance compressed (same rules as minimal). Roughly 45 percent smaller payload than 'full' on a typical document with structural-coverage and absence-side analyses fully preserved.\n  'full' = unfiltered output, full inline agent_guidance. Opt in when you want every absent_frame entry, the inline claim_level_treatments table, and the uncompressed how_to_render_divergence / composition_discipline prose.\nThe suggested_next_actions block survives at all tiers (per-call-derived, load-bearing for the user's discovery loop).","enum":["minimal","standard","full"],"type":"string"},"divergence_rendering":{"description":"Default 'list'. Switch to 'teaching_questions' when the absent-frame records should carry a teaching_question field for surfacing as questions rather than identifiers. All other modes return the same data; this only affects record decoration.","enum":["list","completeness_check","teaching_questions","narrative"],"type":"string"},"document_text":{"description":"The document to analyse. English. 300 to 10,000 words is the validated range; under 100 words the analysis carries a low-confidence note, over 1,000,000 characters returns a truncation guidance. Markdown accepted. This is the text whose framing you want named.","maxLength":1000000,"type":"string"},"include_divergence":{"description":"Default true. You do not need to pass this. The divergence block (frame patterns the document does not use, sorted by signal_strength) is the headline output and ships by default. Set explicitly to false only if you need the legacy 0.7.x-shape response with no divergence block (rare; use only when an integrator pinned the older shape).","type":"boolean"},"include_frame_opportunities":{"description":"Default false. Set true when the user wants up to 3 LLM-augmented document-specific questions composed from absent-frame teaching questions plus the document's content. Adds frame_opportunities to the divergence block with model_provenance per opportunity. Cost bounded at roughly 0.001 USD per invocation (3 Gemini Flash calls maximum). Falls back to an empty list with available=false if GEMINI_API_KEY is not set or the google.genai library is unavailable. Skip for the deterministic-only path.","type":"boolean"},"source_text":{"description":"Pass when the user has the source material the document was supposed to ground in (research report, SEC filing, primary source). Unlocks digit-level source-fidelity verification (Layer 4) plus a sentence-level grounded / fabricated / paraphrased decomposition (Layer 11) with a scope regime telling you which layer to trust on number-dense sources. Skip when no source material is available; the structural framing analysis runs either way.","maxLength":2000000,"type":"string"},"user_context":{"description":"Pass when the user has stated their situation, role, or decision context in the conversation (for example, 'I am a startup founder making a hire decision in healthcare AI', 'reviewing a research paper on language-model alignment'). When provided, the rendering guidance is extended so divergence relevance is filtered for this context. The context personalizes RELEVANCE FILTERING; never PRESCRIPTION (the absence-is-not-prescription guarantee holds). The MCP does not echo the value back in the response. Skip when no role or decision context is established. Maximum length 2000 chars.","maxLength":2000,"type":"string"},"user_goal":{"description":"Pass when the user has stated a goal for invoking Frame Check. One of: 'decide' (working through a choice), 'brainstorm' (exploring options), 'persuade' (writing to influence), 'learn' (understanding the topic), 'audit' (default-equivalent: structural read with no goal-specific override). When provided, absent_frames carry a goal_relevance dict for goal-load-bearing frames, and the absent_frames sort promotes goal-relevant entries within their signal_strength tier. Skip when the user has not named a goal; behavior matches 'audit'.","enum":["decide","brainstorm","persuade","learn","audit"],"type":"string"}},"required":["document_text"],"type":"object"},"name":"frame_check"},{"description":"Compare the framing of two documents on the same subject. Surfaces shared blind spots, unique coverage gaps, voice / temporal / epistemic deltas, and a structured framing-differences narrative with per-dimension reader implications.\n\nUse this when the user has two documents on the same subject (two AI responses to the same prompt, two analyst memos, an earnings release versus a press summary) and wants to see how they frame the same question differently.\n\nPass `document_a_label` and `document_b_label` only when the user has named the documents (for example 'Gemini response' and 'Claude response'). Otherwise the comparison narrative falls back to 'Document A' and 'Document B'.\n\nCite each measurement as Frame Check's; never imply that one document is better, more rigorous, or more biased than the other. The structural comparison surfaces what differs; the reader judges what the difference means. Repeated calls with identical inputs return identical results. No LLM is invoked.","inputSchema":{"properties":{"document_a_label":{"description":"Optional short label for document A (e.g. 'Industry view' or 'Gemini response'). Used in the comparison narrative. Defaults to 'Document A'.","maxLength":60,"type":"string"},"document_a_text":{"description":"The first document to compare. English. 300-10,000 words.","maxLength":1000000,"type":"string"},"document_b_label":{"description":"Optional short label for document B. Defaults to 'Document B'.","maxLength":60,"type":"string"},"document_b_text":{"description":"The second document to compare. English. 300-10,000 words. Should be on the same subject as document_a_text for the comparison to be meaningful.","maxLength":1000000,"type":"string"}},"required":["document_a_text","document_b_text"],"type":"object"},"name":"frame_compare"}]}}}
