Skip to main content
Glama

Extract HTML tables

extract_tables

Pull every table on a page as rows of cells (first row of each table is usually the header). Cost: 1 credit per call.

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) page URL
max_tablesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/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 behavioral burden. It usefully discloses the cost (1 credit per call) and a header heuristic, but omits important traits like what happens on pages with no tables, how max_tables affects results, and whether the extraction is static or rendered.

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 tightly written sentences with no filler, front-loading the core action and output shape before the cost note. Every sentence earns its place.

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?

For a simple extraction tool with no output schema, the description covers purpose, output shape, and cost, but leaves key gaps around max_tables behavior and empty-result handling. It is adequate but incomplete for correct invocation.

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 coverage is 50%: url is documented, but max_tables has no description in either schema or description. The description says 'every table' while the schema defaults max_tables to 10, which is potentially misleading and does not compensate for the missing parameter semantics.

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 specific verb and resource ('Pull every table on a page') and clarifies the output shape ('rows of cells'), which distinguishes it from general siblings like extract_content or extract_data. It does not explicitly name or contrast with those alternatives, so it stops 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 Guidelines2/5

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

There is no guidance on when to choose this tool over siblings such as scrape_page, extract_content, extract_data, or extract_links, and no prerequisites or exclusions are stated. The only conditional information is a cost note, which is not usage guidance.

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.