Skip to main content
Glama
web-search-cli

web-search-cli

by AusertDream

fetch_page

Fetch a URL and extract its main readable text, returning cleaned content without scripts or styles. Use it to retrieve external pages through a proxy for analysis.

Instructions

Fetch and extract the main text content from a URL. Uses proxy for external access. Returns cleaned text content without scripts/styles.

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": "fetch_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL to fetch content from
max_lengthNoMaximum character length of returned content

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and discloses some useful behavior: proxy-based external access and that scripts/styles are stripped. It omits important traits such as failure behavior for non-HTML or unreachable URLs, timeouts, and truncation semantics when max_length is hit.

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?

Three short sentences, front-loaded with the core action and zero filler. Each sentence contributes a distinct fact: what it does, how it reaches external hosts, and what the output looks like.

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 fetch tool without an output schema, the description adequately conveys the return shape (cleaned text). It falls short on error/edge-case behavior, which matters for a network-dependent fetch with no annotations to lean on.

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 both url and max_length are already documented in the schema, setting the baseline at 3. The description adds the notion of 'main text content' but does not clarify truncation or extraction heuristics beyond what the schema says.

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 pair plus resource: 'Fetch and extract the main text content from a URL.' An agent immediately knows this retrieves and cleans page text rather than searching. It does not, however, explicitly differentiate itself from the sibling bing_search.

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

Usage Guidelines3/5

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

Usage is implied by the description — use it when you have a URL and want readable text — but there is no explicit when-to-use statement, no exclusions, and no guidance on when bing_search would be the better choice. The agent must infer the boundary.

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