Skip to main content
Glama

mark_conversation_read

DestructiveIdempotent

Marks one conversation as read for a student via a two-phase preview-and-confirm flow: get a preview and short-lived token, then confirm only after explicit user approval.

Instructions

Mark one conversation the student belongs to as read. Two-phase: without confirmationToken this returns a preview and a short-lived token and does not write. Show that preview to the user and send the token only after they explicitly approve. Do not confirm on your own.

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": {
      "courseId": "<courseId>",
      "conversationId": "<conversationId>"
    },
    "name": "mark_conversation_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
courseIdYes
conversationIdYes
confirmationTokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations, the description discloses a critical behavioral contract: the first call does not write, returns a preview and short-lived token, and the agent must obtain explicit user approval before confirming. This is exactly the kind of workflow context an agent needs for a mutation tool.

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 sentences, front-loaded with the action and followed by the confirmation workflow. Every sentence adds operational value with no wasted wording.

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 write tool with a two-phase confirmation flow, the description covers the essential workflow and the no-write-without-token behavior. It does not specify what the preview contains or the token lifetime beyond 'short-lived,' but the core calling requirements are present.

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 0%, so the description must carry parameter meaning. It explains confirmationToken's role well, but courseId and conversationId are only implicitly defined by the scope phrase 'one conversation the student belongs to' and remain otherwise undocumented.

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 states a specific verb and resource: mark one conversation as read, scoped to a conversation the student belongs to. It is easily distinguishable from notification-marking siblings by resource, though it does not explicitly name an alternative tool.

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?

It clearly explains the two-phase usage: call without confirmationToken to get a preview, show it to the user, and send the token only after explicit approval. It does not name alternative tools or describe when not to use this one, but the key operational guidance is explicit.

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