Skip to main content
Glama

Server Details

Pay-per-call document and web tools for AI agents: PDF parsing and OCR (Japanese-strong), web and structured extraction, invoice verification, company profiles and PDF utilities. x402 (USDC on Base), no API key; failed calls are never charged.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
ChatGPT
–
Claude
–

TDQS

A4/5.0

Scored across 14 tools

Disambiguation4/5

Descriptions are unusually careful, with explicit 'Choose this when...' guidance and cross-references (e.g. document_pipeline vs parse_document, extract_url vs structured_extract, ocr_image vs parse_document). The main residual overlap is quote_parse vs pdf_info, which both provide pre-payment information about a PDF, though the price-quote vs page-facts split is defensible. A few PDF tools (parse_document, pdf_info, quote_parse, document_pipeline) cluster tightly enough that an agent could occasionally misselect.

Naming Consistency4/5

Names are uniformly snake_case and mostly verb_noun (enrich_company, extract_url, parse_document, verify_invoice, quote_parse). The pdf_* family (pdf_info, pdf_merge, pdf_pages) uses a noun-first convention, and the meta tools use get_* (get_catalog, get_receipt, get_sample), which are minor deviations from a strict verb_noun pattern but still highly readable and grouped sensibly.

Tool Count5/5

14 tools sit squarely in the well-scoped range, and each earns its place across the distinct capability areas: PDF ops, image OCR, web extraction, structured extraction, invoice verification, and company enrichment, plus free meta tools. No redundant filler appears in the set.

Completeness4/5

The surface covers the full document lifecycle for the stated domain: inspect (pdf_info), parse (parse_document), transform (pdf_merge, pdf_pages, extract_url, structured_extract), OCR (ocr_image), verify (verify_invoice), and end-to-end pipeline (document_pipeline), plus enrichment and receipt/sample/catalog helpers. Minor gaps exist (e.g. no explicit web-page-to-schema counterpart is duplicated for images, and no batch/multi-file orchestration beyond merge), but agents can work around them.

Publisher details

Operator
Mart402 · Publisher source
Vendor relationship
First-party · Publisher source
Trust center
Not available
Restrictions
No account, API key or OAuth. Free tools work immediately. Each paid tool call requires an x402 payment in USDC on Base; calls without payment return the exact price and are never charged. · Publisher source

Available Tools

14 tools
document_pipelineDocument PipelineA
Idempotent
Inspect

One call: PDF invoice to parse (hallucination-guarded OCR) + field extraction + arithmetic verification (+optional issuer enrich). Flat $0.05/document; inputs validated before payment. Choose this when a PDF is an invoice/receipt and you want parse + field extraction + arithmetic verification in one paid call; for text only use parse_document.

Inputs: url (required), enrich, x_payment. Returns: body, status, how_to_pay, receipt_id, +1 more

enrich_companyEnrich CompanyA
Idempotent
Inspect

Company name/domain/URL to a verified profile from primary sources + GLEIF LEI and Japan NTA corporate-number registries. Per-field evidence + confidence, honest nulls; unresolved lookups never charged. $0.03/company. Choose this when you have a company NAME or DOMAIN and need a registry-grounded profile (GLEIF LEI / Japan NTA) with per-field evidence; pass country_hint 'jp' for Japanese companies.

Inputs: company (required), x_payment, country_hint. Returns: body, status, how_to_pay, receipt_id, +1 more

extract_urlExtract UrlA
Idempotent
Inspect

Extract a web page to clean Markdown + metadata (auto JS rendering, robots.txt respected). $0.005 fast / $0.01 rendered; cached results half price. Choose this when you need a web PAGE as clean Markdown to read yourself; to fill a schema use structured_extract, for a PDF use pdf_info then parse_document.

Inputs: url (required), ttl, mode, x_payment. Returns: body, status, how_to_pay, receipt_id, +1 more

get_catalogMart402 catalog (products, prices, policies)B
Read-onlyIdempotent
Inspect

Mart402 product catalog: all products, prices, payment config, error codes, rate limits. Free.

Inputs: no named parameters. Returns: body, status, how_to_pay, receipt_id, +1 more

get_receiptRe-fetch a paid result by receiptA
Read-onlyIdempotent
Inspect

Re-fetch a previously paid result for free by receipt id (every paid response carries receipt_id).

Inputs: receipt_id (required). Returns: body, status, how_to_pay, receipt_id, +1 more

get_sampleMart402 sample outputA
Read-onlyIdempotent
Inspect

