Skip to main content
Glama

frontmatter

Generate correctly-formatted frontmatter for Hugo, Jekyll, Astro, Next.js, Dev.to, Hashnode, and Ghost. Auto-extracts description, reading time, slug, and suggests tags from article content. No external API calls required.

Instructions

Generate correctly-formatted frontmatter for SSGs and publishing platforms: hugo, jekyll, astro, nextjs, devto, hashnode, ghost. FREE. Auto-extracts description, reading_time, slug, and suggests tags from content. No external calls. Returns: { frontmatter: string, format, extracted: { slug, reading_time_min, description } }. Common errors: unknown format (VALIDATION_ERROR).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesThe article title
contentYesThe article content — used to auto-extract description, reading time, tags
formatYesTarget frontmatter format
tagsNoOptional tags — auto-extracted from content if omitted
canonical_urlNoCanonical URL for the article
featured_imageNoFeatured/cover image URL
authorNoAuthor name
draftNoWhether the post is a draft (default: true)
Behavior5/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 explicitly states 'No external calls' and describes auto-extraction of description, reading time, slug, and tags. It also specifies the return format and common errors (VALIDATION_ERROR for unknown format). This covers key behavioral aspects thoroughly.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

The description is a single paragraph that packs important information efficiently: purpose, formats, features, return, and common errors. It is front-loaded and every sentence adds value. However, it could be slightly more structured (e.g., bullet points) for clarity, but it remains effective.

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?

With 8 parameters (3 required) and no output schema, the description compensates by explaining the return value and extracted fields. It mentions common errors. The schema covers parameter meanings. The description is sufficient for an AI agent to use the tool, though edge cases (e.g., empty content) are not addressed.

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 baseline is 3. The description adds context about auto-extraction from content but does not add substantial new meaning beyond what the schema already provides for each parameter. The explanation of auto-extraction is already implied by the schema descriptions.

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 generates frontmatter for specific SSGs and platforms, listing supported formats (hugo, jekyll, etc.). It uses a specific verb ('Generate') and resource ('frontmatter'), and the scope is clearly defined. The tool is distinct from siblings like publish or save_draft.

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

Usage Guidelines4/5

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

The description mentions it is FREE and makes no external calls, which helps with usage decisions. It implies this is a utility step before publishing, but does not explicitly state when not to use it or alternatives. However, the context of sibling tools (publish, save_draft, etc.) makes the use case clear.

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/MendleM/pipepost'

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