Skip to main content
Glama

Read web page

url_read
Read-only

Use this when the user wants a public web page, API response or text file read from their own computer's internet connection, for example a page their network can reach or to check what it returns there. GET only, text only (HTML, JSON, XML, plain text), no cookies or sign-in. Returns the text with status, final address and content type; when truncated, call again with offset = nextOffset for the rest. Addresses on the computer itself (use localhost_get) or its local network are refused. Needs a Full Access workspace. Read-only. Needs the sessionId from execution_session_open and a new operationId; each call is metered as one execution. A short result is returned inline within about two seconds; otherwise keep the returned IDs for operation_status and operation_output and do not resend the call.

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": {
      "sessionId": "<sessionId>",
      "operationId": "<operationId>",
      "url": "<url>"
    },
    "name": "url_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYeshttp or https URL of a public page, up to 2048 characters
offsetNoByte offset to start from, for the next page of a long text (default 0)
maxBytesNoBytes of text returned, 4-100000 (default 100000)
sessionIdYesexecutionSessionId returned by execution_session_open
timeoutMsNoGive up after this long, 1000-120000 ms (default 30000)
deadlineAtNoOptional UTC admission deadline at most 60 seconds ahead (queue start timeout, NOT process execution lifetime)
operationIdYesA new random UUID v4 for this call; reuse it only to retry this same call
idempotencyKeyNoOptional retry key, 8-128 chars of [A-Za-z0-9._:-]; defaults to operationId
efficiencyProfileNoOptional, unverified label of the client's model, recorded as display metadata in the device owner's local activity statistics. Omit when unknown. Never send credentials or conversation content.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/openWorldHint, so 'Read-only' is a small restatement, but the description adds substantial context the annotations do not: GET-only, no auth/cookies, local and localhost addresses refused, Full Access workspace requirement, sessionId sourcing, per-call metering, ~2s inline threshold, and the explicit 'do not resend the call' instruction. It does not state the truncation trigger or error/redirect behavior in detail, keeping it just below top marks.

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?

Front-loaded with the use case and dense in a good way, since nearly every clause carries operational meaning (auth limits, refusals, pagination, async fallback). It is a single long run-on paragraph, however, and would scan better split into usage, constraints, and return/follow-up sections.

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?

For a 9-parameter, nested-object, potentially asynchronous read tool with no output schema, the description covers prerequisites, constraints, inline-vs-deferred behavior, the return summary (status, final address, content type) and the continuation path. An agent has enough to call it and handle both result shapes without guessing.

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 coverage is 100%, so the baseline is 3, but the description adds real semantics: offset should be set to the returned nextOffset when continuing a truncated read, operationId must be new per call, and sessionId must come from execution_session_open. That cross-links parameters to output fields in a way the schema alone does not.

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?

States a specific verb and resource ('read' a 'public web page, API response or text file') plus a distinguishing scope: read from the user's own machine's internet connection, as seen from their network. This explicitly separates it from localhost_get and from filesystem readers like fs_read.

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

Usage Guidelines5/5

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

Gives explicit when-to-use framing ('when the user wants... a page their network can reach or to check what it returns there'), names the alternative for local addresses (localhost_get), states exclusions (no cookies or sign-in, text only, no local network), and routes the agent onward to operation_status/operation_output when the call is not inline.

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.