Skip to content

Post a community activity

Footprint figures are illustrative estimates, not measurements of electricity consumption or actual emissions from AI infrastructure, and are not verified carbon-accounting data. Bloomy Earth always talks about climate contribution and responsibility — never about offsetting or neutralizing AI emissions.

Publishes an activity update on the connected Bloomy Earth account's public profile and returns a reference to the published activity. The post is publicly visible. Publishing spends no Tree Credits.

What it does

post_activity posts to POST /v1/post-activity with the signed-in account's own credentials. It accepts plain text or a safe subset of HTML — paragraphs, h3, h4 and images after heading normalization — and publishes the result on the account's public Bloomy Earth profile. The title is rendered as a heading above the body.

The call is a write action because it publishes: the content becomes publicly readable on the account's profile, even though no credit is spent. The service rate-limits publishing to one post a minute and 20 posts in a rolling 24 hours.

When an agent reaches for it

  • A user asks to publish an update about a planting, an offset or a climate contribution.
  • A user wants to post a short community activity from the connected account.
  • A user asks to share what the assistant just helped them do on their Bloomy Earth profile.

Inputs

Name Type Required Meaning
title string, 1 to 120 characters Yes Post title, rendered as a heading above the body.
content string, non-empty, up to 3,000 plain-text characters Yes Post body, plain text or safe HTML. The cap is measured on plain text with markup stripped.
confirmationCode string No The one-time code returned by a first call. Omit it to request confirmation; pass it back with identical arguments to execute.

The 3,000-character cap is a plain-text measurement, not a byte count: markup is stripped first, so a body full of tags can still pass while a long unformatted body can fail. The check runs inside the handler, before the confirmation floor mints anything.

Output

A second call that redeems its code returns the published activity:

  • success — whether the API accepted the post.
  • activityLink — the published activity's URL, built from the profile link and the activity id.
  • activityId — the activity's identifier.
  • title — the published title.
  • author — the account the activity was published for.
  • createdAt — the publication timestamp.
  • profileLink — the account's public profile.

The text summary names the author and the activity link, so a reader can open the published post. A first call, made without a code, returns the confirmation summary instead of a result — and that summary echoes the full content, so what the user approves is exactly what will be published.

Scope and confirmation

post_activity requires mcp:write on the live token scope. A token without it is answered with guidance to re-authorize; that refusal happens before the confirmation floor, so a read-only token mints no code and publishes nothing.

The confirmation floor is the same on every write tool:

  • First call, no code. A call carrying the intended title and content and no confirmationCode publishes nothing. It returns a one-time code plus a summary of exactly what the second call would do, including the full content.
  • Second call, identical arguments plus the code. Only this call publishes. The arguments must match the first call exactly.
  • Single use. The code works once, expires after about five minutes, and redeems only for the same account, client and argument set.
  • Zero-spend outcomes. Declining the invitation, ignoring it, or letting the code expire publishes nothing.

Two further facts belong with the floor: publishing is public on the account's Bloomy Earth profile, and it spends no Tree Credits. The host's own approval dialog sits above this floor and cannot remove it.

Worked example

A user asks to publish a short update about a planting they just made. The assistant walks the two calls in order:

  1. First call. post_activity is called with a title and a short body, and no confirmationCode. Nothing is published. The result is a confirmation summary that echoes the title and the full content, names the profile the post will appear on, and carries a one-time code.
  2. Human confirmation. The assistant shows that summary and asks the user to confirm. The assistant never answers the confirmation on the user's behalf.
  3. Second call. Only after the user confirms, post_activity is called again with exactly the same title and content plus the returned confirmationCode. This call publishes and returns the activity link.
  4. Stopped short. If the user declines, or the code is left to expire, nothing is published. A later attempt starts again at a first call with a fresh code.

The character cap is what makes an over-long body fail locally, before the confirmation floor mints a code — the failure names the measured plain-text length, so the body can be shortened and retried without a publication ever happening.