Skip to main content
Glama

Agentline NZ: email inboxes for AI assistants

Mark messages read or unread

mark_read
Idempotent

Mark emails (ids from list_emails) as read, or unread with read=false. Listing and reading never change read state, so call this once you've dealt with an email; list_emails takes unread_only. Up to 100 ids.

Input Schema

NameRequiredDescriptionDefault
idsYesEmail ids
readNotrue to mark read (default), false to mark unread

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / ids / description
      Previous value: -"SMS and/or email ids"New value: +"Email ids"
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover idempotency (idempotentHint=true), non-destructiveness, and non-read-only status. The description adds genuinely new context: listing and reading never change read state, so this is the only way to mutate read status, plus a 100-id cap. It doesn't address side effects like notifications, so not a full 5.

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?

Two dense sentences, front-loaded with the operation and the id source, followed by the usage rationale. No filler.

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 mutation tool with rich annotations and no output schema, the description covers purpose, timing, defaults, and limits. Only minor gaps remain (no mention of error behavior for invalid ids), which is acceptable here.

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 100%, and both parameters are documented there (read defaults true, ids are email ids, maxItems 100). The description restates read=false and the 100-id limit but adds no syntax or format meaning beyond the schema, so baseline 3 applies.

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 (mark) and resource (emails) and explicitly ties the ids to their source (list_emails). The distinction from read_email and list_emails is clear without opening any schema.

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

Usage Guidelines5/5

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

Gives explicit timing ('call this once you've dealt with an email') and explains why reads don't require it, plus points to list_emails' unread_only for filtering. This is actionable when-to-use guidance with a named alternative.

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