Skip to main content
Glama

web_tables

Read-only

Web page tables to JSON/CSV — Extract the data tables from any public web page (Wikipedia lists, stats pages, docs) as clean JSON: merged header rows, colspan/rowspan expanded, footnote markers stripped, numeric columns detected; navigation/layout tables skipped. Optional: table=N for one full table (500 rows, max_rows up to 1000) plus CSV, format=objects for rows keyed by header with numbers parsed, max_rows. Static HTML only. Price: $0.005 USDC (Base, via 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
urlYese.g. https://en.wikipedia.org/wiki/List_of_U.S._states_and_territories_by_population

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the read-only, non-destructive, open-world profile; beyond that the description discloses normalization behavior (merged headers flattened, colspan/rowspan expanded, footnotes stripped, numeric detection), that navigation/layout tables are skipped, row caps (500 default, 1000 max), and the paid x402 pricing on Base. These are exactly the operational facts an agent cannot get from the structured fields.

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?

Front-loaded with the core action and output format, then progressive detail. It is dense and semicolon-chained but nearly every clause carries a distinct behavior; only the pricing clause feels appended rather than integrated.

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?

For a single-parameter, read-only extraction tool with no output schema, the description covers what is returned (clean JSON keyed by header, optional CSV), limits (static HTML, row caps), and cost. Nothing material an agent needs before calling is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema documents only url at 100% coverage, so the baseline applies, but the description goes further by explaining table=N (single full table), max_rows, and format=objects (rows keyed by header, numbers parsed) — meaning not present in the schema. The only weakness is that these optional parameters appear in prose but not in the declared input schema, which could confuse an agent about what it may actually pass.

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 (extract data tables from a public web page) as clean JSON/CSV, and implicitly distinguishes itself from generic page-extraction siblings by naming tables as the unit. The parenthetical examples (Wikipedia lists, stats pages, docs) make the target content concrete.

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?

Gives clear use contexts (Wikipedia lists, stats pages, docs) and one hard exclusion: 'Static HTML only,' which tells the agent when this tool will fail. It does not name a sibling alternative for JS-rendered pages or for full-page content, so routing guidance is strong but not exhaustive.

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