Free recorded sample response for a paid product (from real production runs, marked sample:true) - see the exact response shape before paying anything. Available: document-pipeline, enrich, extract, jp-bonus-net, jp-business-days, jp-company, jp-consumption-tax, jp-crypto-tax, jp-dependent-threshold, jp-mortgage, jp-overtime-wage, jp-payroll-net, jp-payroll-suite, jp-payslip-audit, jp-retirement-tax, jp-social-insurance, meal-vision, ocr, parse, pdf-info, pdf-merge, pdf-pages, portrait-analysis, report-pack, structured, style-profile, style-report, verify.

Inputs: product (required). Returns: body, status, how_to_pay, receipt_id, +1 more

ocr_imageOcr ImageA
Idempotent
Inspect

OCR one image to text with dual-engine consensus, calibrated confidence and per-segment corroboration. Japanese-strong. Flat $0.05/image. Choose this when the input is an IMAGE (photo, screenshot, receipt); for PDFs use parse_document.

Inputs: lang, image_url, x_payment, image_base64. Returns: body, status, how_to_pay, receipt_id, +1 more

parse_documentParse DocumentA
Idempotent
Inspect

Parse a PDF to structured Markdown (hallucination-guarded OCR for scanned pages, Japanese-strong). Pass url (one step: the 402 quotes the exact price for that PDF) or quote_id from quote_parse (price fixed by the quote). One of the two is required. Choose this when the input is a PDF and you want its full text as Markdown; call pdf_info first if you do not know whether it is scanned, and use document_pipeline instead for invoices you also want verified.

Inputs: url, quote_id, x_payment. Returns: body, status, how_to_pay, receipt_id, +1 more

pdf_infoPdf InfoA
Idempotent
Inspect

PDF facts before you pay for parsing: pages, metadata, per-page text volume, scanned-or-not estimate. $0.001. Choose this first for any unknown PDF (cheapest real call); then parse_document, pdf_pages or document_pipeline.

Inputs: url (required), x_payment. Returns: body, status, how_to_pay, receipt_id, +1 more

pdf_mergePdf MergeA
Idempotent
Inspect

Merge 2-10 PDFs into one, in order. Deterministic, $0.003.

Inputs: urls (required), x_payment. Returns: body, status, how_to_pay, receipt_id, +1 more

pdf_pagesPdf PagesA
Idempotent
Inspect

Extract pages from a PDF by 1-based ranges (e.g. 1-3,7) into a new PDF. Deterministic, $0.002.

Inputs: url (required), pages (required), x_payment. Returns: body, status, how_to_pay, receipt_id, +1 more

quote_parseQuote a PDF parse (free, exact price)A
Read-onlyIdempotent
Inspect

Free quote for PDF parsing: page count, route (text/scan-OCR) and the exact final price, before any payment. Use the returned quote_id with parse_document (on /mcp or /mcp/docs).

Inputs: url (required). Returns: body, status, how_to_pay, receipt_id, +1 more

structured_extractStructured ExtractA
Idempotent
Inspect

Fill YOUR JSON schema from any URL (hybrid LLM + deterministic canonicalization). $0.03/call. Choose this when you have your OWN JSON schema to fill from any page; for company profiles use enrich_company or jp_company_profile.

Inputs: url (required), schema (required), x_payment, instructions. Returns: body, status, how_to_pay, receipt_id, +1 more

verify_invoiceVerify InvoiceA
Idempotent
Inspect

Verify extracted invoice fields: arithmetic consistency, line-item totals, JP registration number check-digit + corporate-number existence observation (official Japan NTA registry), accounting-ready JSON. $0.015/call. Choose this when you already HAVE invoice fields (from your own extraction) and only need them checked; to start from a PDF use document_pipeline.

Inputs: fields (required), x_payment, line_items. Returns: body, status, how_to_pay, receipt_id, +1 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to convert PDFs and images into validated, structured JSON for invoices, receipts, contracts, and resumes, or into any caller-supplied JSON Schema, through five extraction tools. Each tool call pays per use in USDC over x402 from a wallet the caller supplies, with no signup or API key required.
      51 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to call pay-per-request AI and web tools—including web-to-Markdown reading, PDF extraction, translation, compliance lookups, domain/email/Solana data, and prediction-market intelligence—without accounts or API keys, settling each call in USDC via x402 on Base, Solana, or Arc.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Pay-per-call tools for AI agents via x402 (USDC on Base): web-to-Markdown, PDF, provenance (human vs synthetic), trusted lookup with citations, a 3.9M-business global directory, LatAm ID validators, agent-forged tools and 2,000+ proxied x402 services. No API keys, charged only on success, free trial without a wallet. Remote: https://toll402.dev/mcp · Local: npx -y toll402-mcp
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources