Skip to main content
Glama

Read internal links

read_site_links
Read-onlyIdempotent

Read the internal links of crawled pages: per page, inbound and outbound link counts (overall and in main content) and nofollow inbound links, click depth from the home page, a bounded sample of the pages linking to it and linked from it with their anchors, and anchor diagnostics. Use it to find orphaned or buried pages. Pass up to 10 site_url_ids from read_site_pages to read those pages in one call (with smaller neighbor samples and anchor diagnostics counted by kind); missing_site_url_ids lists any without link metrics in this crawl (for example a page that was not analyzed). Otherwise rows come in pages; pass next_cursor for more. unavailable no_site_crawl means no crawl exists. Use read_site_pages for page scores and issues. view analyses gives the internal-link analyses with their ids and state, latest first.

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": {
      "project_id": "<project_id>"
    },
    "name": "read_site_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNopages (the default) or analyses.pages
limitNoHow many rows to return; omit for the default page size.
cursorNoThe next_cursor a previous page returned.
crawl_idNoA crawl id that read_site_health returned; omit for the latest crawl.
project_idYesA project id that list_projects returned.
site_url_idsNoPage ids (site_url_id) from read_site_pages; omit to page through every page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / view
      Added value: +{
      +  "default": "pages",
      +  "description": "pages (the default) or analyses.",
      +  "enum": [
      +    "pages",
      +    "analyses"
      +  ],
      +  "type": "string"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"How many rows to return; omit for the default page size."
    • addedInput schema / properties / project_id / description
      Added value: +"A project id that list_projects returned."
    • addedInput schema / properties / site_url_ids / description
      Added value: +"Page ids (site_url_id) from read_site_pages; omit to page through every page."
  3. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile needs no restating. The description does add real behavioral context beyond that: batching up to 10 ids changes the shape of results (smaller neighbor samples, anchor diagnostics counted by kind), missing ids are reported separately, and an 'unavailable no_site_crawl' condition is named. However, it does not state rate limits, result size limits, or cost differences between the pages and analyses views, so it is useful but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is front-loaded with the returned metrics first and the alternatives last, which is the right order. But it is a dense block of long compound sentences, and the batching sentence in particular packs four distinct behaviors into one clause chain, making it harder to scan than it needs to be.

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?

There is no output schema, so the description carries the burden of explaining returns, and it does: per-page metrics, neighbor samples, diagnostics, pagination via next_cursor, missing ids, and the no_site_crawl error. What keeps it from a 5 is the absence of any guidance on result volume or how the analyses view differs structurally from the pages view.

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%, so all six parameters are already documented in structured fields, which sets the baseline at 3. The description adds some meaning the schema lacks, notably that site_url_ids is capped at 10 for batching and that doing so degrades neighbor samples, plus that view=analyses returns analyses 'latest first' with ids and state. Those are genuine additions but they are partial, so a 3 rather than a 4 is warranted.

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 and resource ('Read the internal links of crawled pages') and then enumerates the exact metrics returned: inbound/outbound counts, main-content counts, nofollow inbound, click depth, neighbor samples with anchors, and anchor diagnostics. It also explicitly separates itself from read_site_pages ('for page scores and issues'), so an agent can distinguish the two without opening either schema.

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 a concrete use case ('find orphaned or buried pages') and names the alternative for a different need ('Use read_site_pages for page scores and issues'). It also routes the analyses view to this same tool and explains when to batch versus page, covering both when-to-use and when-not-to-use.

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