Skip to main content
Glama

Mark conversation read

swarm_mark_thread_read
Idempotent

Mark entries consumed through entry_id from swarm_read_thread (view=entries) for this connection only. Content and other readers are unchanged.

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": {
      "thread_id": "<thread_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "swarm_mark_thread_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
entry_idNoEntry ID from swarm_read_thread (view=entries).
thread_idYesThread ID from swarm_inspect_space (view=conversation).
idempotency_keyYesReuse for identical retries; new key for changes.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / entry_id / description
      Previous value: -"Entry ID from swarm_list_conversation_entries."New value: +"Entry ID from swarm_read_thread (view=entries)."
    • changedInput schema / properties / thread_id / description
      Previous value: -"Thread ID from swarm_get_conversation."New value: +"Thread ID from swarm_inspect_space (view=conversation)."
  2. Changed1 schema field changed
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"Same key for identical retries."New value: +"Reuse for identical retries; new key for changes."
  3. Changed3 schema fields changed
    • addedInput schema / properties / entry_id / description
      Added value: +"Entry ID from swarm_list_conversation_entries."
    • addedInput schema / properties / idempotency_key / description
      Added value: +"Same key for identical retries."
    • addedInput schema / properties / thread_id / description
      Added value: +"Thread ID from swarm_get_conversation."
  4. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive, so the description focuses on what matters more: the mutation is scoped to this connection's read state and leaves content and other readers unchanged. That is genuine behavioral context beyond the annotations. It stops short of describing what happens on repeat calls or whether read state can be unset.

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 short sentences with the scope constraint front-loaded and the non-impact reassurance second; every clause carries information. Slightly compressed to the point of ambiguity in 'entries consumed through entry_id', which reads awkwardly.

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?

Annotations cover safety and an output schema exists, so the description's main remaining burden is scope and prerequisites, which it largely meets. Still missing is any statement about the effect of an already-read entry, the meaning of the plural 'entries', or how the idempotency_key interacts with repeated marking — reasonable gaps for a small mutation tool but not trivial ones.

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 description coverage is 100%, so all three parameters — including the idempotency_key retry semantics — are already documented in structured fields. The description adds nothing about parameter form beyond restating the source of entry_id, and its wording ('entries' plural through a singular entry_id) introduces mild ambiguity about whether one or many entries are marked. Baseline 3 applies.

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 ('mark entries consumed') and ties the target to an upstream producer ('entry_id from swarm_read_thread (view=entries)'), which clearly distinguishes it from the read tool. It does not, however, explicitly contrast itself with any sibling beyond that source reference, so the differentiation is implied rather than declared.

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 a clear context of use: call it after swarm_read_thread with view=entries, passing the entry_id. The scope qualifier 'for this connection only' further tells the agent when the effect applies. No explicit when-not-to-use or named alternatives are provided, which keeps it 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.