Skip to main content
Glama

extract tables

extract_tables
Read-only

Extract tables as structured JSON (rows, header, records keyed by column) from a public PDF (multi-column / ruled tables, up to 30 pages, 10 MB) or an HTML page (colspan/rowspan expanded). robots.txt respected; nothing stored. No OCR. Paid ($0.001, x402).

Input Schema

NameRequiredDescriptionDefault
urlYesPublic URL of a PDF or HTML page
pagesNoPDF pages, e.g. '1-3,7' (default: first 30)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden and discloses unusually rich traits: compliance (robots.txt respected), data retention (nothing stored), capability boundary (no OCR), cost/payment mechanism ($0.001, x402), and size/page limits. This gives the agent a strong operational picture.

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 a single, dense, front-loaded sentence plus terse fragments. Every element earns its place: output format, source types, limits, compliance, cost. No filler or repetition.

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

Completeness5/5

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

Given the tool's complexity (PDF/HTML parsing, cost, compliance), the description covers all critical dimensions: what it returns, what it accepts, key limits, and payment. No output schema is mentioned, yet the return shape is described. Nothing essential for correct invocation is missing.

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 coverage is 100% – both the 'url' and 'pages' parameters are documented in the schema. The description mentions the page limit and source type but adds no syntax or format details beyond what the schema already provides. Baseline 3 is appropriate when the schema does the heavy lifting.

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 ('extract') and resource ('tables') and adds the return format ('structured JSON (rows, header, records keyed by column)') plus supported source types. Sibling tools are unrelated, so no differentiation is needed. An agent immediately knows exactly what this tool produces and from what.

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

Usage Guidelines4/5

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

Provides clear usage context: public PDF or HTML pages, multi-column/ruled tables, up to 30 pages and 10 MB, with colspan/rowspan expansion for HTML. It implicitly excludes scanned documents by stating 'No OCR', but does not explicitly name when-not-to-use scenarios or alternatives, keeping it just below a perfect score.

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