Skip to main content
Glama

Document to JSON

Server Details

Extract structured JSON from any document: invoices, receipts, contracts, purchase orders, bills. Auto-detects type and returns vendor, customer, line items, totals.

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL

TDQS

A4/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of confusing it with another tool. Its purpose is unmistakably document extraction to JSON.

Naming Consistency5/5

The single tool name follows a clear verb_noun snake_case convention (extract_document). There are no other names to introduce inconsistency.

Tool Count4/5

For a narrow, single-purpose document-to-JSON utility, one tool is reasonable. It is slightly thin if users expect support for batch processing or file input, but not mismatched.

Completeness4/5

The tool covers the core extraction operation and claims auto-detection for common document types. Minor gaps exist, such as batch processing or an explicit schema/type listing, but agents can work around them.

Available Tools

1 tool
extract_documentExtract Document to JSONAInspect

Extract structured JSON from any document text. Auto-detects document type (invoice, receipt, contract, purchase_order, bill) and extracts relevant fields: vendor, customer, line items, totals, dates, parties, obligations.

ParametersJSON Schema
NameRequiredDescriptionDefault
textYesRaw document text (invoice, receipt, contract, etc.)

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries full behavioral burden. It usefully discloses the auto-detection behavior (type is inferred, not supplied), which is real behavioral context beyond the schema. But it says nothing about failure modes, unrecognized document types, non-determinism, or size/rate limits.

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?

Two sentences, zero waste, and the core action is front-loaded ahead of the field enumeration. Nothing padded.

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?

There is no output schema, so the description must convey the return shape – and it does by listing the extracted field groups (vendor, customer, line items, totals, dates, parties, obligations). That covers the essentials for a one-parameter tool, though edge-case behavior remains unstated.

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?

Schema description coverage is 100% for the single 'text' parameter, so the baseline is 3. The description's phrase 'any document text' and its list of document types adds modest expectation-setting but no new syntax or format detail beyond the schema.

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?

States a specific verb and resource ('Extract structured JSON from any document text') and enumerates the auto-detected document types and target field groups, so an agent knows exactly what comes out. No siblings exist to differentiate from, but the purpose is unambiguous.

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?

Usage is implied by 'from any document text' – the agent can infer it takes raw document text. However, there is no explicit when-to-use context, no note on what happens with unsupported document types, and no guidance on input size or format limits beyond what the schema states.

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

Tool Schema Changelog

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

  1. 1 tool update
    • First observedextract_document

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Enables brand visibility monitoring across major AI platforms like ChatGPT, Claude, Gemini, and Perplexity. It allows users to track visibility scores, analyze competitor data, and receive actionable insights to improve AI-generated brand recommendations.
    16
    22 npm
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables tracking competitor websites, changelogs, blog feeds, and pricing pages with meaningful diffs, classification, and Markdown digests via MCP tools for listing, adding, removing competitors, running checks, and retrieving digests or changes.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Browse IndustryLens's published competitive-intelligence reports and head-to-head competitor comparisons from any AI agent — real, source-backed data.
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources