Skip to main content
Glama

AgentX402: Pay-per-Call AI, Web Render, Search & DeFi Tools

render_js_webpage_and_screenshot

Read-onlyIdempotent

Headless Chromium JS-rendered SPA scraper returning hydrated Markdown, SEO metadata & PNG screenshot URL ($0.01 USDC or free trial).

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic HTTP(S) URL to render with JavaScript
wait_msNo
full_pageNo
max_charsNo
include_linksNo
include_screenshotNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), and the description adds genuinely new context: what is returned (hydrated Markdown, SEO metadata, screenshot URL) and the cost model ($0.01 USDC or free trial). It omits rate limits, timeout/wait behavior, and truncation semantics, which keeps it below a 5.

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?

A single dense sentence that is front-loaded with the mechanism and outcome, with no wasted wording. It is terse to the point that behaviorally important detail (parameter meanings) is squeezed out.

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 6-parameter tool with no output schema, the description covers the return payload and pricing, which is meaningful. However, the undocumented optional parameters and the absent note on how max_chars truncates output leave real gaps for an agent invoking it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 17%, with just 'url' documented, so the description must compensate — and it does not. The five optional parameters (wait_ms, full_page, max_chars, include_links, include_screenshot) are neither named nor explained; the screenshot mention is only about the return value, not the toggle.

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?

The description names a specific mechanism and resource — 'Headless Chromium JS-rendered SPA scraper' — plus the concrete outputs (hydrated Markdown, SEO metadata, PNG screenshot URL). 'JS-rendered SPA' implicitly separates it from a plain HTML-to-Markdown sibling, but no sibling is named explicitly.

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 'JS-rendered SPA scraper' — use it when a page needs JavaScript to hydrate. There is no explicit when-to-use/when-not statement and no pointer to alternatives such as web_to_markdown or batch_extract_urls for static or bulk pages.

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