Skip to main content
Glama
AiAgentKarl

mcp-interactive-ui-server

render_markdown

Combine Markdown with interactive UI components like buttons, toggles, and inputs for richer client interactions.

Instructions

Erweitertes Markdown mit eingebetteten interaktiven Elementen.

Kombiniert Standard-Markdown mit interaktiven UI-Komponenten wie Buttons, Toggles, Inputs und Accordions, die MCP-Clients inline rendern können.

Interaktive Elemente werden via Platzhalter {{element_id}} im Markdown eingebettet.

Unterstützte Element-Typen:

  • button: {"type": "button", "id": "btn1", "label": "Click", "action": "submit"}

  • toggle: {"type": "toggle", "id": "tog1", "label": "Dark Mode", "default": false}

  • input: {"type": "input", "id": "inp1", "placeholder": "Enter value..."}

  • accordion: {"type": "accordion", "id": "acc1", "title": "Details", "content": "..."}

  • alert: {"type": "alert", "id": "alt1", "severity": "info", "message": "Hinweis..."}

  • badge: {"type": "badge", "id": "bdg1", "text": "New", "color": "green"}

  • tabs: {"type": "tabs", "id": "tab1", "items": [{"label": "Tab 1", "content": "..."}]}

Args: content: Markdown-Inhalt (mit optionalen {{element_id}} Platzhaltern) interactive_elements: Liste interaktiver Element-Definitionen theme: "auto", "light" oder "dark"

Returns: JSON-String mit dem Enhanced-Markdown-Schema

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYes
interactive_elementsNo
themeNoauto

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the full burden. It explains the embedding mechanism via placeholders, lists supported element types with JSON structures, and states the return type (JSON string with enhanced Markdown schema). It lacks details on error handling or limits but is fairly transparent for a rendering tool.

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 well-structured: a concise header, explanatory paragraphs, a list of supported types with JSON examples, and an 'Args:' section. Every sentence adds value and there is no 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?

Given the complexity (3 parameters, one required, output schema exists), the description covers the main aspects: purpose, parameters, supported elements, and output format. It omits constraints like maximum input length or error behavior, but is nearly complete for an agent to use the tool correctly.

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?

Schema coverage is 0%, so the description fully compensates. It provides an 'Args:' section describing each parameter (content, interactive_elements, theme) with types, defaults, and concrete JSON examples for each element type. This adds significant meaning beyond the schema's 'title' and 'type' fields.

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 'Erweitertes Markdown mit eingebetteten interaktiven Elementen', specifying the tool renders Markdown with interactive components. It distinguishes from sibling tools like create_chart, create_dashboard, etc., which are about creating different artifacts.

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 usage for rendering interactive Markdown but does not explicitly state when to use this tool versus alternatives or provide exclusion criteria. No comparative guidance is given.

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/AiAgentKarl/mcp-interactive-ui-server'

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