Skip to main content
Glama

Table Extractor

dev_table_extract

Extract every HTML table from a page (or raw HTML) as structured JSON: headers and rows kept intact. The deterministic answer to 'get the pricing table / comparison table / stats table from this page' — no vision model needed. Use this when an agent needs to hTML tables → structured JSON rows and columns. x402 price $0.02/call (USDC, eip155:8453).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesOr provide raw HTML instead
htmlYesRaw HTML
limitYesMax tables

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/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 traits: deterministic (no vision model), output structure (headers and rows intact), and a concrete cost/auth signal (x402 price $0.02/call USDC, eip155:8453). It omits failure behavior — e.g., what is returned when a page has no tables.

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?

Purpose is front-loaded and total length is reasonable, but the third sentence is malformed ('an agent needs to hTML tables → structured JSON rows and columns') and the 'deterministic answer' sentence partly restates the opening. Structure is workable but not clean.

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 3-parameter tool with no output schema and no annotations, the description covers output shape, determinism, and cost, which is enough to call it correctly. Remaining gaps are edge-case handling (empty results, limit defaults) rather than anything blocking.

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 description coverage is 100%, so the schema already documents url, html, and limit; baseline 3 applies. The description only reinforces the url-or-raw-HTML duality and says nothing extra about limit or precedence between the two input modes.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('extract every HTML table from a page (or raw HTML) as structured JSON') with the output shape spelled out ('headers and rows kept intact'). It also implicitly separates itself from vision-based or full-page extraction siblings by calling itself 'the deterministic answer ... no vision model needed.'

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?

Gives a usage scenario ('Use this when an agent needs to extract HTML tables') and a motivating example (pricing/comparison/stats tables), but never names an alternative or a condition that selects another sibling such as dev_text_extract or dev_scrape_selector. Usage is implied rather than routed.

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.

Resources