Skip to main content
Glama
ilyautov

consilium-principis

render_session

Render the council session canon as a widget, validating quote attribution before display; use as the final step, then pass its content to the visualizer.

Instructions

ОБЯЗАТЕЛЬНЫЙ финал заседания совета в Cowork: отрисовать canon-объект заседания виджетом. Зови этот тул ПОСЛЕДНИМ действием, потом скорми вернувшийся content в mcp__visualize__show_widget — вердикт прозой НЕ пиши. surface: widget (Cowork, дефолт-выбор, кликабельный sendPrompt) | md (только если show_widget недоступен) | html (фолбэк). Контур/гейт 🔵 пройдены ризонингом ДО рендера. Рендер ДОПОЛНИТЕЛЬНО валидирует атрибуцию: 🔵/🟢-цитата, не верифицируемая корпусом СВОЕГО советника, понижается до нарушения (не переставляй цитаты между советниками); «blue» на цитате из комментария (S-тир) понижается до green. Клади advisor_dir в каждый advisors[]-блок — надёжный канал атрибуции (имя — exact-match фолбэк). depth=plain по умолчанию. См. session_render.py.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNo
depthNo
sessionYesКанон-объект заседания. ВАЖНО — точные имена полей, иначе движок отрисует только имена советников, а вердикт потеряется: {question:str, reframe?:str, advisors:[{name:str, opinions:[{argument:str (довод на языке юзера), quote?:{text:str, source?:str, translation?:str}, marker?:'blue'|'green'|'yellow'|'violation'}], advisor_dir?:str}], disagreement?:{axis:str, sides:[str], resolver?:str}, premortem?:[{advisor:str, reason:str}], synthesis:str (ВЕРДИКТ), what_you_lose?:str, step?:str}. Алиасы тоже приняты (advisor.position→argument, advisor.quote→opinions[].quote, verdict→synthesis), но канон надёжнее.
surfaceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations exist, so the description carries the full behavioral burden and does so well: it discloses that rendering additionally validates attribution, downgrading unverifiable blue/green quotes to violations and downgrading 'blue' on S-tier comment quotes to green, and warns against moving quotes between advisors. It stops short of describing the exact return payload beyond `content` and the failure/degradation modes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The critical directive is correctly front-loaded, but the paragraph crams sequencing, surface routing, gate logic, attribution-validation rules, field-name guidance and a code reference into run-on sentences with heavy parenthetical nesting. Much of it earns its place, yet the density hurts scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a nested 4-param mutation-style tool with no output schema and no annotations, the description covers the workflow, parameter conventions and validation side effects an agent needs. Gaps remain around the unexplained `kind` parameter and the precise shape of the returned `content`.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25%, so the description must compensate, and it largely does: it enumerates exact canon field names for `session`, lists accepted aliases, explains the `surface` values and the `depth` default. The `kind` enum (session/opening) is never explained in either the description or schema, leaving one parameter undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (отрисовать) and resource (canon-объект заседания) and frames it as the mandatory final step of a council session, which distinguishes it from siblings like council_verdict, gate_verdict and export_session. The purpose is clear but delivered inside a dense procedural paragraph rather than a clean one-liner.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit sequencing (call it as the LAST action, then feed `content` to mcp__visualize__show_widget, don't write the verdict in prose), explicit surface selection rules with defaults and fallbacks (widget default, md only if show_widget unavailable, html fallback), and a stated depth default. When-to-use and which alternative to pick are fully spelled out.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.