Skip to main content
Glama
MCP Server Starter

MCP Server Starter

by dao-genesis

Fetch URL

fetch_url

Fetch an HTTP(S) URL and return its response body as text, with timeout and optional host allowlist restrictions.

Instructions

Fetches a URL over HTTP(S) and returns the response body as text. Subject to a timeout and an optional host allowlist.

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_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe absolute http(s) URL to fetch

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/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 it does disclose real behavioral traits beyond the schema: the response is returned as text, requests are subject to a timeout, and an optional host allowlist may restrict targets. It omits what happens on non-2xx responses, redirect handling, size limits, and error surfacing, which matter for an agent deciding whether a failed call is worth retrying.

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?

Two short sentences, zero filler, with the core action front-loaded and the constraints following. Nothing repeats the schema and nothing could be cut without losing information.

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 one-parameter read tool with no output schema, the essentials are covered: what is fetched, what comes back, and the timeout/allowlist limits. It stops short of the failure semantics (blocked hosts, timeouts, non-text or binary content) an agent would need to interpret an unsuccessful or surprising result.

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% and the single url parameter is already documented as an absolute http(s) URI in the schema. The description adds no syntax, format, or constraint detail beyond what the schema provides, so the baseline 3 applies.

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 ("Fetches a URL over HTTP(S)") plus the return form ("response body as text"). That is unambiguous and trivially distinguishable from siblings like calculator and echo, though it never explicitly differentiates itself.

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?

The description gives no when-to-use guidance, no prerequisites, and no alternatives or exclusions. The only constraints mentioned (timeout, host allowlist) are operational limitations rather than guidance on when this tool is appropriate.

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