Skip to main content
Glama
OrtaMarco

seo-geo-mcp-server

by OrtaMarco

Link Audit

link_audit
Read-onlyIdempotent

Audits outbound links on a page, reporting internal/external split, rel attributes, anchor text quality, and external domain distribution. Optionally checks sampled links for broken ones.

Instructions

Audit a page's outbound links: the internal/external split, rel attributes (nofollow, sponsored, ugc), links with no anchor text at all, generic anchor text ("click here", "leer más") that carries no topical signal, and the distribution of external domains. Optionally sample-verifies that links actually resolve, retrying with GET when a server rejects HEAD.

Args:

  • url (string): the page to audit.

  • check_broken (boolean): verify links resolve (default false).

  • sample_size (number): how many links to verify (default 25).

  • response_format ('markdown' | 'json'): output format (default 'markdown').

Returns: { total_links, internal_links, external_links, nofollow_links, empty_anchor_text, generic_anchor_text[], external_domains[{domain, count}], checked_count, broken[], score, grade, findings[] }.

Example: "Are there broken links on https://example.com/resources?" -> link_audit(url="https://example.com/resources", check_broken=true).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesPage URL to analyse, e.g. 'https://example.com/blog/post'. The scheme defaults to https://.
sample_sizeNoHow many links to verify when check_broken is true.
check_brokenNoSample links and verify they resolve. Adds up to sample_size requests (default 25), six at a time.
response_formatNoOutput format: 'markdown' for a human-readable summary (default) or 'json' for the full structured payload.markdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
gradeYes
scoreYes
brokenYes
findingsYes
final_urlYes
ugc_linksYes
total_linksYes
checked_countYes
external_linksYes
internal_linksYes
nofollow_linksYes
sponsored_linksYes
external_domainsYes
empty_anchor_textYes
generic_anchor_textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.2.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / check_broken / description
      Previous value: -"Sample links and verify they resolve. Adds up to 25 requests."New value: +"Sample links and verify they resolve. Adds up to sample_size requests (default 25), six at a time."
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the agent knows it's a safe read operation. The description adds valuable behavioral context beyond that: it explains the optional sample verification, the HEAD-then-GET retry logic, and the exact structure of the returned payload. This gives the agent insight into how the tool behaves without contradicting any annotations.

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?

The description is well-structured: the core purpose is front-loaded, followed by a clear Args list, a Returns summary, and a concrete example. It is slightly longer than strictly necessary because it repeats parameter details from the schema, but every sentence serves a purpose and the layout aids scanning. It is appropriately concise for a tool with four parameters and a non-trivial output.

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

Completeness5/5

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

For a tool with four parameters, an output schema, and no hidden prerequisites, the description is complete. It covers the full behavior (including the optional broken-link verification), the return structure is explicitly described (redundant with the output schema but still useful), and the example shows realistic invocation. Nothing an agent needs to call it correctly is missing.

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% – every parameter has a clear description, including defaults and constraints (e.g., sample_size min/max, response_format enum). The tool description largely restates these in its Args list, adding little semantic value beyond the schema. The example does clarify the interplay between check_broken and sample_size, but that is also present in the schema. Per the rubric, baseline 3 is appropriate when the schema does the heavy lifting.

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?

The description opens with a specific verb ('Audit') and a clearly defined resource ('a page's outbound links'), then enumerates the exact aspects it covers (internal/external split, rel attributes, anchor text issues, domain distribution, broken-link verification). This specificity distinguishes it from siblings like seo_audit or meta_tags_check, which target different SEO facets. An agent can immediately recognize that this tool is the one for link-level analysis.

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

Usage Guidelines4/5

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

The description provides a concrete example query that maps to the tool, illustrating when it should be invoked ('Are there broken links...'). It also implies the tool is for outbound-link auditing rather than broader SEO checks, though it does not explicitly name alternatives or state when not to use it. The context is clear enough for correct selection, but explicit exclusions are absent.

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