BetterPost

v2.0.0
ai.betterpost/server Checked 4 days ago Published 5 months ago

Finds 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.

ParameterTypeDescription
audience *string
title *string
descriptionstring
tonestring

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.

ParameterTypeDescription
projectId *string
type *stringOutput 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…
reusebooleanReuse the most recent topic.
tieInstringA product/service to weave in.
topicstringSteer 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…
wordLimitinteger

betterpost_derive_content Derive content

Transform an existing piece into another format (e.g. newsletter → tweet). No fetching; reuses the source stories and topic.

ParameterTypeDescription
fromContentId *string
type *string
tieInstring

betterpost_list_content List content

List a project's content (summaries + shareable `publicUrl` links).

ParameterTypeDescription
projectId *string

betterpost_get_content Get content

Fetch one piece of content in full.

ParameterTypeDescription
contentId *string

betterpost_delete_content Delete content

Delete a piece of content and its hosted images.

ParameterTypeDescription
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).

ParameterTypeDescription
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.

ParameterTypeDescription
projectId *string
patchobjectPartial 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.

ParameterTypeDescription
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.

ParameterTypeDescription
projectId *string
limitintegerMax sources to return (default 50).
offsetintegerNumber 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`).

ParameterTypeDescription
projectId *string
value *string
namestring
typestringSource 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.

ParameterTypeDescription
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.

ParameterTypeDescription
projectId *string
includeHiddenboolean

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.

ParameterTypeDescription
projectId *string
url *string
summarystring
titlestring

betterpost_hide_story Hide story

Hides a story so generation ignores it. Reversible with unhide_story.

ParameterTypeDescription
storyId *string

betterpost_unhide_story Unhide story

Unhides a previously hidden story so generation can use it again.

ParameterTypeDescription
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.

ParameterTypeDescription
projectId *string
countinteger
typestring

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).

ParameterTypeDescription
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.

ParameterTypeDescription
projectId *string
type *string
additionalInstructionsstring | null
wordLimitinteger

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.

ParameterTypeDescription
projectId *string
addAsCriteriabooleanAlso append an in-scope `focus` as a standing relevance criterion (out-of-scope, confirmed foci are added automatically).
confirmedByUserbooleanSet true once the user has agreed to widen the project to an out-of-scope `focus`.
focusstringThe 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.

ParameterTypeDescription
text *stringThe text to humanize (max 30,000 characters).
projectIdstringUse this project's tone and writing instructions.
tonestringTone override; wins over the project tone.
typestringApply this channel's style rules to the rewrite.