Skip to main content
Glama

x402_scrategate_get_v1_scrape

Extract matching HTML elements from any web page using a URL and CSS selector for scraping, parsing, or content monitoring.

Instructions

scrategate — CSS-selector element extraction from any page (Cloudflare HTMLRewriter) [GET /v1/scrape] $0.01 USDC on eip155:8453. Example: /v1/scrape?url=https://example.com&selector=p

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_scrategate_get_v1_scrape"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose genuinely useful behavioral facts: this is a paid call at $0.01 USDC on eip155:8453, it is a GET endpoint, and it runs on Cloudflare HTMLRewriter. It does not explain payment failure handling, rate limits, or how the paid-call retry semantics relate to the schema's restart/operationId fields, which is the most consequential gap for a metered tool.

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?

It is a single dense line with the capability front-loaded, followed by endpoint, price, and a worked example — no filler sentences. The telegraphic formatting (stacked bracketed fragments and a raw payment string) is compact but slightly harder to parse than plain prose.

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?

The tool is a paid HTTP proxy with a generic body/query envelope plus restart and operationId retry controls, and there is no output schema. The description covers the endpoint, price, and one example, but never states what is returned (HTML fragments, JSON, match counts) or how the paid-retry parameters behave in practice, leaving a scrape tool's most important output shape undocumented.

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 schema's 'query' property is an untyped additionalProperties bag; the example concretely reveals the expected keys (url, selector), which the schema does not. The description still says nothing about the body, restart, or operationId parameters, so it only partially augments the structured fields.

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 verb and resource: 'CSS-selector element extraction from any page', with the endpoint [GET /v1/scrape] and the underlying implementation (Cloudflare HTMLRewriter). This is far more informative than a bare name restatement, though the actual input names (url, selector) surface only inside the example rather than in the purpose statement itself.

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 explicit when-to-use or when-not-to-use guidance and no named alternative. The example URL implies the intended invocation pattern (pass a page URL plus a CSS selector), but an agent gets no criteria for choosing this tool over other extraction or fetch tools, and no mention of what to do when a selector fails.

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

Deploy Server

Other Tools