Skip to main content
Glama
soil-dev
by soil-dev

get_thread_markdown

Read-onlyIdempotent

Fetch a Loomio thread as server-rendered Markdown by topic_id, discussion_id, or poll_id. Use it to read or summarize threads, with max_chars and truncation flags.

Instructions

The best single call for 'summarise / read this thread': 1 call by topic_id (2 by discussion_id or poll_id; pass exactly one) returns Loomio's server-rendered Markdown of the thread (markdown, chars, truncated). Structured data: list_thread_items. max_chars cuts from the END, so truncated: true means the newest items were dropped.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
poll_idNoPoll id or short key of a STANDALONE poll (+1 call).
topic_idNoThread id (`topic_id` on any thread row, NOT `id`); no extra call.
max_charsNoCap in chars; default 60000, -1 = all. Cuts the END; `truncated` flags it.
discussion_idNoDiscussion id or short key (+1 call); prefer `topic_id`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.0.13

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety burden is lifted. The description still adds non-obvious behavior: the response is server-rendered Markdown with `markdown`/`chars`/`truncated`, and critically that `max_chars` cuts from the END so `truncated: true` drops newest items. It does not cover auth or rate limits, but for a read tool this is well above the annotation-covered bar.

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

Conciseness4/5

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

Two dense sentences, front-loaded with the primary use case and no filler. The packed parentheticals ('2 by discussion_id or poll_id; pass exactly one') are information-dense but slightly strain readability, keeping it just short of a 5.

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

Completeness5/5

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

With no output schema, the description compensates by naming the returned fields and the truncation flag; it also covers all four parameters, the id-selection rule, and the structured-data alternative. An agent has everything needed to call this correctly on the first attempt.

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 coverage is 100%, so per-parameter meanings are already documented (baseline 3). The description nevertheless adds a cross-parameter constraint the schema cannot express — 'pass exactly one' of topic_id/discussion_id/poll_id — and reinforces the truncation semantics of max_chars, which is genuine added value.

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

Purpose5/5

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

States a specific verb and resource ('read/summarise this thread' returning server-rendered Markdown), and explicitly positions itself as 'the best single call' against the sibling list_thread_items for structured data. An agent can distinguish it from get_discussion and list_thread_items without opening any schema.

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 when-to-use ('for summarise / read this thread'), when to prefer another tool ('Structured data: list_thread_items'), the alternative ids with their cost ('+1 call'; 'prefer topic_id'), and the constraint 'pass exactly one'. Nothing about tool selection is left to inference.

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