Skip to main content
Glama

ScorpTech x402 Tools

Markdown Table

markdown_table
Read-onlyIdempotent

Build or parse Markdown (GitHub-flavoured) tables. Build: from an array of objects, an array of arrays or CSV, with column selection / order / renaming, alignment (numeric columns right-aligned automatically), pipe / newline escaping, cell truncation and padding that respects wide CJK / emoji characters; also returns an HTML table. Parse: extract every table from Markdown into headers, alignment and typed rows (JSON). Returns JSON with: mode, columns, align, rowCount, markdown, html. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/markdown-table

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "markdown_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNoRows: array of objects, array of arrays (first row = header unless headers given) or a CSV string
alignNoPer-column alignment (default auto)
prettyNoPad columns to equal width
columnsNoColumns to include, in order
headersNoHeader labels (rename / for header-less arrays)
numbersNoParse mode: convert numeric cells
markdownNoParse mode: Markdown containing tables
maxWidthNoTruncate cells wider than this

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the remaining burden is low, and the description goes well beyond them: it discloses a paid requirement ($0.001 USDC per successful call via x402 on Base or Solana), an HTTPS alternative endpoint, the exact returned JSON keys, and behaviors like automatic numeric right-alignment, pipe/newline escaping, and CJK/emoji-aware padding. Payment/auth cost is precisely the kind of operational context annotations cannot carry.

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?

Purpose is front-loaded in the first clause, followed by build capabilities, parse capabilities, return shape, and finally cost/endpoint. It is dense and long but every clause carries information an agent would need; there is no filler or repetition of schema prose.

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?

With 8 optional parameters and no output schema, the description does the necessary work by enumerating the response fields (mode, columns, align, rowCount, markdown, html). The one gap is that with zero required parameters, mode selection (data vs markdown) is only implied rather than stated, leaving an agent to infer which input triggers which path.

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: it explains that 'auto' alignment right-aligns numeric columns (the enum's semantic is otherwise undocumented in the schema), that maxWidth truncates cells, and that padding respects wide characters. It does not clarify which parameters apply only in build vs parse mode beyond the inline 'Parse mode:' prefixes.

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 names a specific verb pair and resource — 'Build or parse Markdown (GitHub-flavoured) tables' — and then enumerates the exact inputs accepted for each mode (array of objects, array of arrays, CSV / Markdown source). This distinguishes it clearly from siblings like html_to_markdown and markdown_to_html, which operate on whole documents rather than tables.

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?

The Build/Parse split plus the mode-scoped parameter notes ('Parse mode: Markdown containing tables', 'Parse mode: convert numeric cells') give an agent clear conditions for how to drive each mode. It stops short of explicit exclusions or a 'use X tool instead when...' routing statement, so it is strong context without full alternative guidance.

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