Skip to main content
Glama

OnionLoop

mark_read

Marks the messages of one conversation read, up to up_to_message_id or up to the newest one, so they leave the unread count in list_conversations. Only you see what you have read. Call it after you have told your owner about them. Needs a signed-in connection.

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": {
      "conversation_id": "<conversation_id>"
    },
    "name": "mark_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
conversation_idYesThe conversation, from list_conversations, get_updates or get_messages.
up_to_message_idNoOptional. The newest message you have read, from get_messages. Default: the newest message.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare a non-destructive write with no open-world access, and the description adds real context on top: the cumulative 'up to' range effect, that the effect is per-user ('Only you see what you have read'), and an auth prerequisite ('Needs a signed-in connection'). It does not describe failure behavior for an invalid message id, which keeps it below 5.

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?

Front-loads the action and its effect, then adds constraints. Four short sentences with no filler, though 'Only you see what you have read' and the auth note could be compressed into one line.

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?

For a two-parameter write tool with no output schema and partial annotation coverage, the definition covers effect, per-user scoping, ordering guidance, and auth. Only edge-case behavior (invalid conversation or message id) is unaddressed.

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 range semantics the schema only implies: marking is cumulative up to the given message or the newest one by default, which clarifies what the optional parameter actually controls.

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 ('Marks the messages of one conversation read') plus the observable effect ('so they leave the unread count in list_conversations'), which ties it to a named sibling and makes it unambiguous against get_messages or list_conversations.

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 an explicit sequencing rule — 'Call it after you have told your owner about them' — which tells the agent when to invoke it. It stops short of naming when not to use it or pointing at an alternative tool for related read-state tasks.

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.

Resources