Skip to main content
Glama

web_tables

web_tables
Read-only

Every HTML table on a public web page as structured JSON: title (caption or nearest heading), headers, rows as arrays and as records keyed by header, numeric columns detected and parsed to numbers, colspan and rowspan expanded, footnote markers removed. Selecting one table by index also returns it as CSV. Row count capped by max_rows. Price: $0.003 USDC per call (x402).

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": "web_tables"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) URL of the page
indexNoZero-based table index; when given only that table is returned, with csv
max_rowsNoMaximum rows per table, 1-5000 (default 200)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, but the description adds genuinely useful behavior: a per-call price of $0.003 USDC via x402 (a cost the agent must know before invoking), a row cap governed by max_rows, and normalization behavior such as colspan/rowspan expansion and footnote removal. It does not say what happens when a page has zero tables or whether the extraction runs on rendered or raw HTML.

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

Conciseness4/5

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

The description is dense but front-loaded: the output shape leads, then the index/CSV behavior, then the row cap and price. It reads as a single long sentence with appended fragments, which is slightly crammed, but nearly every clause carries information an agent needs.

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?

There is no output schema, so the description carries the burden of describing return values and it does so thoroughly for a 3-parameter read tool, covering field naming, numeric parsing, and span handling. The remaining gaps are edge cases, such as empty-table pages and whether the page must be server-rendered, which are secondary for correct invocation.

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 all three parameters are already documented in the schema, including index returning a single table with CSV and max_rows bounds/default. The description restates the max_rows cap and the index-to-CSV behavior without adding syntax, format, or edge-case meaning beyond the schema, so the baseline of 3 applies.

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 uses a specific verb and resource ('Every HTML table on a public web page as structured JSON') and enumerates the exact shape of what comes back: title, headers, rows as arrays and as records, numeric detection, span expansion, footnote stripping. It never mentions the sibling web_read, so an agent cannot tell from this text alone when to prefer table extraction over general page reading.

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?

Usage is only implied: the tool is scoped to 'public web page' HTML tables, which suggests when it applies, and the index parameter implies a drill-down workflow. There is no explicit when-to-use versus when-not-to-use, and no guidance about pages that are JS-rendered, paywalled, or table-free.

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