Skip to main content
Glama
cubicj

CubicJ MCP Search

Official
by cubicj

Fetch URL

fetch
Read-onlyIdempotent

Retrieve URL content as readable markdown with title and metadata, supporting site-specific extraction, PDF text, raw mode, and pagination.

Instructions

Fetch one URL and return its readable content as markdown with a title and metadata. Use it to read a page in full after web_search, or any URL the user gives: articles, docs, forums, news. Site-specific extractors return post body plus comments for gall.dcinside.com, Clien, Ruliweb, and FMKorea; body only for blog.naver.com and namu.wiki; threads with replies and profiles with recent posts for bsky.app; raw content or REST data for github.com files, repos, issues, pull requests, and gists. Non-HTML text (JSON, XML, RSS, plain text) is returned as-is; PDFs as page-separated text with page_count; image-only PDFs return a notice; other binaries are errors. raw=true skips extraction and returns the decoded response text. Long content is paginated: content is sliced from start_index (default 0) for max_length characters (default 50000); to continue, call again with start_index advanced by the previous max_length and stop when start_index + max_length >= total_length. Bot-protection pages return an error; empty pages that need JavaScript or a login return a notice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rawNoGet raw content without markdown conversion
urlYesURL to fetch
max_lengthNoMaximum number of characters to return
start_indexNoStart content from this character index

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
modeYes
titleYes
contentYes
metadataNo
extractorNo
max_lengthYes
start_indexYes
total_lengthYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare the safety profile (readOnly, idempotent, etc.), but the description adds rich behavioral detail beyond annotations: site-specific extractors for gall.dcinside.com, Clien, Ruliweb, FMKorea, blog.naver.com, namu.wiki, bsky.app, and github.com; handling of non-HTML, PDFs, and binaries; pagination mechanics with start_index and max_length; and error/notice behavior for bot protection and JavaScript-only pages. This is exemplary transparency.

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?

Despite its length, the description is densely packed with essential information and front-loaded with the core action. Every sentence earns its place by covering extraction nuances, content types, pagination, and error cases. There is no filler or redundancy.

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?

An output schema exists, so return value details are not needed. The description thoroughly covers the tool's behavior, content handling, pagination, and failure modes. Given the complexity of a web-fetching tool with many site-specific extractors, the description is complete enough for an agent to invoke it correctly.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds meaningful semantics beyond the schema: it explains that raw=true skips extraction and returns decoded response text, and it details the pagination workflow using start_index and max_length with a concrete continuation rule. This goes beyond the schema's brief parameter descriptions.

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 begins with a specific verb and resource: 'Fetch one URL and return its readable content as markdown with a title and metadata.' It clearly distinguishes this tool from the sibling web_search by positioning it as the follow-up for reading full pages. An agent can immediately tell what the tool does and when to choose it over web_search.

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?

It explicitly says to use it after web_search or for any URL the user gives, naming the alternative (web_search) and the condition. However, it does not state when NOT to use fetch (e.g., avoid for binary content or when raw data is needed elsewhere). The context is clear but lacks explicit exclusions.

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

Deploy Server

Other Tools