Skip to main content
Glama

devbook_render_markdown

Converts Markdown text into sanitized GitHub-Flavored HTML using Devbook's pipeline. Use it to safely turn raw Markdown into clean, ready-to-display HTML.

Instructions

Render Markdown text to sanitized HTML using Devbook's GitHub-flavored markdown pipeline

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "devbook_render_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesMarkdown text to render into sanitized GitHub Flavored HTML

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose two real behavioral traits: output is sanitized (so some input markup may be stripped) and the dialect is GitHub-flavored (so feature support is bounded). It says nothing about whether the operation is side-effect free, how invalid or oversized input is handled, or what happens to embedded HTML/scripts, which matters for a tool whose core contract is sanitization.

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?

One sentence, front-loaded with the verb and the transformation, with no filler or redundant restatement of the tool name. Every phrase (sanitized, GitHub-flavored, Devbook pipeline) contributes information.

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 one-parameter pure renderer, the definition covers the essentials: required input, output type, and sanitization/dialect behavior. Missing pieces like error behavior and output determinism are minor given the tool's simplicity and the absence of an output schema to explain return values.

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?

There is a single required parameter at 100% schema description coverage, so the schema already explains that `text` is the Markdown to render. The description adds essentially nothing beyond that; the GitHub-flavored dialect detail it mentions is also present in the schema wording. Baseline 3 is appropriate when the schema does the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a concrete verb and transformation: "Render Markdown text to sanitized HTML using Devbook's GitHub-flavored markdown pipeline." That is specific enough that an agent knows exactly what comes in and what comes out, and it is clearly distinct from the CRUD siblings (projects, prompts, attachments). It stops short of explicitly naming how it relates to those siblings, but no plausible confusion exists.

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?

Usage is only implied by the input-to-output transformation; there is no explicit statement of when to reach for this tool (e.g., to preview or validate Markdown before storing it in a prompt) and no when-not conditions. Because this is a pure rendering utility with no close alternative among the listed siblings, the omission is less costly, but the guidance remains implicit rather than stated.

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