Skip to main content
Glama

grid402_extract

Extract public HTTP/HTTPS web pages with SSRF protection and convert them into clean Markdown for LLMs and RAG, including title, description, and absolute links.

Instructions

Extrai páginas web públicas HTTP/HTTPS com proteção SSRF e devolve Markdown limpo pronto para LLMs e RAG, incluindo título, descrição e links absolutos (0.0050 USDC / 1 crédito).

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

Input Schema

NameRequiredDescriptionDefault
urlYesURL pública HTTP ou HTTPS a ser extraída para Markdown limpo.
max_charsNoLimite opcional de caracteres no Markdown retornado (500 a 25000; padrão: 12000).
payment_tx_hashNoHash opcional de transação USDC ou token pass_g402_...

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.0
    • changedInput schema / properties / url / description
      Previous value: -"URL pública HTTP ou HTTPS a ser extraída para Markdown limpo (ex: \"https://example.com\")."New value: +"URL pública HTTP ou HTTPS a ser extraída para Markdown limpo."
  2. Addedv1.7.1

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose meaningful traits: SSRF protection on the fetch, the composition of the returned Markdown (title, description, absolute links), and the cost (0.0050 USDC / 1 credit). Remaining gaps are moderate — it does not say whether a call fails without payment, whether redirects are followed, or whether content is truncated beyond the max_chars limit.

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?

A single front-loaded sentence: the verb 'Extrai' comes first, followed by scope, output shape, and pricing in a compact parenthetical. Every clause adds information and nothing is repeated from the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and no annotations, the description must cover return values and safety profile, and it does both (Markdown payload contents, SSRF protection, price per call). The main shortfall is that the payment flow implied by payment_tx_hash is never explained in prose, leaving the agent to infer whether payment is a precondition.

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%, so url, max_chars, and payment_tx_hash are already documented in structured form. The description adds only the framing of the url as a public web page and does not clarify the payment model (prepaid credit vs. tx hash proof) or the truncation behavior of max_chars, so it earns the baseline rather than more.

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?

The description states a specific verb and resource — extracting public HTTP/HTTPS web pages — and the exact output form (clean Markdown with title, description, and absolute links) for LLM/RAG consumption. This is unmistakably distinct from the data-lookup siblings (dns, cnpj, forex, etc.), so an agent can route to it without opening the schema.

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 rather than stated: 'públicas' and 'SSRF protection' signal that private/internal or authenticated URLs are out of scope, and 'pronto para LLMs e RAG' hints at the downstream use case. However, there is no explicit when-to-use guidance, no mention of failure conditions for non-public URLs, and no routing to any alternative tool.

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