Skip to main content
Glama

Review sampled link graph, crawl depth and possible orphans

review_internal_link_graph
Read-onlyIdempotent

V06: compare up to eight caller-supplied same-origin static page observations (including navigation anchors), optional entry roots and up to 256 previously observed sitemap labels; or sample robots.txt and up to three guarded same-origin HTML pages. Reports sample-only shortest depths, missing inbound links, potential orphan leads, nofollow-only paths, and independently observed blocked/HTTP-error/noindex/noncanonical targets. Never assumes unsampled pages are orphans or verifies Google indexing. No raw URLs/HTML, JavaScript, GSC, storage, crawler impersonation or full-site crawl.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "review_internal_link_graph"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoLive: one authorized public query-free entry URL; bounded robots.txt and up to three HTML page fetches.
pagesNoOffline: one to eight previously observed HTML/status/robots/canonical page records.
site_urlNoOffline: exact-origin site URL; no network requests.
entry_urlsNoOptional entry roots; by default only an included site homepage is used.
sitemap_urlsNoOptional independent sitemap URL observations, never fetched or called confirmed orphans.

Output Schema

NameRequiredDescriptionDefault
errorNo
pagesYes
scopeYes
findingsYes
overviewYes
limitationsYes
pages_observedYes
total_findingsYes
coverage_limitedYes
findings_truncatedYes
entry_pages_missingYes
html_pages_examinedYes
entry_pages_observedYes
robots_unknown_pagesYes
status_unknown_pagesYes
sitemap_urls_providedYes
external_links_observedYes
internal_links_observedYes
linked_http_error_pagesYes
nofollow_internal_linksYes
linked_noncanonical_pagesYes
pages_with_truncated_linksYes
deep_pages_at_three_or_moreYes
linked_robots_blocked_pagesYes
sampled_pages_not_in_sitemapYes
unique_observed_sample_edgesYes
deepest_observed_sample_depthYes
linked_declared_noindex_pagesYes
pages_reachable_within_sampleYes
unsafe_or_query_links_excludedYes
distinct_unsampled_link_targetsYes
pages_unreachable_within_sampleYes
potential_orphans_within_sampleYes
sitemap_urls_without_page_sampleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already cover the read-only/idempotent/non-destructive/open-world profile, yet the description adds substantive behavior: fetch bounds (robots.txt plus at most three guarded same-origin HTML pages), no raw URLs or HTML returned, no JavaScript/GSC/storage/crawler impersonation, and the explicit non-claim that unsampled pages are orphans or that Google indexing was verified. These are exactly the limits an agent needs to avoid overstating results.

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?

Three sentences, front-loaded with the two modes and followed by outputs then hard limits — efficient and scannable. The leading 'V06:' token and heavy noun-stacking ('guarded same-origin HTML pages', 'independently observed blocked/HTTP-error/noindex/noncanonical targets') cost some readability without adding meaning.

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?

An output schema exists, so return values need not be explained, and the description covers inputs, fetch limits, and the honesty caveats about sampling. What remains thin is positioning relative to sibling link/sitemap/crawler-access tools, which for a 5-parameter tool with overlapping scope would help an agent choose correctly.

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 description coverage is 100%, so the schema already explains `url`, `pages`, `site_url`, `entry_urls` and `sitemap_urls`. The description restates the cardinalities (eight pages, 256 sitemap labels, three HTML fetches) and reiterates that sitemap URLs are never fetched, which is marginally useful but largely duplicative. Baseline 3 applies.

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?

States a specific verb+resource pair ('compare ... page observations' / 'sample robots.txt and up to three ... HTML pages') and names the analytical outputs (shortest depths, missing inbound links, orphan leads, nofollow-only paths). The two operating modes are distinguishable. It stops short of differentiating itself from the sibling review_internal_links, so an agent must infer the boundary between 'link graph review' and 'internal links review'.

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?

Usage is implied by the mode structure: supply `pages`/`site_url` for offline comparison, or `url` for a bounded live sample. The explicit exclusions ('no ... full-site crawl') set an outer bound but give no when-not or 'use sibling X instead' routing, which matters given the many review_*/audit_* siblings.

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.