Skip to main content
Glama

Agent Data Hub

Webpage tables → JSON

page_tables
Read-onlyIdempotent

Extract every HTML table on a page as structured JSON records (headers, rows, captions). Up to 20 tables, 500 rows each. Price: $0.005 per call (USDC on Base via x402); the first 10 calls per day are 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": "page_tables"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesFull URL of the web page, e.g. https://example.com/page

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 already cover safety and openness (readOnly, openWorld, idempotent, non-destructive), so the description correctly spends its words elsewhere: it discloses truncation caps (20 tables, 500 rows each) and a per-call cost with a free daily quota, both of which affect agent behavior. It stops short of saying whether overflow tables are silently dropped or flagged, or how JS-rendered/blocked pages are handled.

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?

Two sentences, front-loaded with the purpose, then limits and price. Nothing is redundant or padded; every clause carries information the agent can act on.

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

Completeness3/5

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

With no output schema, the description must carry return-value burden; it names the per-record fields and the size caps but not the top-level response structure, ordering guarantees, or error/truncation signaling. Adequate to call correctly, incomplete for interpreting results.

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?

There is a single parameter whose schema description covers 100%, including an example URL format, so the schema does the work. The prose adds no URL semantics beyond that, such as whether redirects, query strings, or dynamic pages are supported; the baseline 3 applies.

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 a tightly scoped resource ("every HTML table on a page"), plus the output shape ("structured JSON records (headers, rows, captions)"). The table-only scope makes it obviously distinct from siblings such as page_text, page_links, and page_html_to_markdown without needing to name them.

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

Usage Guidelines2/5

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

The description says nothing about when to reach for this tool versus page_text, page_html_to_markdown, or page_product, nor when not to use it (e.g., pages requiring JS rendering or authenticated sessions). Only hard limits and pricing are given, so the agent must infer the selection rule.

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