Skip to main content
Glama

Generate article

generate_article
Destructive

Generate a text-only SEO blog article: an LLM drafts bounded HTML, internal links come from the blog customDomain sitemap.xml, and the article is saved as a draft by default. This MCP tool always disables cover and inline image generation. Pass topic or topicIdeaId. It spends paid model usage and usually takes 30–60 seconds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicNoTopic to write about. Skip if using topicIdeaId.
blogIdYesTarget blog id
localeNoLocale code (defaults to blog defaultLocale).
persistNoSave to Mongo. Default true. Set false for a dry-run preview.
autoPublishNoPublish immediately. Default false (saves as draft).
topicIdeaIdNoUse a previously-saved topic idea instead of supplying topic.title.
sitemapMaxUrlsNoMax sitemap URLs to feed the LLM as the allowed internal-link pool (default 150).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
articleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and non-idempotency, but the description adds traits the schema can't express: paid model usage, a 30–60 second latency expectation, and that cover/inline image generation is always disabled. The draft-by-default persistence behavior is also surfaced, though there is no mention of failure modes or whether an aborted run still consumes paid usage.

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?

Three tight sentences with zero filler. The core output shape and constraints are front-loaded, and cost/latency comes last where it belongs as a caveat.

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 7-parameter, open-world, paid, destructive generation tool with an output schema, the description covers cost, latency, persistence default, and the topic/topicIdeaId branch. It omits the mutual-exclusion edge case between topic and topicIdeaId and any note on partial-failure behavior, but the presence of an output schema removes the need to describe 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?

Schema description coverage is 100%, so the schema already documents topic, blogId, locale, persist, autoPublish, topicIdeaId and sitemapMaxUrls in detail. The description adds a little context around sitemapMaxUrls (internal-link pool) and persist (dry-run preview) but largely restates what the schema provides; baseline 3 is appropriate.

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?

States a specific verb+resource (generate a text-only SEO blog article) and adds real scope detail: LLM-drafted bounded HTML, internal links drawn from the blog customDomain sitemap.xml, saved as draft by default. It implicitly separates itself from the sibling create_article via 'generate an LLM draft', but never names or contrasts with that sibling explicitly, so differentiation is left to inference.

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?

It gives a genuine either/or input rule ('Pass `topic` or `topicIdeaId`'), which is useful routing. However it never says when to choose this tool over create_article, nor what happens if both or neither are supplied, so usage context is only partially implied.

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