Skip to main content
Glama

Agent Toolkit (all-in-one)

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

extract_tables

[Web Reader Pro] 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

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses pricing (0.003 USDC per call), the free daily quota, that no charge applies when no table is found, and that payment is optional during the free sample. It does not cover failure modes such as malformed pages, size limits, or rate limiting beyond the free tier.

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?

A single dense paragraph with the core capability front-loaded and the optional flags and cost trailing. Every sentence carries information, though the pricing sentence mid-paragraph makes it slightly run-on.

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 five-parameter extraction tool with no annotations and no output schema, the description covers return shape (JSON keyed by header, or CSV), input variants (HTML, PDF, Excel, JS-rendered), single-table selection, and cost/charging behavior. An agent has everything needed to call it correctly.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: table_index selects one table, render=true enables JavaScript rendering, format controls JSON vs CSV, and payment is unnecessary during the free sample. It reinforces rather than merely repeats the schema.

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?

States a specific verb and resource: finds HTML tables (with header/colspan/rowspan handling) or Markdown tables from PDFs/Excel and returns them as JSON keyed by column header and/or CSV. That is concrete enough to separate it from generic readers like read_url or structure_to_json, but it never names or explicitly contrasts any sibling, so it stops short of a 5.

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 actionable selection cues: use table_index to return a single table, set render=true for JavaScript-built tables. It does not state when to prefer extract_fields/structure_to_json instead, nor any exclusions, so clear context but no alternatives.

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.