Skip to main content
Glama

get_backlinks

Read-only

Lists incoming or outgoing links for a Docmost page using its UUID or slug ID, with optional limit and cursor for pagination.

Instructions

List incoming or outgoing page links.

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": {
      "page_id": "<page_id>",
      "direction": "<direction>"
    },
    "name": "get_backlinks"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNometa.nextCursor
page_idYesUUID or slugId
directionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint:true, so safety is covered, but the description adds essentially nothing beyond them. It says nothing about pagination behavior despite limit and cursor parameters, nor about what a link record contains or whether inaccessible links are omitted.

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?

A single front-loaded sentence with no filler, which is efficient. It is arguably too terse for a four-parameter tool, but nothing is wasted.

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

Completeness3/5

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

For a read-only list tool with no output schema, the definition covers the core purpose but leaves pagination, ordering, and result shape unexplained. An agent could call it, but only by guessing at limit/cursor semantics.

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

Parameters2/5

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

With only 50% schema coverage, the description should compensate, but it only restates the direction enum values and never clarifies that page_id identifies the page whose links are listed, how limit caps results, or how cursor is obtained.

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?

"List incoming or outgoing page links" gives a specific verb (List) and resource (page links) plus the direction axis, so an agent understands the operation. It does not distinguish itself from adjacent siblings like get_breadcrumbs or list_child_pages, which also return structural relationships.

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

Usage Guidelines3/5

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

The incoming/outgoing phrasing implies the use case (finding what a page references versus what references it), but there is no explicit when-to-use guidance, no prerequisites, and no named alternative for related needs such as hierarchy traversal.

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