Skip to main content
Glama
nicklee002e
by nicklee002e

convert_document

Convert PDF, Word, Excel, and PowerPoint documents to Markdown with automatic USDC payment via x402. Returns markdown text or zip download URL for documents with images.

Instructions

문서를 Markdown으로 변환한다. x402로 USDC를 자동 결제한다.

가격이 max_usdc를 넘으면 결제하지 않고 거부한다(비용 폭주 방지). 이미지가 없는 문서는 markdown 텍스트를, 이미지가 포함된 문서는 zip 다운로드 URL을 반환한다.

Args: file_path: 변환할 로컬 파일 경로. max_usdc: 허용 최대 결제액(USDC). 견적이 이보다 크면 결제하지 않는다. poll_seconds: 변환 완료를 기다리는 최대 초. Returns: paid, txHash, priceUsdc, status, 그리고 markdown(이미지 없을 때) 또는 downloadUrl+format(이미지 있을 때).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_usdcNo
file_pathYes
poll_secondsNo
Behavior4/5

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

Discloses automatic USDC payment via x402, cost ceiling via max_usdc, and conditional return types. No annotations provided, but description compensates well. Could mention error/failure modes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Structured with intro and Args list. Somewhat verbose due to bilingual text, but each sentence adds value. Could be tighter by removing redundancy.

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?

Covers conversion, payment, cost control, output formats. No output schema but describes returns. Missing edge cases (e.g., errors, unsupported formats) but sufficient for typical use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All three parameters explained in plain language (Korean): file_path, max_usdc, poll_seconds. Adds meaning beyond schema, including defaults and purpose.

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?

Description clearly states verb 'converts' and resource 'document to Markdown', with specific behaviors (payment, conditional output). Distinguishes from sibling 'estimate_conversion' by being the execution tool.

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?

Provides implicit guidance: use when you want to convert with payment, reject if over max. Describes how output differs based on images. Lacks explicit when-not-to-use or direct sibling comparison.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nicklee002e/docconv-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server