Skip to main content
Glama

scrape_dati

Scarica una pagina web pubblica e ne tira fuori i dati richiesti, in JSON, con la prova (il brano di testo da cui ogni dato viene). Usa l'inferenza: costa $0,01 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>",
      "domanda": "<domanda>"
    },
    "name": "scrape_dati"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
domandaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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 does disclose meaningful behavior: extraction is inference-based, output is JSON accompanied by the source snippet, and each call costs $0.01. It does not cover failure modes, page size or JS-rendering limits, or whether a paywall/login page is rejected.

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 with the action first, the return shape and evidence guarantee in the middle, and the cost qualifier last. Every clause carries distinct information; nothing is padding.

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 two-parameter tool with no output schema and no annotations, the description covers method, return shape, provenance of extracted values, and cost. Remaining gaps (error behavior, limits on page type or size) are modest but real.

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 coverage is 0% and neither parameter name appears literally, but the description conveys the semantics: 'url' is a public web page address and 'domanda' is the request for which data to pull out. It adds meaning yet gives no format hints (e.g. natural-language question phrasing, URL scheme requirements).

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 states a concrete verb+resource pair: downloads a public web page and extracts the requested data as JSON with supporting text evidence. It is clear what the tool returns, but it offers no differentiation from the sibling 'scrape', which an agent could plausibly confuse it with.

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' sets a scope constraint (public pages only) and the cost note hints this is a paid, inference-based route to prefer sparingly, but there is no explicit when-to-use, when-not, or named alternative such as 'scrape'.

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.