Skip to main content
Glama

Fetch

fetch

Retrieve a web page from a URL and optionally prettify the returned HTML.

Instructions

fetch a page from a url Args: url: the url to fetch prettify: prettify the retrieved html

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
prettifyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it discloses nothing about network access, redirect following, auth, rate limits, or failure behavior. 'fetch a page from a url' only restates the verb; the agent learns almost nothing about how the call behaves.

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?

Short and front-loaded, with the core action stated first and parameters listed compactly. The 'Args:' indented block is slightly awkward in a description field but wastes no words.

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?

An output schema exists, so return values need not be explained, and the tool is simple with only two parameters. Still, with zero annotations and no usage or behavioral context, the definition is only minimally complete for a network tool.

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 0%, so the description must compensate, and it does name both parameters. But 'url: the url to fetch' is tautological and 'prettify: prettify the retrieved html' only marginally clarifies the boolean effect, so the added meaning is thin.

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 (fetch) and resource (a page from a url), so the agent knows it retrieves network content. However, it offers no differentiation from the filesystem-oriented siblings (readFile, listFiles, etc.), leaving the agent to infer it is the only network tool.

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, no mention of prerequisites, and no routing against alternatives such as readFile for local content. The description never indicates the conditions under which fetching is appropriate or inappropriate.

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