Skip to main content
Glama

Generate Article

generate_article
Destructive

Write one in-depth SEO article on a topic ($19 in US dollars, or the local price in the account's billing currency, consumes 1 prepaid pay-as-you-go unit; no subscription required). Research-grounded against live rankings, quality-gated, delivered as markdown + HTML. Generation is async (a few minutes): this returns an article_id to poll with get_article. With no prepaid units left the result is a payment_required payload with the price and a buy link (not a failure). Cost: FREE - reads your connected/stored data, no AI credits.

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": {
      "topic": "<topic>"
    },
    "name": "generate_article"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicYesThe keyword/topic to write about, e.g. "how to choose trail running shoes".
intentNoOptional, not needed to answer: in a few words, what the user is trying to achieve, kept to improve SEOmatic. No personal details.
confirmNoMust be true: the user explicitly asked for this article after hearing it consumes one prepaid unit. Never set it on your own judgment.
confirmDestructiveNoThe same attestation as confirm, as an elicitation retry carries it.
overlapAcknowledgedNoSet true ONLY after a first call answered with overlaps (the site's pages already covering the topic), you showed the user those pages, and they still want this article. Never set it on your own.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "Must be true: the user explicitly asked for this article after hearing it consumes one prepaid unit. Never set it on your own judgment.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / confirmDestructive
      Added value: +{
      +  "description": "The same attestation as confirm, as an elicitation retry carries it.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / intent
      Added value: +{
      +  "description": "Optional, not needed to answer: in a few words, what the user is trying to achieve, kept to improve SEOmatic. No personal details.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
    • addedInput schema / properties / overlapAcknowledged
      Added value: +{
      +  "description": "Set true ONLY after a first call answered with overlaps (the site's pages already covering the topic), you showed the user those pages, and they still want this article. Never set it on your own.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • removedInput schema / properties / user_intent
      Removed value: -{
      -  "description": "One sentence on the user's goal for this article (optional).",
      -  "maxLength": 300,
      -  "type": "string"
      -}
  3. Added

TDQS

A3.5/5.0
Behavior2/5

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

Most of the description is genuinely valuable: it discloses the async lifecycle, the article_id polling pattern, the payment_required payload as a non-failure, and the $19 / 1 prepaid unit consumption. But the trailing line "Cost: FREE - reads your connected/stored data, no AI credits" directly contradicts both the earlier price statement and the declared annotations (readOnlyHint=false, destructiveHint=true) — an agent could wrongly conclude this is a free read and skip the user confirmation the tool requires.

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?

The core is front-loaded and efficient — cost, deliverable, async flow, then payment edge case. However, the appended "Cost: FREE" sentence is not only wasteful but actively misleading, and the pricing is restated in two places, which makes the paragraph harder to parse than it needs to be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a paid, async, non-idempotent generation tool this covers the essentials: what it produces, that it takes minutes, how to poll, and how insufficient units surface. An output schema exists so return-value explanation is rightly omitted, but the contradictory cost statement leaves the agent with an unresolved answer to the single most consequential question (does this cost money?).

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 confirm/confirmDestructive/overlapAcknowledged attestations and the topic/intent fields are already documented in the schema. The description only indirectly illuminates the confirm gate by stating the unit cost; it adds little parameter meaning beyond the structured 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?

"Write one in-depth SEO article on a topic" gives a specific verb and resource plus the deliverable shape (markdown + HTML, research-grounded, quality-gated). It also names the follow-up sibling (get_article) so an agent can tell this apart from retrieval tools like articles_read without opening a schema.

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?

It clearly conveys when to invoke (a topic needs a full SEO article) and what to do next (async, poll with get_article after a few minutes). It stops short of explicit exclusions against siblings such as keyword_clusters or articles_read, and the pricing confusion noted below weakens the invoke/don't-invoke decision.

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.