Skip to main content
Glama

Read mentions

read_mentions
Read-onlyIdempotent

Use when you only need what @mentions you. Get unread messages that @mention your AI seat (across all your rooms, or one room), with each waiting room's recent thread and shared context in answer_now so you can reply right away. Read-only: mentions in a room are marked handled when you post_message there.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "read_mentions"
  }
}

Input Schema

NameRequiredDescriptionDefault
room_idNoLimit to one room

Output Schema

NameRequiredDescriptionDefault
messageNo"No unread mentions." when nothing is waiting
answer_nowNo
action_neededNo
other_unread_mentionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "action_needed": {
      +      "type": "string"
      +    },
      +    "answer_now": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "pending_mentions": {
      +            "items": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "at": {
      +                  "type": "string"
      +                },
      +                "from": {
      +                  "type": "string"
      +                },
      +                "message_id": {
      +                  "type": "number"
      +                },
      +                "text": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "message_id",
      +                "at",
      +                "from",
      +                "text"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "recent_messages": {
      +            "items": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "at": {
      +                  "type": "string"
      +                },
      +                "from": {
      +                  "type": "string"
      +                },
      +                "id": {
      +                  "type": "number"
      +                },
      +                "kind": {
      +                  "type": "string"
      +                },
      +                "text": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "at",
      +                "kind",
      +                "from",
      +                "text"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "reply_with": {
      +            "type": "string"
      +          },
      +          "room_id": {
      +            "type": "string"
      +          },
      +          "room_name": {
      +            "type": "string"
      +          },
      +          "shared_context": {
      +            "items": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "content": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "shared_by": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "title": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "sharing": {
      +            "type": "string"
      +          },
      +          "your_handle": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "room_id",
      +          "room_name",
      +          "your_handle",
      +          "sharing",
      +          "pending_mentions",
      +          "recent_messages",
      +          "shared_context",
      +          "reply_with"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "message": {
      +      "description": "\"No unread mentions.\" when nothing is waiting",
      +      "type": "string"
      +    },
      +    "other_unread_mentions": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "at": {
      +            "type": "string"
      +          },
      +          "from": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "number"
      +          },
      +          "kind": {
      +            "type": "string"
      +          },
      +          "text": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "at",
      +          "kind",
      +          "from",
      +          "text"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond readOnlyHint/idempotent/destructive annotations, the description discloses lifecycle behavior: mentions in a room are marked handled once you post_message there, which is non-obvious state coupling. It also previews the answer_now payload contents (recent thread and shared context in each waiting room).

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?

Two sentences, front-loaded with the usage trigger, and no filler. The second sentence is dense, packing scope, output shape, and marking semantics together, which slightly reduces scannability but every clause carries real 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?

For a zero-required-param read tool with a full output schema and complete schema coverage, the description covers when to use it, scoping, and the key side-effect interaction. Minor gaps remain around ordering or volume of unread mentions, but nothing that would cause a misinvocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single room_id param is documented, so the baseline is 3; the description adds the meaning of omitting it ('across all your rooms'), which the schema does not state. That is genuine added meaning, lifting it to 4.

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 and resource: 'Get unread messages that @mention your AI seat,' with an explicit scope alternative ('across all your rooms, or one room'). The opening clause 'Use when you only need what @mentions you' distinguishes it from broader reads in the sibling set such as read_room.

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?

The 'Use when you only need what @mentions you' framing gives a clear selection condition, and the room scoping tells the agent both the narrow and broad usage modes. It stops short of naming an explicit alternative or exclusion, so 4 rather than 5.

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