Skip to main content
Glama

run_extract

Extracts structured data from any web page by URL using custom instructions and a target schema.

Instructions

Loads a page by URL and extracts structured data.

Input Schema

NameRequiredDescriptionDefault
urlYes
settingsYes
instructionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.0.1
    • removedInput schema / properties / instructions / description
      Removed value: -"Natural-language description of what to extract."
    • removedInput schema / properties / settings / description
      Removed value: -"Extraction settings."
    • removedInput schema / properties / settings / properties / extract_schema_json / description
      Removed value: -"JSON-encoded schema string for the extraction shape."
    • removedInput schema / properties / url / description
      Removed value: -"URL of the page to load and extract data from."
  2. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden but says only that it 'loads' a page. It does not disclose auth requirements, rate limits, whether extraction is dynamic/JS-rendered, what the 'instructions' parameter controls, or what the result looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, but it is under-specified rather than genuinely concise. It is efficient but leaves too much unsaid for a 3-parameter tool.

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

Completeness2/5

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

For a tool with three required params, a nested object, no annotations, and no output schema, one sentence is far too thin. The agent lacks guidance on instructions semantics, settings behavior, and expected output, making correct invocation largely guesswork.

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?

Schema description coverage is 0% for three required parameters, including a nested settings object with country_code and extract_schema_json. The phrase 'by URL' loosely maps to the url param but the description adds no meaning for 'instructions' or the settings sub-fields.

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?

States a specific verb ('loads a page') and outcome ('extracts structured data') with the input source ('by URL'), so the agent knows exactly what the tool does. However, it offers no differentiation from the many sibling extraction tools, which is the main gap at this level.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use, when-not-to-use, or alternative routing is given. With dozens of site-specific sibling extractors (run_amazon_product, run_ebay_item, etc.) the agent gets no signal on when this generic extractor is preferable.

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