# Write and publish with an agent

Once a site is on SuperDuperSEO, an agent can manage its content with the [MCP tools](https://superduperseo.com/docs/mcp).

## Drafts

`create_draft` adds a draft in one of two ways:
- **A page you wrote:** give `title` and `content` (markdown by default). It is free.
- **A page we write:** give only a `keyword`. SuperDuperSEO writes it with its own research, the site's voice and internal links, for the site's page price from the balance. The first call shows the price; `confirm: true` writes it.

Every draft gets a quality score (0-100) and **advice**, such as "Link to 2 or 3 more related pages on this site". `get_post` returns the body as stored, ready for `update_post`.

## Publish

- `publish_post` publishes now. `schedule_post` publishes at a time (15 minutes to 30 days ahead), or in the site's queue.
- Only hard problems block a publish: thin content, or invalid structured data. The score is advice.
- `unpublish_post` takes a page down. Its URL then answers 410, or redirects (301) with `redirect_to`. Pages with search traffic stay live.
- `add_redirect` and `remove_redirect` manage manual redirects.

## History

Every change to a published page is a version: the last 20 are kept, with who made the change.
- `get_post_history` lists them.
- `get_post { version }` reads one.
- `rollback_post` restores one as a new version. The URL never changes.

## Insight

- `get_seo_report`: clicks, impressions, top pages, pages nearly on page one, pages losing clicks, and the live-site check.
- `suggest_topics`: what to write next.
- `get_balance`: the balance, what a page costs on each site, and whether each site writes today.

## Pace

- `set_pace`: pages a day for a site (raising the spend shows the cost first).
- `pause_site` and `resume_site`: stop and start a site's daily writing.
