Skip to main content
Glama

scrape

Scarica una pagina web pubblica e restituisce il testo ripulito (titolo, testo, caratteri). Non usa inferenza: costa $0,005 a chiamata.

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

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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 two useful traits: the output is cleaned text rather than raw HTML, and each call costs $0.005 with no inference step. It omits other relevant behavior — whether JavaScript-rendered pages work, truncation or size limits, blocking/rate limits, and whether the call needs credentials.

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?

Two short sentences with zero filler: the first front-loads what is fetched and what is returned, the second adds the two decision-relevant facts (no inference, per-call price). Nothing could be removed without losing information.

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?

For a one-parameter tool with no output schema, the description covers the essentials: input concept, return fields, cost, and the no-inference property. The remaining gap is input format detail (URL syntax) and output size limits, which are minor for a tool this simple.

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?

There is a single required 'url' parameter with 0% schema description coverage, so the description must compensate and largely does not: it never states whether a scheme (https://) is required, whether non-http URLs are rejected, or what form of URL is accepted. Only the implicit 'public page' constraint adds any meaning beyond the property name.

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 concrete verb and resource ('Scarica una pagina web pubblica') and specifies the return shape ('titolo, testo, caratteri'), so the agent knows exactly what it gets. It does not differentiate itself from the sibling 'scrape_dati' or other scraping-like tools, so it falls short of a 5.

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 only implied: 'pagina web pubblica' signals that non-public or authenticated pages are out of scope, and 'non usa inferenza' hints at when a raw fetch is preferable to an AI-based sibling. There is no explicit when-to-use / when-not-to-use statement and no named alternative.

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.