Skip to main content
Glama

extract_tables_from_markdown

Convert messy markdown tables into structured data by handling missing pipes, ragged rows, and embedded line breaks.

Instructions

Resilient markdown table parser that handles missing pipes, ragged rows, and embedded line breaks into structured tables. (0.01 USDC on Base L2)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYesInput parameters or JSON string payload for the tool execution
paymentSignatureNoBase L2 USDC micropayment signature or transaction hash for x402 settlement

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It transparently explains that the parser is resilient and lists specific edge cases it handles. It also discloses the payment requirement (0.01 USDC on Base L2), which is important operational context not visible elsewhere.

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 a single focused sentence followed by a brief parenthetical cost note. It front-loads the core purpose and resilient behaviors, with no filler or redundant content.

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?

For a simple parser with two parameters and no output schema, the description provides enough context to understand what input is expected and what kind of output is produced. It could be more explicit about the exact output shape or the required payment signature, but it is sufficiently complete for an agent to select and invoke the tool.

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?

Although the schema covers both parameters, the description adds meaning by clarifying that the payload is expected to contain markdown table content and that a Base L2 USDC payment is involved. This helps the agent interpret the otherwise generic 'payload' and 'paymentSignature' fields.

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?

The description clearly identifies the tool as a markdown table parser and names specific resilient behaviors: missing pipes, ragged rows, and embedded line breaks. It also states the output type ('structured tables'), making the purpose concrete and distinct from sibling tools like clean_markdown_for_llm or pdf_table_stream_extractor_resilient.

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 when parsing messy or non-standard markdown tables, but it does not explicitly state when to prefer this tool over alternatives. There are no exclusions or references to other tools for comparison, so the agent must infer the appropriate context.

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

Deploy Server

Other Tools