Skip to main content
Glama

record_mention

Records a member mention in a message when no @handle text is present, adding it to their mentions and notifications and waking any wait_for_mention.

Instructions

Record that a member is mentioned in a message, for a mention that is not written as an @handle in the text. The mention appears in the member's list_mentions and notifications and wakes any wait_for_mention on them; a mention_recorded event is emitted on every call, though a repeat keeps one mention row. Posting a message that contains @handle text already records those mentions, so use this only for explicit extra mentions. The member must belong to the message's workspace, otherwise the call is not found. Requires workspace:write.

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": {
      "message_id": "<message_id>",
      "member_id": "<member_id>"
    },
    "name": "record_mention"
  }
}

Input Schema

NameRequiredDescriptionDefault
member_idYesUUID of the member being mentioned. It must be a member of the same workspace as the message.
message_idYesUUID of the message that mentions the member. The caller must be able to read it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv479.0.2
    • addedInput schema / properties / member_id / description
      Added value: +"UUID of the member being mentioned. It must be a member of the same workspace as the message."
    • addedInput schema / properties / message_id / description
      Added value: +"UUID of the message that mentions the member. The caller must be able to read it."
  2. First observedv479.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say readOnly=false, idempotent=false, destructive=false, so the description does the real work: it names the downstream effects (appears in list_mentions and notifications, wakes wait_for_mention), discloses that a mention_recorded event fires on every call while a repeat collapses to one mention row, states the failure mode for cross-workspace members, and names the required scope workspace:write. That is exactly the kind of consequence detail annotations cannot carry, and the 'event every call, one row' note is consistent with idempotentHint=false rather than contradicting it.

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?

Front-loaded with purpose and scope, then effects, then caveat, then auth — a sensible order with no filler sentences. It is somewhat dense at four clauses, and 'otherwise the call is not found' is an awkward way to say a 404/not-found error, which slightly hurts scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter write with no output schema, the description covers everything an agent needs: when it applies, what side effects it produces, what it does on repeat, how it fails, and what scope it requires. Nothing material about invoking it correctly is left unspecified.

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 properties are already described, including the same-workspace constraint on member_id. The description restates the workspace constraint without adding format, ordering, or edge-case meaning beyond the schema, so this is baseline-3 territory.

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 ('Record that a member is mentioned in a message') and immediately narrows the scope to mentions that are not written as @handle text. That scope sentence alone lets an agent separate this from ordinary message posting and from list_mentions/wait_for_mention siblings.

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 an explicit when-not: 'Posting a message that contains @handle text already records those mentions, so use this only for explicit extra mentions.' It also states the workspace-membership precondition that makes the call fail. The agent has both the trigger and the exclusion.

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

Deploy Server

Other Tools