Skip to main content
Glama
yokingma

OneSearch MCP Server

by yokingma

one_scrape

Scrape a single webpage to extract markdown, HTML, links, or a screenshot. Control navigation timeout, TLS verification, and run pre-scrape actions.

Instructions

Scrape a single webpage and return markdown, HTML, links, or a screenshot. Supports navigation timeout, TLS verification control, full-page screenshots, bounded pre-scrape actions, and advanced executeJavascript only when allowExecuteJavascript is true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL to scrape
actionsNoList of pre-scrape actions to run before content capture. Standard actions are bounded; executeJavascript requires allowExecuteJavascript: true.
formatsNoContent formats to extract (default: ['markdown'])
timeoutNoMaximum time in milliseconds to wait for the page to load
waitForNoTime in milliseconds to wait for dynamic content to load
skipTlsVerificationNoSkip TLS certificate verification
allowExecuteJavascriptNoMust be true when actions contain executeJavascript. Use only for advanced page-side scripting.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv1.2.4
    • changedInput schema / properties / actions / description
      Previous value: -"List of actions to perform before scraping"New value: +"List of pre-scrape actions to run before content capture. Standard actions are bounded; executeJavascript requires allowExecuteJavascript: true."
    • changedInput schema / properties / actions / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "milliseconds": {
      -        "description": "Time to wait in milliseconds",
      -        "type": "number"
      -      },
      -      "type": {
      -        "const": "wait",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "milliseconds"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "selector": {
      -        "description": "CSS selector for the target element",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "click",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "selector"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "fullPage": {
      -        "description": "Take full page screenshot",
      -        "type": "boolean"
      -      },
      -      "type": {
      -        "const": "screenshot",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "selector": {
      -        "description": "CSS selector for the target element",
      -        "type": "string"
      -      },
      -      "text": {
      -        "description": "Text to write",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "write",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "selector",
      -      "text"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "key": {
      -        "description": "Key to press",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "press",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "key"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "direction": {
      -        "description": "Scroll direction",
      -        "enum": [
      -          "up",
      -          "down"
      -        ],
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "scroll",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "direction"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "type": {
      -        "const": "scrape",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "script": {
      -        "description": "JavaScript code to execute",
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "executeJavascript",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "script"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "milliseconds": {
      +        "description": "Time to wait in milliseconds",
      +        "type": "number"
      +      },
      +      "type": {
      +        "const": "wait",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "milliseconds"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "selector": {
      +        "description": "CSS selector for the target element",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "click",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "selector"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "selector": {
      +        "description": "CSS selector for the target element",
      +        "type": "string"
      +      },
      +      "text": {
      +        "description": "Text to write",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "write",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "selector",
      +      "text"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "key": {
      +        "description": "Key to press",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "press",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "key"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "direction": {
      +        "description": "Scroll direction",
      +        "enum": [
      +          "up",
      +          "down"
      +        ],
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "scroll",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "direction"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "script": {
      +        "description": "JavaScript code to execute",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "executeJavascript",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "script"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / allowExecuteJavascript
      Added value: +{
      +  "description": "Must be true when actions contain executeJavascript. Use only for advanced page-side scripting.",
      +  "type": "boolean"
      +}
    • removedInput schema / properties / excludeTags
      Removed value: -{
      -  "description": "HTML tags to exclude from extraction",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • removedInput schema / properties / extract
      Removed value: -{
      -  "additionalProperties": false,
      -  "description": "Configuration for structured data extraction",
      -  "properties": {
      -    "prompt": {
      -      "description": "User prompt for LLM extraction",
      -      "type": "string"
      -    },
      -    "schema": {
      -      "additionalProperties": {},
      -      "description": "Schema for structured data extraction",
      -      "type": "object"
      -    },
      -    "systemPrompt": {
      -      "description": "System prompt for LLM extraction",
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • changedInput schema / properties / formats / items / enum
      Previous value: -[
      -  "markdown",
      -  "html",
      -  "rawHtml",
      -  "screenshot",
      -  "links",
      -  "screenshot@fullPage",
      -  "extract"
      -]New value: +[
      +  "markdown",
      +  "html",
      +  "rawHtml",
      +  "screenshot",
      +  "links",
      +  "screenshot@fullPage"
      +]
    • removedInput schema / properties / includeTags
      Removed value: -{
      -  "description": "HTML tags to specifically include in extraction",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • removedInput schema / properties / location
      Removed value: -{
      -  "additionalProperties": false,
      -  "description": "Location settings for scraping",
      -  "properties": {
      -    "country": {
      -      "description": "Country code for geolocation",
      -      "type": "string"
      -    },
      -    "languages": {
      -      "description": "Language codes for content",
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedInput schema / properties / mobile
      Removed value: -{
      -  "description": "Use mobile viewport",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / onlyMainContent
      Removed value: -{
      -  "description": "Extract only the main content, filtering out navigation, footers, etc.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / removeBase64Images
      Removed value: -{
      -  "description": "Remove base64 encoded images from output",
      -  "type": "boolean"
      -}
  2. Changed9 schema fields changedv1.2.1
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / actions / items / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "milliseconds": {
      +        "description": "Time to wait in milliseconds",
      +        "type": "number"
      +      },
      +      "type": {
      +        "const": "wait",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "milliseconds"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "selector": {
      +        "description": "CSS selector for the target element",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "click",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "selector"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "fullPage": {
      +        "description": "Take full page screenshot",
      +        "type": "boolean"
      +      },
      +      "type": {
      +        "const": "screenshot",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "selector": {
      +        "description": "CSS selector for the target element",
      +        "type": "string"
      +      },
      +      "text": {
      +        "description": "Text to write",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "write",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "selector",
      +      "text"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "key": {
      +        "description": "Key to press",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "press",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "key"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "direction": {
      +        "description": "Scroll direction",
      +        "enum": [
      +          "up",
      +          "down"
      +        ],
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "scroll",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "direction"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "type": {
      +        "const": "scrape",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "script": {
      +        "description": "JavaScript code to execute",
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "executeJavascript",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "script"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedInput schema / properties / actions / items / properties
      Removed value: -{
      -  "direction": {
      -    "description": "Scroll direction",
      -    "enum": [
      -      "up",
      -      "down"
      -    ],
      -    "type": "string"
      -  },
      -  "fullPage": {
      -    "description": "Take full page screenshot",
      -    "type": "boolean"
      -  },
      -  "key": {
      -    "description": "Key to press (for press action)",
      -    "type": "string"
      -  },
      -  "milliseconds": {
      -    "description": "Time to wait in milliseconds (for wait action)",
      -    "type": "number"
      -  },
      -  "script": {
      -    "description": "JavaScript code to execute",
      -    "type": "string"
      -  },
      -  "selector": {
      -    "description": "CSS selector for the target element",
      -    "type": "string"
      -  },
      -  "text": {
      -    "description": "Text to write (for write action)",
      -    "type": "string"
      -  },
      -  "type": {
      -    "description": "Type of action to perform",
      -    "enum": [
      -      "wait",
      -      "click",
      -      "screenshot",
      -      "write",
      -      "press",
      -      "scroll",
      -      "scrape",
      -      "executeJavascript"
      -    ],
      -    "type": "string"
      -  }
      -}
    • removedInput schema / properties / actions / items / required
      Removed value: -[
      -  "type"
      -]
    • removedInput schema / properties / actions / items / type
      Removed value: -"object"
    • addedInput schema / properties / extract / additionalProperties
      Added value: +false
    • addedInput schema / properties / extract / properties / schema / additionalProperties
      Added value: +{}
    • addedInput schema / properties / location / additionalProperties
      Added value: +false
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It notably discloses support for navigation timeout, TLS verification control, full-page screenshots, bounded pre-scrape actions, and the gating of executeJavascript. It does not mention error behavior or return structure, but these are less critical for a scraping tool.

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?

The description is concise at two sentences, front-loaded with the core purpose, and every clause adds value (outputs, timeout, TLS, screenshots, actions). There is no fluff or redundancy.

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?

Given the tool's complexity (7 parameters, no output schema, no annotations), the description provides a good overview of capabilities but lacks details on return value structure, error handling, or pagination/navigation behavior. It is adequate but has clear gaps, especially regarding what the returned data looks like for each format.

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?

Since schema description coverage is 100%, the baseline is 3. The description adds some context by mentioning 'bounded pre-scrape actions' and the executeJavascript requirement, which aligns with the actions and allowExecuteJavascript parameters. However, it does not add significant syntax or format details beyond what the schema already provides.

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 clearly identifies the tool's action ('Scrape a single webpage') and its outputs ('markdown, HTML, links, or a screenshot'), which distinguishes it from the sibling tools by focusing on single-page scraping. It is a specific verb+resource statement, though it does not explicitly contrast with siblings like 'one_extract'.

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?

The description implies usage for scraping a single webpage and mentions the prerequisite for executeJavascript ('only when allowExecuteJavascript is true'). However, it does not explicitly state when to choose this tool over alternatives such as one_extract, one_search, or one_map, nor does it provide exclusion criteria.

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