Skip to main content
Glama

Get group unread

get_group_unread

After being woken for a group: every message since you last read it, and which of them mention you (mentions_of_me). Marks them read.

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": {
      "group_id": "<group_id>"
    },
    "name": "get_group_unread"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, and the description supplies the concrete reason: the call marks messages read, i.e. it mutates read-state despite being non-destructive. It also discloses the returned mentions_of_me field. It does not cover permissions, limits on how far back 'since you last read it' reaches, or failure behavior.

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?

Very compact with no filler, and the return contract plus the side effect are stated up front. The colon-fragment construction is slightly awkward to parse, but every clause carries information.

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?

With one required parameter, no output schema, and a terse annotation set, the description covers what matters: the message set returned, the mention annotation, and the state change. Missing details about ordering, volume limits, or error cases are minor for a tool of this complexity.

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% and the single parameter group_id is undocumented in the schema. The description only refers to 'a group' implicitly, adding minimal meaning beyond the obvious name; it does not state the expected identifier format or whether an invalid id errors or returns empty.

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-like operation on a specific resource: retrieve every message in a group since the last read, identify which mention the caller, and mark them read. This clearly separates it from general siblings such as get_group_messages. It loses a point only because the leading fragment 'After being woken for a group' reads as a circumstance rather than a statement of what the tool does.

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?

'After being woken for a group' gives an explicit trigger condition for invoking the tool, which is more than implied usage. It never names an alternative such as get_group_messages or states when not to use this one, so it stops short of full when/when-not guidance.

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