Skip to main content
Glama

Mark role messages read

mark_messages_read
Idempotent

Mark a role's messages read: message_ids, or everything up to and including up_to_id.

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": {
      "role": "<role>"
    },
    "name": "mark_messages_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYesRole name (list_roles).
up_to_idNo
project_idNo
message_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / project_id / description
      Removed value: -"Workspace to work in (from list_projects). Leave out for the default one."
    • changedInput schema / properties / role / description
      Previous value: -"The role's name (from list_roles), e.g. 'manager'."New value: +"Role name (list_roles)."
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already establish this is a non-destructive, idempotent mutation (readOnlyHint=false, destructiveHint=false, idempotentHint=true), so the safety profile is covered. The description usefully adds that up_to_id is inclusive ('up to and including'), which is real semantic detail beyond structured data, but it is silent on the no-target case and on whether already-read messages cause errors or silent no-ops.

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?

A single compact sentence with the resource and both modes front-loaded; every clause carries information. The colon-based structure is readable, though the phrasing 'Mark a role's messages read: message_ids' is slightly elliptical and could confuse a fast reader.

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 4-parameter write tool with no output schema, the description covers the core behavior and the inclusive-boundary semantics but omits project scoping and the fallback when no message selector is given. Those gaps matter because the tool returns nothing to disambiguate behavior after the fact.

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 only 25% (only 'role' is documented, referencing list_roles), so the description carries real load. It clarifies the meaning of message_ids and up_to_id including the inclusive boundary, but leaves project_id entirely unexplained and does not resolve whether message_ids and up_to_id can be combined or what precedence 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 ('Mark') and resource ('a role's messages read') plus the two selection modes, so the intent is unambiguous. It doesn't distinguish itself from read_messages or explain how the read-state change interacts with that sibling, so it stops short of 5.

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

Usage Guidelines3/5

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

The phrase 'message_ids, or everything up to and including up_to_id' implies two mutually exclusive calling modes, which is useful implied guidance. It never states when to prefer one mode, what happens if both are supplied, or what happens if neither is supplied (only role is required), leaving the key selection decision to inference.

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.