BetterPost
v2.0.0Finds timely sources across news, social, and the web and writes posts worth publishing.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
betterpost_create_project Create project
Create a content project. Slow, one-shot: infers config (criteria, industry, tone), discovers sources, and gathers/ranks an initial set of timely stories. Best called after the inferred audience, description, and tone have been confirmed with the user, since the config shapes everything downstream.
| Parameter | Type | Description |
|---|---|---|
audience * | string | |
title * | string | |
description | string | |
tone | string |
betterpost_generate_content Generate content
Generate a new piece of content for a project from its timely, relevant stories. Fast in steady state. Charges credits on success only. If you pass a `topic` the project has no stories about, this returns a `topic_unavailable` error (no charge) carrying an `inScope` flag and next steps — it never silently writes an off-topic piece.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
type * | string | Output format. 'x' and 'bluesky' are generated as a single post or, more often, a short numbered thread of connected posts (multiple tweets) when there is enough to say — this is the default for tho… |
reuse | boolean | Reuse the most recent topic. |
tieIn | string | A product/service to weave in. |
topic | string | Steer the piece to a specific topic. Generation only writes from stories actually about it. If none exist yet, it returns topic_unavailable (no charge) with an inScope flag: inScope:true means the top… |
wordLimit | integer |
betterpost_derive_content Derive content
Transform an existing piece into another format (e.g. newsletter → tweet). No fetching; reuses the source stories and topic.
| Parameter | Type | Description |
|---|---|---|
fromContentId * | string | |
type * | string | |
tieIn | string |
betterpost_list_content List content
List a project's content (summaries + shareable `publicUrl` links).
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
betterpost_get_content Get content
Fetch one piece of content in full.
| Parameter | Type | Description |
|---|---|---|
contentId * | string |
betterpost_delete_content Delete content
Delete a piece of content and its hosted images.
| Parameter | Type | Description |
|---|---|---|
contentId * | string |
betterpost_list_projects List projects
Returns your projects, each with its relevance `criteria` (with ids) that define what counts as on-topic.
betterpost_get_project Get project
Returns one project with its relevance `criteria` (each with an id, so a criterion can be targeted for removal via betterpost_update_project).
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
betterpost_update_project Update project
Updates a project's title, audience, description, tone, freshness window, timezone, or relevance criteria, and returns the updated project with its criteria. Changing title/audience/description re-derives the relevance criteria (replace-all), which broadens or narrows what counts as on-topic. To edit criteria incrementally instead, pass `patch.addCriteria` (texts to append) and/or `patch.removeCriteria` (criterion ids from get_project/list_projects). Dates default to US Eastern unless a `timezone` (an IANA name like "America/New_York") is set.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
patch | object | Partial update: EVERY field is optional — include only the fields you want to change and omit the rest (an omitted field is left untouched; there are no required patch fields). Passing an empty obje… |
betterpost_delete_project Delete project
Permanently deletes a project and everything in it — its sources, stories, and content. Cannot be undone.
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
betterpost_list_sources List sources
Returns one slimmed page of a project's sources plus project-wide `total` and `counts` (ok/failing/disabled/pending, and byType). Page with `limit` (default 50) and `offset`, following the returned `nextOffset` until it is null.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
limit | integer | Max sources to return (default 50). |
offset | integer | Number of sources to skip; use the returned nextOffset to page. |
betterpost_add_source Add source
Adds a source to a project and fetches it immediately (bounded by a few seconds), returning `storiesAdded` so the next generate_content can use it; if it is still fetching it returns `fetched:false` with a note. Doubles as manual source import: paste any URL (RSS/Atom feed, article, or a page, profile, or post on a supported platform) and leave `type` as autodetect, or create a recurring keyword search by setting `value` to the search terms and `type` to a search kind (see `type`).
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
value * | string | |
name | string | |
type | string | Source kind (one of the enum values; defaults to 'autodetect'). 'autodetect' infers the kind from `value` (a URL): RSS/Atom feeds, web pages, news, Reddit subreddits, X and Bluesky posts/users, Linked… |
betterpost_remove_source Remove source
Removes a source from a project. Its already-gathered stories stay; the source is no longer fetched.
| Parameter | Type | Description |
|---|---|---|
sourceId * | string |
betterpost_list_stories List stories
Returns a project's gathered stories, each with `title`, `url`, `summary`, `relevancy`, `publicationDate`, and `isManual`/`isHidden` flags. Pass includeHidden to include hidden ones.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
includeHidden | boolean |
betterpost_add_story Add story
Manually imports a story you read about from its URL (pinned relevance, flagged is_manual) so generation can draw on it.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
url * | string | |
summary | string | |
title | string |
betterpost_hide_story Hide story
Hides a story so generation ignores it. Reversible with unhide_story.
| Parameter | Type | Description |
|---|---|---|
storyId * | string |
betterpost_unhide_story Unhide story
Unhides a previously hidden story so generation can use it again.
| Parameter | Type | Description |
|---|---|---|
storyId * | string |
betterpost_suggest_topics Suggest topics
Clusters a project's current stories into a few candidate angles — each with a label, how many stories back it, and example headlines — and warms the project (gathers and ranks fresh stories) in the process. Returns topics you can offer the user before generate_content.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
count | integer | |
type | string |
betterpost_get_usage Get usage
Your credit balance, freeze state, and recent spend.
betterpost_get_settings Get settings
Returns a project's per-content-type settings (wordLimit and additionalInstructions for each channel).
| Parameter | Type | Description |
|---|---|---|
projectId * | string |
betterpost_update_settings Update settings
Patches one content type's wordLimit and/or additionalInstructions (free-form writing guidance for that type; pass an empty string to clear it). Project-wide preferences (title/audience/tone, project-wide additionalInstructions) live on betterpost_update_project.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
type * | string | |
additionalInstructions | string | null | |
wordLimit | integer |
betterpost_expand_coverage Expand coverage
Broadens a project's coverage: expands the relevance criteria (when needed), finds more sources across news, the web, and the relevant social platforms, and fetches them inline. Applies on a `topic_unavailable`, `no_stories`, or low-coverage signal. May return `warming: true` with `retryAfterMs` (~60s), meaning the newly gathered stories are still landing. An out-of-scope `focus` requires `confirmedByUser: true`; without it, it returns a `confirmation_required` error. No credits are charged.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | |
addAsCriteria | boolean | Also append an in-scope `focus` as a standing relevance criterion (out-of-scope, confirmed foci are added automatically). |
confirmedByUser | boolean | Set true once the user has agreed to widen the project to an out-of-scope `focus`. |
focus | string | The topic to get more on (e.g. "League of Legends"). Omit to broaden the whole project. |
betterpost_humanize Humanize text
Rewrite existing text into BetterPost's readable, human voice. Preserves the meaning, facts, links, and format; returns the rewritten text plus short notes on what changed. Pass `projectId` to write in that project's tone and instructions, `type` to apply a channel's style, or `tone` to set the voice directly.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text to humanize (max 30,000 characters). |
projectId | string | Use this project's tone and writing instructions. |
tone | string | Tone override; wins over the project tone. |
type | string | Apply this channel's style rules to the rewrite. |