Skip to main content
Glama

Table extraction

parserail_tables

Convert tables from PDFs, images, or scanned documents—including raw text or file uploads—into clean headers and rows for spreadsheets or databases.

Instructions

Every table in a document, even scanned, as clean headers and rows, ready for your spreadsheet or DB. Costs credits from the account wallet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoRaw text, if you already have it.
fileUrlNoPublic URL to a PDF or image.
fileBase64NoBase64-encoded file bytes (with fileMimeType).
fileMimeTypeNoMIME type for fileBase64, e.g. application/pdf.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.5

TDQS

A3.7/5.0
Behavior4/5

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

Beyond annotations, the description discloses that the tool costs credits from the account wallet, which is a meaningful side effect. It also mentions support for scanned documents and output normalization, adding value without contradicting the provided hints.

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?

The description is two concise sentences that front-load the core function before the cost note. Every word earns its place, with no redundancy or filler.

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 and four optional parameters, the description covers the core value and cost, and the schema covers parameter semantics. However, the exact output shape (beyond 'headers and rows') and input combination expectations are left unspecified, making it adequate but not exhaustive.

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?

All four parameters have complete schema descriptions (100% coverage), so the description adds no parameter-specific meaning. It does not explain when to use text versus fileUrl versus fileBase64, but the schema already handles that, warranting the baseline score.

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 clearly states the tool's function: extracting every table from a document, including scanned ones, as clean headers and rows. This is specific to tables and distinguishes it from the many parserail_* siblings, though it does not explicitly name an alternative.

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?

The description implies usage for converting document tables into spreadsheet/DB-ready data, but provides no explicit guidance on when to choose this over sibling tools like parserail_extract or parserail_structure, nor any exclusions. The use case is clear but under-specified.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.