Skip to main content
Glama
skmprb

s3-md-pdf-converter-mcp

by skmprb

Convert S3 Markdown File to PDF

convert_s3_markdown_to_pdf

Convert Markdown files stored in S3 to PDF. Specify bucket and key, customize page format and margins, then save locally or upload the PDF back to S3.

Instructions

Convert a markdown file from S3 bucket to PDF using bucket and key parameters

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesS3 object key (path to the markdown file)
bucketYesS3 bucket name
formatNoPDF page format (default: A4)
marginNoPDF margins (e.g., '0.5in', '20mm')
regionNoAWS region (defaults to us-east-1)
outputPathYesPath where the PDF should be saved (local path or S3 key for upload)
uploadToS3NoWhether to upload the PDF back to the same S3 bucket (default: false)
Behavior2/5

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

No annotations are provided, and the description only states the core conversion action without disclosing any side effects (e.g., whether the file is uploaded back to S3, credential requirements, or output handling). It fails to describe behavior beyond the literal conversion, leaving the agent without information about potential permissions or network dependencies.

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 a single, concise sentence that front-loads the action and resource. It contains no filler or redundant explanation, making it highly scannable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has seven parameters, nested objects, and no output schema, the description is sparse. It doesn't mention the uploadToS3 behavior, default region, or any distinctions from sibling tools, which are important for correct selection and invocation. The schema covers parameters, but the description lacks contextual depth beyond the basic conversion.

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 has 100% coverage with all 7 parameters described, so the baseline is 3. The description adds no extra parameter information beyond mentioning bucket and key, which is already in the schema. It does not clarify the format/margin parameters or outputPath semantics.

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 the specific verb 'Convert' with clear source ('markdown file from S3 bucket') and target (PDF), and explicitly mentions bucket and key parameters, distinguishing it from sibling tools like convert_markdown_to_pdf which likely handle non-S3 sources.

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?

The description implies that this tool is for S3-hosted markdown files, but it does not explicitly state when to use it over sibling tools like markdown_content_to_pdf or convert_markdown_to_pdf, nor does it provide exclusions or prerequisites. This is only implied usage, not clear guidance.

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/skmprb/md-mermaid-chart-pdf-mcp'

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