Skip to main content
Glama

stagenth · 文档解析

Server Details

Parse PDF/Word/PPT/HTML to Markdown; tables as JSON, image extraction, RAG chunking, page ranges.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 4.2/5 across 4 of 4 tools scored.

Server CoherenceA
Disambiguation5/5

Each tool targets a distinct aspect of document processing: parsing to Markdown, extracting images, extracting tables, and chunking for RAG. The descriptions clearly differentiate their purposes, and doc_tables explicitly notes its difference from doc_parse.

Naming Consistency5/5

All tools follow the consistent pattern 'doc_' + a noun (chunk, images, parse, tables). Naming is uniform, lowercase, and underscore-separated, making the tool surface predictable.

Tool Count5/5

Four tools is a well-scoped number for a document parsing server, covering core parsing, image extraction, table extraction, and chunking without unnecessary redundancy.

Completeness5/5

The tool surface covers the full document processing pipeline: parse to Markdown, extract structured tables, extract images, and produce RAG-ready chunks. The only noted limitation (OCR) is explicitly disclosed and does not undermine the core workflows.

Available Tools

4 tools
doc_chunkAInspect

把文档切成适合 RAG / 向量嵌入的语义块(按标题层级切,超长块按段落细分)。

    返回 [{index, heading, text, chars}],喂检索/嵌入无需再自己写切块逻辑。
    
ParametersJSON Schema
NameRequiredDescriptionDefault
file_idNo已上传到文件中转站的文档 ID(与 data_base64 二选一)
filenameNo文件名带扩展名;base64 输入时必填以判类型
max_charsNo每块最大字符数(200-8000)
page_rangeNo页码范围,如 3-10,空=全部(PDF/PPT 有效)
data_base64No文档内容 base64(与 file_id 二选一)
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the chunking algorithm (by heading hierarchy, subdividing long chunks by paragraphs) and the return format. However, it does not mention side effects, non-destructive nature, input constraints, or error behavior, leaving gaps in behavioral disclosure.

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 sentences, front-loaded with purpose and method, followed by return format and benefit. Every sentence earns its place with no unnecessary words.

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 chunking tool, the description is fairly complete: it covers purpose, behavior, and output format. Schema descriptions cover all parameters. Minor gaps remain around edge cases (e.g., both file_id and data_base64 null, file type limitations) and alternative usage, but overall it is sufficient given the schema richness.

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 all 5 parameters, so the baseline is 3. The description adds minimal parameter-related context (e.g., chunking rules relate to max_chars), but mostly relies on the schema's parameter descriptions. No additional parameter semantics are needed.

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 uses a specific verb '切成' (cut into) with the resource '文档' (documents), and clearly states the scope: creating semantic chunks for RAG/vector embeddings. It distinguishes from sibling tools (doc_images, doc_parse, doc_tables) by focusing on chunking rather than images, parsing, or 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 description explicitly mentions when to use it ('喂检索/嵌入' – for retrieval/embedding) and highlights the benefit of not writing custom chunking logic. It does not explicitly list exclusions or compare with alternatives, but the context is clear enough for RAG/embedding workflows.

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

doc_imagesAInspect

抽取文档内嵌的图片(PDF / .docx / .pptx),打包 ZIP 落文件中转站并返下载 URL。

    过滤 <1KB 的图标噪声;多模态 AI 可配合 doc_parse 的文本一起理解图文文档。
    
ParametersJSON Schema
NameRequiredDescriptionDefault
file_idNo已上传到文件中转站的文档 ID(与 data_base64 二选一)
filenameNo文件名带扩展名;base64 输入时必填以判类型
max_imagesNo最多抽取图片数(1-100)
data_base64No文档内容 base64(与 file_id 二选一)
Behavior4/5

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

With no annotations provided, the description takes on the full burden. It discloses key behaviors: filters out <1KB icon noise, deposits the ZIP to the file transfer station, and returns a download URL. It also implies a side effect (creating a file in the transfer station) and implicitly a read-only operation on the input. It doesn't cover error handling or rate limits, but given the tool's scope, these are acceptable omissions.

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 sentences. The first is a concise action statement covering the core function. The second adds valuable filtering behavior and a use-case tip. No extraneous words; every sentence serves a purpose. It is front-loaded with the main action.

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 tool with 4 params and no output schema, the description covers the essential context: input formats, output format (ZIP + download URL), filtering behavior, and potential integration with doc_parse. It lacks explicit error scenarios or return value details beyond the URL, but these are not critical for selection. The description is sufficient for typical usage.

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?

