Skip to main content
Glama

Markdown a texto plano

markdown-to-text
Read-onlyIdempotent

Elimina la sintaxis Markdown (títulos, énfasis, enlaces, listas, tablas…) y devuelve texto plano. Cuándo: hay que leer, construir o revisar con exactitud una URL, una cabecera HTTP, un token, una versión, un rango de IP, un documento HTML o Markdown o un archivo para agentes. No para: convertir HTML en texto plano legible (html-to-text). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.

EN: Strips Markdown syntax (headings, emphasis, links, images, code fences, lists, blockquotes, tables, inline HTML) and returns plain text, keeping link and image text. When: a URL, HTTP header, token, version string, IP range, HTML or Markdown document or agent-readiness file has to be parsed, built or checked exactly. Not for: converting HTML to readable plain text by string processing (html-to-text). [EN completo / full EN: inputSchema.description]

Input Schema

NameRequiredDescriptionDefault
markdownYesMarkdown (string; required).

Output Schema

NameRequiredDescriptionDefault
textNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / markdown / examples
      Added value: +[
      +  "# Title\n\n**Bold** and _it_ with [a link](http://x.y) and `code`.\n\n- one\n- two"
      +]
  2. Changed1 schema field changed
    • addedInput schema / description
      Added value: +"EN: Strips Markdown syntax (headings, emphasis, links, images, code fences, lists, blockquotes, tables, inline HTML) and returns plain text, keeping link and image text. When: a URL, HTTP header, token, version string, IP range, HTML or Markdown document or agent-readiness file has to be parsed, built or checked exactly. Not for: converting HTML to readable plain text by string processing (html-to-text). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. Limits: JSON input up to 64 KB, 1 s per call, result up to 1 MB."
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, closed-world and non-destructive, but the description still adds value the structured data cannot: deterministic output, no network access, no persisted state, and concrete operational limits (64 KB input, 1 s per call, 1 MB result). It also discloses semantics beyond stripping — link and image text are preserved.

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?

Front-loaded and well ordered (purpose → when → not-for → side effects → limits), but the full English block duplicates the Spanish text verbatim, and that same English block is repeated again inside the input schema description. Roughly half the content is redundant restatement rather than new 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?

An output schema exists, so return-value explanation is unnecessary, and the description covers safety profile, determinism, limits and the sibling alternative. The one loose end is the size-ceiling discrepancy (64 KB stated vs. 1 MB maxLength in schema), which an agent could trip over on large inputs.

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?

With a single required parameter at 100% schema coverage (including an example and maxLength), the schema carries the baseline. The description adds content-level meaning by specifying what survives the transformation (link/image text kept), which affects what the caller should send. Minor tension: the description says 64 KB input while the schema allows maxLength 1048576 characters.

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?

States a specific verb and resource ('Elimina la sintaxis Markdown … devuelve texto plano') and enumerates exactly which constructs are stripped (headings, emphasis, links, lists, tables, code fences). It also distinguishes itself from the nearest sibling by name (html-to-text), so the agent can separate the two without inspecting schemas.

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 'Cuándo' clause gives concrete trigger cases (URL, HTTP header, token, version string, IP range, HTML/Markdown document, agent-readiness file that must be parsed, built or checked exactly). The 'No para' clause names the exclusive alternative html-to-text and the condition that selects it, so routing is unambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources