Skip to main content
Glama

Aadharsh Site

Lens Page

lens_page
Read-onlyIdempotent

Read one public URL and return only what derives from the page's own bytes: anatomy, structured data, a markdown rendering, and what it costs an agent to ingest. Skips the origin-level fan-out entirely, so it is far cheaper and far faster than lens_inspect. Readiness, agent doors and terms are ABSENT from the result (not zero) because they were not checked; phases.discovery is false. Use lens_inspect when you need those.

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

Input Schema

NameRequiredDescriptionDefault
urlYesA public http or https URL, https:// if no scheme is given. Ports other than 80 and 443, credentials, and private or link-local hosts are refused.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, open world), yet the description adds behavior they cannot express: origin-level fan-out is skipped, making it cheaper and faster than lens_inspect, and unchecked fields are ABSENT rather than zero with phases.discovery false. It stops short of auth or rate-limit details, but the cost/latency and absence semantics are the substantive traits an agent needs.

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 sentences, zero padding, and the capability statement is front-loaded ahead of the cost comparison and the exclusion note. Every clause carries information the agent cannot get from structured fields.

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 one-parameter read tool with an output schema and full annotation coverage, the description supplies everything left open: what is intentionally missing from the result, why, and which sibling to use instead. Return shape is covered by the output schema, so no explanation of values is needed.

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 fully documented in the schema, including scheme defaulting and refusal of non-standard ports, credentials and private hosts. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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?

Names a specific verb and resource ("Read one public URL") and enumerates the concrete outputs derived from the page's own bytes: anatomy, structured data, markdown rendering, and ingest cost. It explicitly contrasts itself with lens_inspect, so an agent can separate the two without opening either schema.

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?

States both when to use this tool and when not to: readiness, agent doors and terms are absent here, and "Use lens_inspect when you need those." The alternative is named with the exact condition that selects it.

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.