Skip to main content
Glama
AI Haber Bülteni MCP Server

AI Haber Bülteni MCP Server

export_newsletter_html

Re-export a saved Markdown newsletter as an HTML email using different brand settings, including logo URL, brand color, and company name.

Instructions

Kaydedilmiş bir .md bülteni farklı marka ayarlarıyla yeniden HTML e-postaya dönüştürür. Not: save_newsletter zaten otomatik HTML üretir; bu araç sadece farklı logo/renk/şirket adı ile yeniden dışa aktarmak için kullanılır.

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": {
      "filename": "<filename>"
    },
    "name": "export_newsletter_html"
  }
}

Input Schema

NameRequiredDescriptionDefault
logoUrlNoŞirket logosu URL (opsiyonel, uzak URL olmalı)
filenameYesDönüştürülecek .md dosya adı (newsletters/ altında, ör: ai-bulten-developer-weekly-2026-02-28.md)
outputDirNoBülten klasörü (varsayılan: newsletters/)newsletters
brandColorNoMarka ana rengi (hex formatında, ör: #1a73e8)#1a73e8
companyNameNoŞirket adı (footer'da görünür)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.14

TDQS

A4.2/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 behavioral burden; it does disclose that the source is an already-saved .md file and that it only re-renders branding, which implies no source mutation. However, it never says whether the existing HTML output is overwritten, where the file lands (only the outputDir param hints at this), or what is returned, so key side-effect questions for a write-adjacent tool remain open.

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?

Two sentences, zero filler: purpose first, then the disambiguating note. Both sentences earn their place and nothing is buried.

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 5-parameter, single-required-parameter tool with full schema coverage and no output schema, the description covers purpose, alternative, and intent well. The only real gap is overwrite/return behavior, which matters for a re-export operation but is modest given how well parameters are documented.

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 parameter meaning is already documented and baseline is 3. The description adds the useful framing that logo/color/company name are the branding knobs being varied, but contributes nothing about filename resolution or outputDir behavior beyond the schema.

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 ('converts a saved .md newsletter into an HTML email') and immediately scopes it to re-export with different brand settings. It explicitly distinguishes itself from the sibling save_newsletter, so an agent can route correctly 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?

Gives both the when ('only to re-export with a different logo/color/company name') and the when-not ('save_newsletter already generates HTML automatically'). The alternative is named and the selecting condition is unambiguous.

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