Skip to main content
Glama
Web Scraper MCP Server

Web Scraper MCP Server

by bhubadinn

get_links

Extract all links from a specified URL, categorized as internal, external, or resource, with an optional filter to focus on specific link types.

Instructions

Extract all links from a page, categorized by type (internal, external, resource)

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": {
      "url": "<url>"
    },
    "name": "get_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL to extract links from
filterNoFilter links by type (default: all)all

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It discloses that results are categorized by type, which hints at return structure, but says nothing about whether the page is fetched live, whether JS-rendered content is handled, auth or rate-limit requirements, or failure behavior for unreachable URLs.

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?

A single front-loaded sentence with no filler, and the categorization detail is placed up front. It is efficient, though the brevity leaves the rest of the definition thin.

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

Completeness3/5

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

For a simple two-parameter read tool with no output schema and no annotations, the description is minimally adequate. It communicates purpose and output shape but omits fetch behavior and the mismatch between the 'resource' category and the filter enum.

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 coverage is 100% and both parameters (url, filter) are fully described in the schema, so the baseline is 3. The description adds only marginal value and actually names a 'resource' category that does not exist in the filter enum (all/internal/external), which could nudge an agent toward an invalid value.

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 (extract) and resource (links from a page) plus the categorization dimension, which is precise enough to distinguish it from generic siblings like scrape_url or extract_data. It stops short of explicitly contrasting itself with those siblings, so it lands at a solid 4 rather than 5.

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 guidance on when to prefer this over scrape_url or extract_data, no prerequisites, and no exclusions. The agent must infer usage purely from the verb 'extract', which is implied usage at best.

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