Skip to main content
Glama

generate_book_from_markdown

Convert structured markdown content into a complete book in PDF, HTML, or Markdown format for coding tutorials.

Instructions

[기본/권장] 사용자의 일반적인 교재 생성 요청 시 이 툴을 최우선으로 기본 사용하십시오.

[중요: 출력 포맷 확인 필수] 사용자가 '교재 만들어줘'라고 요청할 때 특정 포맷(PDF, HTML, Markdown)을 명시하지 않았다면, 임의로 기본값을 선택해서 툴을 호출하지 말고 반드시 먼저 사용자에게 어떤 포맷으로 생성할지 물어보십시오. (예: "PDF, HTML, Markdown 중 어떤 형식으로 교재를 만들어 드릴까요?") 사용자가 대답으로 포맷을 지정하면 그에 맞춰 output_format을 설정하여 이 툴을 호출하십시오.

  • "pdf" : 인쇄/배포용 완성 교재(한글 폰트 임베딩, 표지·콜로폰 포함).

  • "html" : 웹에서 바로 열어보는 교재(PDF와 동일 레이아웃, 변환 비용 없음).

  • "markdown": PDF 변환 전 단계의 원본 마크다운을 그대로 저장(빠른 텍스트·토큰 절약).

[마크다운 작성 규칙]

  • 챕터 시작: # 01장. 챕터 제목

  • 서브 섹션 필수 구성:

    1. 들어가며

    2. 학습 목표

    3. 핵심 이론 비교표

    4. 핵심 이론 설명

    5. 핵심 코드 분석

    6. 마주친 문제와 디버깅

    7. 실무 연동 팁

    8. 심화 학습

    9. Q&A 표

    10. 용어 사전

    11. 공식 링크

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topic_titleYes
output_formatNopdf
markdown_contentYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
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 explains the output formats and the expected markdown structure, but does not disclose behavioral traits such as error handling, whether the tool is idempotent, or any side effects. It adds some value beyond the schema but lacks depth 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.

Conciseness3/5

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

The description is lengthy due to the markdown writing rules, which could be restructured or shortened. While it is front-loaded with the key usage instruction, the bulk of text may hinder quick comprehension. It is adequately structured but not maximally concise.

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?

Given the tool has an output schema (exists), the description does not need to explain return values. It covers the main usage, parameter semantics, and content requirements. However, it does not mention error conditions or what happens if input is invalid, which keeps it from being fully complete.

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?

Schema coverage is 0%, so the description must explain parameters. It does so for 'output_format' by detailing each format's meaning (pdf for print, html for web, markdown as source). For 'markdown_content', it provides detailed writing rules specifying the required chapter structure. Only 'topic_title' lacks additional explanation, but the overall compensation is strong.

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's purpose: generating a book from markdown content. It explicitly says it is the primary tool for textbook creation, and the verb 'generate' combined with 'book from markdown' precisely identifies the resource and action.

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

Usage Guidelines5/5

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

The description provides explicit usage guidance: it instructs the agent to use this tool first for textbook generation, and crucially tells the agent to ask the user for the output format if not specified. It also explains when to avoid defaulting, which is excellent contextual instruction.

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/PEANUTBUTTER1001/vibetutor-mcp'

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