Skip to main content
Glama

Web Reader Pro

Table grabber: pull every data table from a web page or document as clean JSON rows or CSV

extract_tables

Finds HTML tables (handles header rows, colspan and rowspan) or Markdown tables from PDFs/Excel files, and returns them as JSON objects keyed by column header and/or CSV. Use table_index to get one table. render=true for tables built by JavaScript. Not charged if no table is found. Price 0.003 USDC per call; first 3 calls per day free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "extract_tables"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) URL
formatNojson (default), csv or both
renderNoRender JavaScript first
paymentNoOptional x402 payment (base64 X-PAYMENT header value). Not needed while the free daily sample lasts.
table_indexNoOptional: return only this table (0-based)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does valuable work by disclosing the handling of header rows/colspan/rowspan, that JS-rendered tables need render=true, and the unusual billing rule ('Not charged if no table is found', 0.003 USDC per call, first 3 free daily) plus the optional x402 payment header. It stops short of permission, size/row-limit, timeout, and failure behavior beyond the no-table case, which are the remaining gaps for an un-annotated 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?

Capability comes first, then per-parameter hints, then cost/free-tier, in three dense sentences with no filler. Every clause carries information an agent needs (input types, output shape, billing exemption).

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?

With no annotations and no output schema, the description still explains the return structure (header-keyed JSON and/or CSV), covers PDF/Excel/Markdown/HTML sources, and explains x402 payment semantics. Remaining omissions are operational limits (row counts, size caps, timeouts) and non-table error behavior, which keep it short of full completeness.

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%, so all five parameters including the format enum and payment field are already documented. The description's parameter mentions ('Use table_index to get one table', 'render=true for tables built by JavaScript') largely restate the schema text, adding only the motivation for render and the payment/free-tier context. 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 and resource ('Finds HTML tables ... or Markdown tables from PDFs/Excel files') and names the exact return shape ('JSON objects keyed by column header and/or CSV'). The table-specific scope makes it naturally distinguishable from siblings like extract_fields, and the mention of header rows, colspan and rowspan pins down the capability precisely.

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 gives guidance on how to invoke it (use table_index for a single table, render=true for JavaScript-built tables) but never says when to choose this over extract_fields or other extraction siblings, nor any when-not conditions. Usage is only implied by the scenario of a page or document containing tables.

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.