Skip to main content
Glama

Internal link opportunities

find_internal_link_opportunities
Read-onlyIdempotent

Internal links to add, from the latest finished site audit: a target page that has a Search Console query at positions 4–20, and a source page of the same site whose text contains that query and does not link to the target yet. Each row has sourceUrl, targetUrl, query, snippet (up to 160 characters of the source text where the link fits), impressions (of the query on the target page, last 28 days) and position (average, lower is better). Ordered by impressions of the target; up to 3 sources per target and query. Page text is not stored, only the snippet. Use it to improve internal linking for pages already close to page one. / Links internos a criar: página de origem, destino, consulta, trecho, impressões e posição.

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": {
      "site": "<site>"
    },
    "name": "find_internal_link_opportunities"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesProperty: displayName ("example.com"), Search Console siteUrl ("sc-domain:example.com", "https://www.example.com/") or numeric id. A unique substring among visible properties also works ("exam"). list_sites shows the options. The value "demo" selects a demonstration site with fictional data: it works without signing in and is read-only. / Propriedade por nome, siteUrl ou id; "demo" é um site de demonstração com dados fictícios, sem login e só leitura.
limitNoRows (default 25).
targetContainsNoOnly targets whose URL contains this text (case-insensitive), e.g. "/blog/".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds genuinely non-obvious behavior on top: the derivation rules, the impressions-based ordering, the cap of 3 sources per target/query pair, and the caveat that only a 160-character snippet is stored rather than full page text. The only unaddressed traits are cost/latency of running against a large audit and whether results paginate beyond the limit.

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?

Front-loaded with the definition, then output fields, then ordering/limits, then the use case — a logical progression with no filler sentences. It loses a point for appending a full Portuguese restatement of the same content, which doubles length without adding information for a single-language reader.

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?

With no output schema and only three parameters, the description carries the return contract itself by enumerating sourceUrl, targetUrl, query, snippet, impressions and position with their meanings and windows. Combined with the derivation criteria and data-retention caveat, an agent has everything needed to call it and interpret results.

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 each of site, limit and targetContains is already documented with formats and examples in the schema itself. The description mentions ordering and sampling caps but adds no format or edge-case detail for the parameters, so the baseline 3 applies.

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?

States a specific verb+resource ("Internal links to add") and then defines the exact join logic: a target page with a Search Console query at positions 4–20 plus a same-site source page containing that query without an existing link. This is precise enough that an agent can predict the output rows without opening anything else.

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?

Gives an explicit purpose statement ("Use it to improve internal linking for pages already close to page one") and a prerequisite ("from the latest finished site audit"), which tells the agent both when it applies and when it returns nothing. It stops short of naming when to prefer an alternative tool or what to do if no audit has finished.

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.