Skip to main content
Glama

Review sampled internal links and accessible anchor labels

review_internal_links
Read-onlyIdempotent

Offline, bounded analysis of 1-8 caller-supplied same-origin HTML pages. Looks at contextual same-origin links, missing accessible names, generic anchors, repeated target labels, internal nofollow, and lexical overlap with supplied target titles/H1. Unknown URLs remain unverified, not broken. No requests, crawls, search analytics, JavaScript or ranking inference.

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": {
      "pages": "<pages>"
    },
    "name": "review_internal_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagesYesOne to eight authorized same-origin static HTML page samples, distinct URL labels and combined limit 900,000 UTF-8 bytes; none are fetched.

Output Schema

NameRequiredDescriptionDefault
errorNo
pagesYes
scopeYes
originYes
findingsYes
overviewYes
self_linksYes
limitationsYes
pages_sampledYes
pages_eligibleYes
total_findingsYes
coverage_limitedYes
findings_truncatedYes
fragment_only_linksYes
generic_anchor_linksYes
linked_sample_targetsYes
missing_anchor_labelsYes
skipped_non_http_linksYes
external_links_observedYes
internal_links_observedYes
nofollow_internal_linksYes
unmatched_internal_linksYes
excluded_navigation_linksYes
low_heading_overlap_linksYes
ambiguous_anchor_target_groupsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/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 bar is low, yet the description still adds real behavioral context: fully offline, no JS execution, bounded input, and no ranking inference. The most valuable line is "Unknown URLs remain unverified, not broken," which prevents an agent from misreading the output as broken-link results. It does not speak to runtime, determinism of ordering, or failure behavior.

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?

Two dense sentences with the scope constraint front-loaded and zero filler. Every clause either defines coverage or excludes a mistaken expectation, and the interpretive caveat lands last where it is most useful.

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?

With an output schema present, the description needn't explain return values, and annotations cover the safety profile; what remains is scope, exclusions and interpretation, all of which are addressed. Minor gaps are the absence of any guidance on input quality (e.g., pages that are not truly same-origin) or on how partial sampling affects conclusions.

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%, including the same-origin, byte-limit and count constraints, so the schema carries the parameter burden. The description reinforces the key constraints (1-8, caller-supplied, same-origin) but adds little new semantics such as what counts as a valid sample or how URLs are normalized for comparison. Baseline 3 is appropriate.

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?

The description names a concrete scope ("offline, bounded analysis of 1-8 caller-supplied same-origin HTML pages") and enumerates the exact signals checked: contextual links, missing accessible names, generic anchors, repeated target labels, internal nofollow, and lexical overlap with supplied target titles/H1. That is well beyond a restated title. It stops short of naming a sibling, though the "no requests, crawls" framing implicitly separates it from live link-checking tools.

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 rather than stated: an agent can infer this is the tool for static, already-obtained HTML rather than live fetching. The negative scope ("No requests, crawls, search analytics, JavaScript or ranking inference") usefully rules out adjacent use cases, but there is no explicit when-to-use/when-not framing or named alternative such as check_broken_links.

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.