Skip to main content
Glama
timolein74

asterpay-mcp-server

generate_pdf

Convert HTML content to PDF documents in A4 or Letter format. Returns PDF files for download or sharing.

Instructions

Convert HTML content to PDF document. Returns the PDF file. Cost: $0.03 USDC via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
htmlYesHTML content to convert to PDF
formatNoPage format (default: 'A4')
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively reveals key traits: the tool performs a conversion (implying mutation), returns a PDF file, and includes a cost detail ('$0.03 USDC via x402'), which is crucial for financial awareness. However, it lacks information on error handling, rate limits, or authentication needs.

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 extremely concise and front-loaded, with two sentences that efficiently convey the core functionality and cost without any wasted words. Each sentence adds critical value, making it easy for an agent to parse quickly.

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

Completeness3/5

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

Given the tool's moderate complexity (conversion with a cost), no annotations, and no output schema, the description is partially complete. It covers the basic operation and cost but omits details like response format, error cases, or prerequisites, leaving gaps that could hinder effective tool invocation.

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 schema already documents both parameters ('html' and 'format') thoroughly. The description adds no additional semantic details beyond what the schema provides, such as HTML formatting requirements or PDF quality options, resulting in a baseline score of 3.

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 specific action ('Convert HTML content to PDF document') and the resource ('PDF file'), making the purpose immediately apparent. It distinguishes this tool from siblings like 'take_screenshot' or 'generate_qr_code' by focusing on HTML-to-PDF conversion rather than other document or image generation tasks.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. While it mentions a cost, it does not specify scenarios where this tool is preferred over other document generation tools or when it should be avoided, leaving the agent without contextual usage instructions.

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/timolein74/asterpay-mcp-server'

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