Skip to main content
Glama

read_url

Read-only

Read a public web page or HTTP(S) URL: HTML comes back as readable text, JSON/XML/text as is. offset/length select lines. Sends no cookies or credentials and reads at most 1 MB. Refuses private and local network addresses; a device with a public IPv6 address counts as public.

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

Input Schema

NameRequiredDescriptionDefault
urlYes
lengthNo
offsetNo
deviceIdNoComputer name or id
maxBytesNo
timeoutMsNo
workSessionIdNoFrom create_work_session

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / deviceId / description
      Previous value: -"Computer name or id; optional with one computer or a default"New value: +"Computer name or id"
    • removedInput schema / properties / url / maxLength
      Removed value: -8192
    • removedInput schema / properties / url / minLength
      Removed value: -1
  2. Changed2 schema fields changed
    • changedInput schema / properties / deviceId / description
      Previous value: -"Computer name or id from list_devices. Optional with one computer online or a default set."New value: +"Computer name or id; optional with one computer or a default"
    • changedInput schema / properties / workSessionId / description
      Previous value: -"Work session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work."New value: +"From create_work_session"
  3. Changed1 schema field changed
    • addedInput schema / properties / workSessionId
      Added value: +{
      +  "description": "Work session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work.",
      +  "format": "uuid",
      +  "type": "string"
      +}
  4. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Goes well beyond the annotations (readOnly/openWorld/non-destructive) by disclosing the security posture: no cookies or credentials are sent, private and local addresses are refused, and the IPv6 caveat clarifies an edge case an agent would otherwise get wrong. It also states a size ceiling, though that ceiling (1 MB) conflicts with the schema's maxBytes maximum of 2,000,000, and error/redirect behavior is never described.

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 compact sentences, each carrying distinct information: what is read and how it is returned, how line selection works, and the safety/size limits. Front-loaded and free of filler.

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 7-parameter network tool with no output schema, the description covers return format and safety well but leaves half the parameters unexplained and states a size limit that disagrees with the schema. An agent can call it with just a URL, but configuring maxBytes, timeoutMs, or workSessionId correctly requires guessing.

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 only 29% across 7 parameters, so the description must compensate. It usefully clarifies that offset/length select lines rather than bytes, which the schema does not say, but deviceId, workSessionId, timeoutMs, and maxBytes are left entirely to their sparse schema entries, and the stated 1 MB read cap contradicts maxBytes up to 2 MB.

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?

Opens with a specific verb and resource ("Read a public web page or HTTP(S) URL") and immediately characterizes the transformation applied to the payload (HTML to readable text, JSON/XML/text as-is). The 'public web page / HTTP(S) URL' framing implicitly separates it from read_file and read_clipboard, but no sibling is named outright.

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 scope statement and the explicit refusal of private/local addresses acts as a when-not condition, which is genuinely useful routing information. However, it never states when an agent should prefer this over read_file or a search/browse sibling, leaving alternative selection to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources