Skip to main content
Glama

page_tables

Extract every HTML table on a web page as JSON: caption, header row and data rows as arrays of cell text. Good for prices, stats, schedules, rankings and spec sheets. Price: $0.002 USDC (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": "page_tables"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) web page

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description has to carry the full load, and it does disclose the return structure as well as a paid-call behavior ($0.002 USDC via x402) that an agent must know before invoking. Gaps remain: it never says whether JavaScript-rendered pages are handled (relevant given the read_rendered_page sibling) or what happens on a page with zero tables.

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?

Three short sentences: what it does and returns, then when it's useful, then cost. The most decision-relevant information is front-loaded and no sentence is filler.

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 must describe return values, and it does so precisely. Cost and input scope are covered; only the rendering/empty-result edge cases are missing, which is a small remaining gap for a one-parameter read tool.

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% and the single `url` parameter is already documented as "Public http(s) web page", including a URI format constraint. The description adds no further meaning about the URL beyond that, so the schema does the work and 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?

Names a specific verb and resource ("Extract every HTML table on a web page") and then states the exact output shape: caption, header row and data rows as arrays of cell text. That level of specificity cleanly separates it from sibling page scrapers like page_links, page_metadata and read_page.

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?

"Good for prices, stats, schedules, rankings and spec sheets" gives concrete content types where this tool is the right pick, which is real usage guidance. However it never names an alternative (e.g. read_page when no tables exist) or states when not to use it, so it stops short of the explicit routing a 5 requires.

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