Skip to main content
Glama

get_message

Read-only

Reads a complete message thread using a message ID and thread ID from a message list, marking the message as read; include a child when multiple children are linked.

Instructions

Read one message thread in full. Get message_id and thread_id from list_messages. Opening a message marks it as read in the Skolemelding app. child is required when several children are linked.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "message_id": "<message_id>",
      "thread_id": "<thread_id>"
    },
    "name": "get_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
childNo
thread_idYes
message_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, openWorldHint), and the description adds a side effect not present in structured data: opening a message marks it as read in the Skolemelding app. That is genuinely useful information an agent could not infer elsewhere, though it could be clearer that this is an irreversible state change.

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?

Three short sentences, front-loaded with the core action, followed by prerequisite and side effect in descending order of importance. No filler or restatement of the name.

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?

With no output schema, the description partially compensates by implying the full thread contents are returned. Combined with the read side effect and ID sourcing, this covers what an agent needs to call it correctly, though return shape and error behavior remain implicit.

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 0%, so the description must carry the load, and it explains the provenance of both required IDs and the conditional nature of `child`. It still doesn't say what form the IDs take (numeric, opaque string) or what a null `child` does when only one child is linked, leaving a small gap.

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 one message thread in full") and immediately distinguishes itself from the sibling list_messages by describing that one as the source of the IDs. An agent can tell which tool returns a full thread versus a listing without inspecting either schema.

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?

Gives concrete routing guidance (obtain message_id and thread_id from list_messages) and a conditional prerequisite (`child` is required when several children are linked). It does not spell out when not to use it, e.g. that attachments should go through get_attachment, so it stops short of full exclusions.

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