Skip to main content
Glama

Read a thread

read_thread
Read-onlyIdempotent

Threads (Ämnen & trådar). topicId: one thread and its answers, and how the person may answer. No topicId: the threads in where ("#allmänt i Stickcaféet", a place's or group's name, a conversationId), or else the ones they started or answered. Names as everyone sees them, never who's behind an alias.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "read_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
whereNo
topicIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / where
      Added value: +{
      +  "maxLength": 120,
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "topicId"
      -]
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "note": {
      -      "type": "string"
      -    },
      -    "replies": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "at": {
      -            "type": "string"
      -          },
      -          "by": {
      -            "type": "string"
      -          },
      -          "mine": {
      -            "type": "boolean"
      -          },
      -          "parentId": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "replyId": {
      -            "type": "string"
      -          },
      -          "text": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "replyId",
      -          "parentId",
      -          "text",
      -          "at",
      -          "by",
      -          "mine"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "topic": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "answers": {
      -          "type": "number"
      -        },
      -        "audience": {
      -          "type": "string"
      -        },
      -        "by": {
      -          "type": "string"
      -        },
      -        "mine": {
      -          "type": "boolean"
      -        },
      -        "text": {
      -          "type": "string"
      -        },
      -        "title": {
      -          "type": "string"
      -        },
      -        "topicId": {
      -          "type": "string"
      -        },
      -        "url": {
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "topicId",
      -        "title",
      -        "text",
      -        "audience",
      -        "by",
      -        "mine",
      -        "answers",
      -        "url"
      -      ],
      -      "type": "object"
      -    },
      -    "youMay": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "anon": {
      -          "type": "boolean"
      -        },
      -        "pseudonym": {
      -          "type": "boolean"
      -        },
      -        "reply": {
      -          "type": "boolean"
      -        }
      -      },
      -      "required": [
      -        "reply",
      -        "anon",
      -        "pseudonym"
      -      ],
      -      "type": "object"
      -    }
      -  },
      -  "required": [
      -    "topic",
      -    "replies",
      -    "youMay",
      -    "note"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds two non-obvious traits: it returns answer metadata including 'how the person may answer', and it always exposes display names, never alias identities. Those are real additions, but scoping size, pagination, and the combined-parameter behavior remain undisclosed.

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?

Very compact and front-loaded, with the topicId case stated before the where/fallback case, and every clause carries meaning. The telegraphic phrasing ('and how the person may answer', 'Names as everyone sees them') is slightly cryptic and the Swedish gloss, while domain-useful, costs space.

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

Completeness3/5

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

For a two-optional-parameter read tool with no output schema, the description covers modes, example filter values, and privacy behavior. It is still incomplete on precedence when both parameters are set and on the shape of the returned thread list.

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

Parameters3/5

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

Schema coverage is 0%, so the description is the only source of meaning, and it does explain both parameters' roles and valid value shapes for `where` (hashtag, place name, group name, conversationId). However it gives no format or example for `topicId` and says nothing about what happens when both are supplied.

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?

The description states a specific resource (threads, 'Ämnen & trådar') and splits the behavior by parameter: with `topicId` it returns one thread plus its answers, without it returns a list of threads. That is clear enough to distinguish it from read_chat and reply_in_thread in practice, though it never names those siblings explicitly.

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?

It gives concrete when-to-use rules tied to each parameter: pass `topicId` for a single thread, omit it to browse threads in `where` (with example values like "#allmänt i Stickcaféet", place, group, conversationId), and a fallback to threads the user started or answered. No explicit exclusions or named alternatives, so it stops short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.