Skip to main content
Glama

mark_session_unread

Mark a finished, read session as unread so it stays in the user's inbox; use it to keep completed routine sessions visible for follow-up.

Instructions

Mark a finished, read session as unread so it stays in the user's inbox.

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": {
      "id": "<id>"
    },
    "name": "mark_session_unread"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe routine's id, such as weekly-report.
sessionNoA session id; the latest session when left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the state transition and its user-visible effect ("stays in the user's inbox"), but says nothing about permissions, idempotency, whether reopening an unread session reverses it, or the response. That leaves meaningful gaps for a mutation tool with zero annotation coverage.

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?

A single front-loaded sentence with no filler; the precondition and the effect are both stated concisely. Nothing could be removed without losing information.

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 simple two-parameter state toggle with no output schema, the description covers the core action and outcome adequately. It is still thin on failure modes and on how this tool relates to its siblings, which an agent would need to route correctly between read and unread operations.

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%, with both parameters (id and optional session) documented in the schema, so the baseline is 3. The description adds no meaning beyond that and does not mention the optional session parameter or which session defaults to latest.

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 names a specific verb and resource ("Mark a ... session as unread") and states the resulting state, so it is clearly distinguishable from the inverse mark_session_read by name alone. It stops short of explicitly naming that sibling or contrasting the two, so it falls just short of a 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 precondition "a finished, read session" implies when the tool applies, which is useful context. However, there is no explicit statement of when not to use it, no pointer to mark_session_read for the reverse operation, and no guidance on what happens if the session is not currently read.

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