Skip to main content
Glama

Create an article

create_article

Write a blog article for a profile from an idea: SmartGenius researches the links you give, writes the article in the profile's voice and can draw a cover. No idea yet? Leave idea out and set research: true: SmartGenius picks the subject itself, the way the blog's own schedule does, from the profile's saved blog ideas and what its daily research found in its niche. Without an idea and without research: true the call is refused. It answers at once, while the article is still being written. Call get_article with wait until making.status is succeeded or failed (a few minutes). Costs 2 credits for the text, plus 1 more when drawCover is true. Calling this again makes a second article and spends credits again, unless you send the same requestId: then you get the first article back. The article lands as a DRAFT. You cannot approve or publish it: a person does that in the studio (studioUrl), or the profile's own blog schedule they already set. Give them that link. The profile must have a blog (see blog in list_profiles). When its brand has more than one blog, pass blogId (list_brands). destination says which blog it is for; read it back with the profile this answer gives.

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": {
      "profile": "<profile>"
    },
    "name": "create_article"
  }
}

Input Schema

NameRequiredDescriptionDefault
ideaNoWhat the article is about. Leave it out only with `research: true`
adForNoSet when the article is an ad for a brand: its name is shown to readers
linksNoPages to read before writing (up to 3): a source, a product page
blogIdNoThe id of the blog it is for, from list_brands or list_profiles. Needed only when the brand has more than one blog. The call is refused if that blog was replaced since you read it
ideaIdNoThe id of an idea saved on this profile's blog; it is used up
profileYesA profile's handle from list_profiles, or its permanent UUID
languageNoOne of pt-BR, en, es. Default: the profile's language
researchNoWith no `idea`: let SmartGenius pick the subject from the profile's saved blog ideas and its daily research. With an idea, the article is about your idea
drawCoverNoDraw a cover image (1 more credit). Default false
requestIdNoAny id you make up for this call, like a UUID. Send the same one if you retry after a timeout or a lost answer: you get the first answer back and nothing is spent twice. Remembered for 24 hours
fromPostIdNoThe id of a post on this profile to build the article from; its links come along

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only flag the call as a non-read-only, open-world write. The description adds substantial behavior: asynchronous return while writing continues, credit costs (2, plus 1 for a cover), idempotency via `requestId` remembered for 24 hours, and the crucial fact that the output lands as a DRAFT the agent cannot approve or publish — a human must do so via `studioUrl`.

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?

Front-loaded with the core action and the idea/research decision, then progressively adds cost, idempotency, draft state, and prerequisites. It is dense but nearly every sentence carries load; the draft/publish and studioUrl sentences could be tightened into one.

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 an 11-parameter, side-effecting tool with no output schema, the description covers the immediate response shape (status polling via get_article), the publishing handoff, and the blog prerequisite. The remaining gap is the `destination`/`studioUrl` fields, which are referenced as return values but never clearly located in the response, and no note on what happens if polling times out.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already defines each parameter's meaning; the description's added value is the interaction between `idea` and `research` and the duplicate-charge/`requestId` retry rule. It also notes the preview constraint on `blogId` (refused if the blog was replaced). A small deduction for the `destination` reference, a field that is not in the input schema and is only loosely explained.

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 ("Write a blog article for a profile") plus the input source (an idea, links, or self-research). It is clearly distinct from create_post and generate_image in the sibling list, and an agent can tell what it produces without opening the schema.

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?

Explicit when-to-use and when-refused rules: no idea requires `research: true`, otherwise "the call is refused"; `blogId` is needed only when the brand has multiple blogs; polling is delegated to get_article with `wait`. It also warns that calling again creates a second article and spends credits unless the same `requestId` is resent.

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