Skip to main content
Glama

clear-line-ops

Extract data with CSS selectors

extract_data

Scrape specific elements from a page. Give a map of field name to CSS selector; each field returns the text of every match. Append '@attr' to a selector to read an attribute instead, e.g. 'a.product@href' or 'img@src'. Cost: 1 credit per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesPublic http(s) page URL
limitNoMax matches per field
selectorsYese.g. {"titles": "h2.title", "links": "a.item@href"}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.