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

get_discussion

Read-onlyIdempotent

Fetch a Loomio discussion by numeric ID or short key to view its full body, topic, counters, and URL; optionally include thread items with paging info.

Instructions

One discussion by numeric id or short key: 1 call (2+ with include_items). Returns the full body, topic_id, counters, url; include_items: true embeds list_thread_items as thread_items (items_limit; next_offset says when to page on). Prose: get_thread_markdown; a group's threads: list_discussions.

Input Schema

NameRequiredDescriptionDefault
id_or_keyYesDiscussion id or short key.
strip_htmlNoPlain text instead of HTML; default false.
items_limitNoWith include_items: items to embed (default 200, max 1000).
include_itemsNoAlso embed the thread's items as `thread_items` (+1 call per 500 items).
items_body_max_charsNoWith include_items: chars per body (default 4000; 0 omits, -1 full).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.0.16
    • changedInput schema / properties / include_items / description
      Previous value: -"Also embed the thread's items as `thread_items` (+1 call)."New value: +"Also embed the thread's items as `thread_items` (+1 call per 500 items)."
  2. Addedv0.0.13
  3. Removedv0.0.10
  4. First observedv0.0.6

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, open-world, so the safety bar is met without the text. The description adds genuinely useful behavior beyond them: a call-cost model ('1 call (2+ with include_items)', '+1 call per 500 items') and the fact that next_offset signals when to page — real operational context an agent needs.

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

Conciseness5/5

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

Front-loads the resource and call cost, then return shape, then opt-in embedding, then sibling routing. Extremely dense with no filler; every clause carries a fact about identity, cost, return value, or alternative.

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 still enumerates what comes back (full body, topic_id, counters, url) and how paging works. For a 5-param read tool with full schema coverage and annotation coverage, nothing an agent needs to call it correctly is missing.

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 the baseline is 3, but the description adds cross-parameter behavior the schema cannot express: include_items embeds list_thread_items output as thread_items, and items_limit interacts with the returned next_offset for paging. id_or_key and strip_html semantics are left to the schema, which fully documents them.

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+resource ('One discussion by numeric id or short key') and immediately notes the single-item scope vs. the batched variant. It is instantly distinguishable from list_discussions, get_thread_markdown, and the create/update/delete siblings.

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

Usage Guidelines4/5

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

Explicitly routes to two alternatives: get_thread_markdown for prose and list_discussions for a group's threads. The conditions are stated but in compressed telegraphic form ('Prose: get_thread_markdown'), leaving the agent to infer exactly when markdown beats the HTML body.

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