Skip to main content
Glama
theseoagent-mcp
by jeremy665

Generate an article

generate_article

Queue a fact-checked SEO article for a target keyword, wait for completion, and receive an article_id for review or CMS publishing.

Instructions

Queue a fact-checked SEO article for a keyword and wait for it to finish (typically several minutes; this call polls up to 20 minutes). Cap: 1 article per project per day. On success the result includes article_id; use get_article to read the content and publish_article to push it to the connected CMS.

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

Input Schema

NameRequiredDescriptionDefault
guideNoOptional short angle/guide for the article (max 200 chars).
keywordYesTarget keyword or topic for the article (2-120 chars).
project_idYesProject UUID from list_projects.
custom_instructionsNoOptional extra instructions for the writer (max 500 chars).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses that the call is queued, that it polls up to 20 minutes, and that there is a daily per-project cap. Gaps remain around timeout/failure semantics (does a failed or timed-out run consume the daily quota?) and whether the polling is blocking on the client.

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?

A single dense paragraph that front-loads the action, then latency, then the cap, then the follow-up calls. Every clause carries information an agent needs; there is no filler.

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 long-running generation tool with no output schema, the description covers latency, quota, and the key return field (article_id), which is what an agent needs to chain calls. It stops short of describing failure modes or the rest of the result payload, leaving a small residual gap.

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 keyword, guide, custom_instructions, and project_id are already documented with length constraints in the schema. The description only reinforces that the article is scoped to a keyword and a project, adding no new 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?

The description opens with a specific verb and resource ('Queue a fact-checked SEO article for a keyword') and states the blocking behavior ('wait for it to finish'). It is clearly distinguishable from siblings get_article and publish_article, which are named as downstream steps rather than alternatives.

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 gives explicit sequencing guidance — call this, then use get_article to read the content and publish_article to push to the CMS — plus a hard usage constraint of 1 article per project per day. It lacks an explicit 'do not use when' clause (e.g., what to do instead if the cap is hit), which keeps it from a 5.

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