The input schema already provides detailed descriptions for all 4 parameters, achieving 100% coverage. The tool description adds no additional parameter-specific meaning beyond the business context (e.g., file_id relates to the transfer station). Per the rubric, baseline 3 applies when schema coverage is high and the description adds minimal param info.

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 states it extracts embedded images from PDF/.docx/.pptx documents, packages them into a ZIP, and returns a download URL. It identifies the specific resource (embedded images) and the action (extract), distinguishing it from sibling tools like doc_parse (text extraction) and doc_tables (table extraction).

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 description provides a clear usage scenario: use when you need images from a document, and notes that multimodal AI can combine this with doc_parse's text for understanding image-text documents. It doesn't explicitly exclude alternatives like doc_tables, but the purpose is unambiguous. This constitutes clear context without explicit when-not-to-use guidance.

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

doc_parseAInspect

把 PDF / Word(.docx) / PPT(.pptx) / HTML / 纯文本 解析成干净 Markdown + 结构化(按实际解析页数计费,每页 1 credit)。

    纯解析 + 格式转换、不生成任何 AI 内容;扫描件 OCR 暂未支持。
    支持 page_range 只解析指定页码段(只按解析的页数扣费)。
    
ParametersJSON Schema
NameRequiredDescriptionDefault
file_idNo已上传到文件中转站的文档 ID(与 data_base64 二选一)
filenameNo文件名带扩展名;base64 输入时必填以判类型(.pdf/.docx/.pptx)
max_pagesNo最多解析页数,0=全部
page_rangeNo页码范围,如 3-10 或 5,空=全部(PDF/PPT 有效)
data_base64No文档内容 base64(与 file_id 二选一)
Behavior5/5

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

With no annotations, the description carries the full burden and delivers by disclosing billing (per-page credits), the pure-parsing nature, lack of OCR support, and page_range behavior. These details go well beyond a basic purpose statement and set accurate expectations.

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 compact, using three sentences to cover capabilities, limitations, and billing. Every sentence provides value, with no fluff or repetition.

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?

The tool has no output schema, and the description explains input formats, limitations, and billing, but it leaves the term 'structured' undefined. Given the moderate complexity and the existence of sibling tools, the description is sufficiently complete for an agent to select and invoke the tool correctly.

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?

The input schema already describes all 5 parameters with 100% coverage, so the baseline is 3. The description adds billing semantics tied to parsed pages, which enriches the meaning of max_pages and page_range beyond the schema's syntax-level details.

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 states the tool parses PDF/Word/PPT/HTML/plain text into clean Markdown and structured format, using a specific verb and listing supported file types. It distinguishes itself from sibling tools by emphasizing full-document parsing and conversion rather than AI content generation.

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?

It provides clear context about pure parsing (no AI content) and the OCR limitation, which tells users when not to use it. However, it does not explicitly mention alternatives like doc_chunk, doc_images, or doc_tables, so it falls short of a full usage guide.

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

doc_tablesAInspect

抽取文档中的表格(PDF / .docx / .pptx),转成 headers+rows 的 JSON 可直接计算。

    与 doc_parse 的区别:表格不再压平成 markdown 竖线文本,而是结构化行列,
    AI 可直接算合计/对比;PDF 用版面识别找表格。
    
ParametersJSON Schema
NameRequiredDescriptionDefault
file_idNo已上传到文件中转站的文档 ID(与 data_base64 二选一)
filenameNo文件名带扩展名;base64 输入时必填以判类型
max_pagesNoPDF 最多扫描页数(1-100)
data_base64No文档内容 base64(与 file_id 二选一)
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the output format (headers+rows JSON, directly computable) and mentions PDF layout recognition, adding behavioral context. However, it does not address potential limitations such as handling of files without tables, failure modes, or processing constraints beyond the schema's max_pages parameter.

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 sentences, front-loaded with the core purpose and output format. The second sentence efficiently adds sibling differentiation and PDF-specific behavior. No wasted words.

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?

The tool is moderately complex with 4 parameters and no output schema. The description covers the return format (headers+rows JSON) and the core use case, making it fairly complete. It lacks details on edge cases (e.g., no tables found, file size limits) but remains adequate for typical use.

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%, so the baseline is 3. The description adds marginal parameter-related context by noting PDF uses layout recognition, which relates to max_pages, but does not explain parameter interactions or provide additional syntax/format details 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?

The description clearly states the tool extracts tables from PDF/.docx/.pptx and converts them to structured headers+rows JSON. It distinguishes itself from the sibling doc_parse by explicitly contrasting the structured output with flattened markdown pipe text.

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 description provides a clear use case (direct computation) and explicitly contrasts with doc_parse, naming the alternative tool. However, it does not mention when to use doc_tables over doc_chunk or doc_images, nor does it state when not to use it beyond the doc_parse distinction.

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

Discussions

No comments yet. Be the first to start the discussion!

Related MCP Servers

View all MCP Servers

Try in Browser

Your Connectors

Sign in to create a connector for this server.

Resources