Skip to main content
Glama

list_message_backlinks

Read-onlyIdempotent

Retrieve incoming backlinks for a message, including reverse relations, pins, reactions, and votes, to audit references and engagement. Mentions are excluded.

Instructions

Incoming pointers at a message: RelationKind reverse edges plus pins, reactions, and votes. Mentions are outgoing and omitted. Works on a retained tombstone; fails not-found after hard purge. Twin of GET /messages/{id}/backlinks. Requires workspace: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": {
      "message_id": "<message_id>"
    },
    "name": "list_message_backlinks"
  }
}

Input Schema

NameRequiredDescriptionDefault
message_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare read-only/idempotent/non-destructive, and the description adds substantial context beyond them: lifecycle behavior on tombstones, the not-found outcome after hard purge, the exact permission required, and the REST twin. These are the operational details an agent needs before calling.

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?

Four dense sentences, front-loaded with the returned content, then exclusions, then lifecycle, then permissions. No filler; each clause carries distinct 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 single-parameter read tool with no output schema, the description covers what is returned, what is excluded, failure conditions, and auth. It stops short of describing result ordering, pagination, or the shape of edge/pin/reaction entries, which an agent might want.

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 0% for the single message_id parameter, so the description would need to compensate; it only implies the id refers to a message via the 'GET /messages/{id}/backlinks' twin reference. It does not state format (UUID) or whether the id must be a live vs. tombstoned message.

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 resource and direction precisely: 'Incoming pointers at a message: RelationKind reverse edges plus pins, reactions, and votes.' It explicitly bounds the concept by excluding outgoing mentions, so an agent knows exactly what this returns versus a mentions/outgoing-graph 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?

Gives clear usage context: works on a retained tombstone, fails not-found after hard purge, and requires workspace:read. It also clarifies the inclusion/exclusion rule (mentions omitted). It does not explicitly name a sibling tool to use instead for outgoing edges, keeping it just short of a 5.

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