Skip to main content
Glama

AIsa SEO & AI Visibility

Links

post_dataforseo_on_page_links
Destructive

This endpoint will provide you with a list of internal and external links detected on a target website. The following link types are supported: anchor – links that point to a specific portion of a webpage; image – links that point to an image; canonical – links that point to a canonical page; meta – links with meta http-equiv=refresh; alternate – links with link rel="alternate" pointing to an alternative version of a webpage; redirect – links with redirect status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / body / items / properties / offset / description
      Previous value: -"offset in the results array of returned links optional field default value: 0 if you specify the 10 value, the first ten links in the results array will be omitted and the data will be provided for the successive links"New value: +"offset in the results array of returned links optional field default value: 0 maximum value: 2000000 if you specify the 10 value, the first ten links in the results array will be omitted and the data will be provided for the successive links"
  2. First observed

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=false and openWorldHint=true, so the mutation/one-shot profile is covered without the description. The description adds no behavioral context of its own — it does not mention task submission, the dependency on a prior Task POST, or async result retrieval. It also never mentions that page_to/page_from isolate internal links, which is the only behavior-shaping constraint it could have surfaced.

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 opening sentence is front-loaded and effective, but the link-type enumeration is a single run-on sentence that mixes format boilerplate with content and could have been condensed to a short list. Nothing is outright wasted, yet the structure is dense and hard to scan.

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

Completeness2/5

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

For a POST task endpoint whose single parameter is an array-of-objects body containing a required id and six optional fields, the description omits the task lifecycle entirely (submit -> id -> poll), which is the key thing an agent needs. An output schema exists so return values need not be described, but the prerequisite and pagination context is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Coverage is reported at 0% for the parameter surface, so the description is expected to compensate and does not: it says nothing about id, limit, offset, filters, page_to/page_from, or search_after_token. The only indirect help is the link-type enumeration, which hints at values usable in the 'direction'/'type' filters, but no parameter is explained.

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 and resource: 'provide you with a list of internal and external links detected on a target website,' then enumerates the supported link types (anchor, image, canonical, meta, alternate, redirect). This lets an agent distinguish it from generic crawl tools, though it never contrasts itself with close siblings like resources or uncrawlable_resources.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: no statement that this is a task-submission endpoint, no note that the required id must come from the Task POST endpoint before this can be called, and no routing between this and the other on_page link-adjacent siblings. The agent must infer everything from the schema.

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