Skip to main content
Glama

get_backlinks_count

Read-only

Count incoming and outgoing links for a page without listing them, returning backlink totals from a page UUID or slugId so you can assess page connectivity quickly.

Instructions

Count incoming and outgoing links for a page without listing them.

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>"
    },
    "name": "get_backlinks_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_idYesUUID or slugId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

readOnlyHint=true already establishes this is a safe read. The description adds only that results are not enumerated, which hints at a lightweight response, but it says nothing about permissions, whether incoming/outgoing are returned as separate fields, or any cost/pagination 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?

One short sentence with the scope front-loaded and no filler. It is efficient, though the trailing 'without listing them' is doing double duty as the only usage guidance.

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?

With no output schema, the description should clarify the return shape — whether incoming and outgoing counts come back as separate fields or an aggregate — and it does not. Adequate for a one-parameter read tool, but the return contract is left ambiguous.

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?

There is a single parameter with 100% schema description coverage ('UUID or slugId'), so the schema carries parameter semantics fully. The description adds no syntax or format detail beyond it, making baseline 3 appropriate.

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?

Names a specific verb (count) and a specific resource (incoming and outgoing links for a page), and the clause 'without listing them' distinguishes it from the listing sibling get_backlinks. An agent can tell exactly what this returns versus the list variant.

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?

'Without listing them' implies the use case (you only need totals, so use this rather than a listing call), but the description never names an alternative or states explicit exclusions or prerequisites. Usage is inferable rather than stated.

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