---
title: MCP tools
description: Every tool the MCP endpoint offers, what it reads or changes, and the permission it needs.
sidebar:
  icon: wrench
---

## Tools [#tools]

Each tool acts as you, in the workspace the client signed in to, and goes through the same checks as the web app. Your role decides what it may do.

A client is refused what you didn't allow it, with a message that names the permission it lacks. A client you let read only can't change anything, and one you didn't let publish can't put posts out. To grant more, connect it again and allow it there.

### Tools that read [#read-tools]

These tools read, and change nothing:

| Tool                      | What it answers                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `find_tools`              | These tools, by area or by the words of a `query`, each with what it does in a sentence and whether the connection may call it                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `whoami`                  | You, and the workspace the client acts in, with your role and what the client may do there; for an API key, the key and its permissions                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `list_workspaces`         | The workspace the client acts in, and your role there: never your other workspaces                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `list_channels`           | The workspace's [channels](/guides/channels), with the name the workspace gave each (`label`) and whether each one posts, is turned off or must be reconnected. `platform`, `status` and `search` narrow the list, and the answer then counts the channels by status. Never their tokens.                                                                                                                                                                                                                                                                                                      |
| `list_drafts`             | The workspace's drafts, newest first, a page at a time                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `list_posts`              | The workspace's posts, whatever their state, a page at a time (20 unless `limit` says otherwise, 100 at most), each whole, with how it went on every channel. Filters: `status`, `outcome`, `channelId`, `platform`, `from` and `to` on the scheduled instant, `createdVia`, `authorId` and `tagId`; `sort` orders by creation or by scheduled instant. Pass `nextCursor` as `cursor`, with the same filters and sort, for the next page. `channels` gives the platform of each channel the page names.                                                                                        |
| `get_post`                | A post: what it says, when it goes out, its tags, and how it went on each channel, with the ids of its targets, their platform options, and why one failed                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `list_post_attempts`      | Every attempt Peal made at publishing a post, by channel, with how each ended and when Peal tried again                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `list_post_changes`       | What was asked of a post once it was live (removing it from a platform), newest first, and where each change stands.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `validate_post`           | What sending a post would come to, with nothing made: `valid`, and everything that would refuse it at once. Per channel, the text it receives, counted as its platform counts it against each limit, its hashtags, mentions, links and media, and every violation; the channels and media that aren't the workspace's; and, with `when`, the schedule, the plan's room and the channels that already have the same content. Without `when`, it checks a draft's content alone. It takes the [channel sets and signatures](#saved) the post would name, and checks the post as they fill it in. |
| `await_post`              | A post once it has gone out: it waits up to `waitSeconds` (60 at most) until every channel has its result, and answers the post then, or as it stands when the time runs out. A draft, a cancelled post and a post scheduled for later than the wait are answered at once. Waiting changes nothing.                                                                                                                                                                                                                                                                                            |
| `list_tags`               | The workspace's tags, oldest first: the labels it files its posts under, each with its id, its name and its colour. They say nothing to the platforms.                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `list_signatures`         | The workspace's signatures, oldest first: the texts it ends its posts with, each with its id, its name, its text, whether it is meant for the whole workspace, a platform's channels or one channel, and whether it is the default there                                                                                                                                                                                                                                                                                                                                                       |
| `list_channel_sets`       | The workspace's channel sets, oldest first: selections of its channels kept under a name, each with its channels, the options posts take on some of them, and those of its channels disconnected since                                                                                                                                                                                                                                                                                                                                                                                         |
| `list_queues`             | The workspace's queues, the default first: weekly timetables of slots in a time zone, each with its slots, its channels and channel set, those of its channels disconnected since, and whether it is the default                                                                                                                                                                                                                                                                                                                                                                               |
| `preview_queue`           | A queue's coming slots, each with the post that holds it, and `nextFree`, the slot a post added now would take, or why there is none (`noRoom`). It holds nothing                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `get_channel_defaults`    | A channel's default options: what a new post takes on the channel when it gives no options there, or none                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `list_media`              | The workspace's images, videos and documents, newest first, a page at a time, with their type, size, dimensions, duration, file name and description, and an address that shows each for an hour. `q` keeps those whose name or description holds a text, whatever its case, and `kind` those of a kind (`image`, `video`, `document`). Only `ready` media can be attached to a post.                                                                                                                                                                                                          |
| `get_media`               | One image, video or document by its id, as `list_media` shows each.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `get_media_usage`         | The drafts that would lose a media if it were deleted, and the scheduled posts that keep it from being deleted.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `get_tiktok_creator`      | A TikTok channel's settings, fresh from TikTok: who it posts as, the audiences a post may choose, the interactions turned off, its longest video. It reads TikTok, outside Peal.                                                                                                                                                                                                                                                                                                                                                                                                               |
| `analytics_summary`       | The counts of the posts published over a range of days, in a time zone, as [Analytics](/guides/engage/analytics) shows them                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `analytics_dashboard`     | A range of days beside the one before it, in one call: totals, followers and what they gained, by channel and by platform, each day, and the top posts                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `channel_analytics`       | One channel day by day: its followers, views and reach, and what its posts gained                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `best_times`              | When one channel's posts did best, by weekday and hour: its past, never a prediction, and nothing ranked under 20 posts                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `post_analytics`          | A post's counts on each channel it went out on, over time                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `get_billing`             | The workspace's plan, its limits, how much of each the workspace uses, and every plan with its prices; with per-account pricing, the billing account's connected accounts this month and, for the workspace that bills it, what they cost so far and the next invoice's total                                                                                                                                                                                                                                                                                                                  |
| `get_usage`               | What the workspace uses of its plan now, then day by day over UTC days (the last 30 unless `from` and `to` say otherwise, 92 at most): posts that went out by platform, channels, members and media as each day ended, the accounts each day bills (for the workspace that bills its billing account), channel-days, billable account-days, and posts on platforms that bill per post. Counts only ([Usage](/guides/workspace/billing#usage))                                                                                                                                                  |
| `list_activity`           | The workspace's [activity log](/guides/workspace#activity): the requests that asked to change something, with who asked, through which key or application, and how each was answered. Owners only.                                                                                                                                                                                                                                                                                                                                                                                             |
| `get_short_link_status`   | Whether the server has [short links](/guides/posts/published#short-links), what a short address looks like, and whether the workspace's new posts ask for them by default                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `list_short_links`        | The short links the workspace's posts went out with, newest first, by post or channel, with their clicks over UTC days (30 by default, 92 at most). Counts are approximate, and nothing about visitors is kept                                                                                                                                                                                                                                                                                                                                                                                 |
| `get_short_link`          | One short link with its clicks each UTC day                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `list_members`            | The workspace's members, with their name and role, as every member sees them; their email addresses only with `includeEmails`                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `list_webhooks`           | The workspace's [webhook](/developers/webhooks) endpoints, with whether each is on and since when its deliveries fail, for owners and admins; never their signing secrets                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `list_webhook_deliveries` | The workspace's recent webhook deliveries, of one endpoint or of every one, by status and event type: each event's type, whether it was delivered or failed for good, the receiver's last status code, the attempts made and the next one                                                                                                                                                                                                                                                                                                                                                      |
| `list_approvals`          | The posts that wait for an [approval](/guides/posts/review): when each was asked to go out, who asked and how                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `get_post_review`         | A post as each channel will receive it, its comments, by members and by reviewers who came through a link, and the approvals asked for it with what was decided                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `list_review_links`       | A post's review links, ended ones included: what each lets its holder do, when it ends and whether it works. Never a link's address, which is shown once, when it is made.                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `list_connect_links`      | The workspace's [connect links](/guides/channels#connect-links), newest first, with where each stands and the channels it connected; never a link's address                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `get_connect_link`        | One connect link: whether the person it was handed to connected their account, or how their last sign-in failed                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `get_partner_account`     | The workspace's [partner account](/developers/embedding), if it has one: what its customers see, where hosted pages may send them back, and what it holds; never its keys. For owners and admins.                                                                                                                                                                                                                                                                                                                                                                                              |
| `list_partner_workspaces` | The workspaces the partner account owns, with their external ids and channels. The client reads the list, and nothing inside those workspaces.                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `get_partner_usage`       | What the partner account used over a period of UTC days, across its workspaces and [per customer](/developers/embedding/operate#usage), with their external ids; a customer offboarded since leaves the list and the sums. For owners and admins.                                                                                                                                                                                                                                                                                                                                              |
| `server_health`           | Whether the Peal server is up and reaches its database                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |

### Find a tool [#find-tools]

`find_tools` takes an `area`, a `query`, both or neither. The areas are:

| Area          | Its tools                                                                                                                                   |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| `workspace`   | Who the connection is and what it may do, the workspace, the server, members, the plan and usage, the activity log, the partner account     |
| `posts`       | Drafts, scheduling, publishing, outcomes, tags and signatures                                                                               |
| `approvals`   | Posts waiting for an approval, and review links                                                                                             |
| `channels`    | The connected accounts, their names, turning one off or on, what each platform takes, lookups, channel sets, default options, connect links |
| `media`       | Images and videos, generated ones included                                                                                                  |
| `inbox`       | Comments, direct messages and reviews, and answering them                                                                                   |
| `automations` | What acts on its own: queues, repeating posts, follow-ups, feeds and comment rules                                                          |
| `analytics`   | The figures of posts and channels, and the best times to post                                                                               |
| `links`       | Short links and their clicks                                                                                                                |
| `ads`         | Ad accounts, campaigns and boosts                                                                                                           |
| `webhooks`    | Endpoints and their deliveries                                                                                                              |

For each tool, it answers:

| Field            | What it says                                                                                                 |
| ---------------- | ------------------------------------------------------------------------------------------------------------ |
| `summary`        | What the tool does                                                                                           |
| `changes`        | Whether it changes something                                                                                 |
| `destructive`    | Whether it destroys or overwrites                                                                            |
| `reachesOutside` | Whether it reaches outside Peal                                                                              |
| `scope`          | The scope it takes                                                                                           |
| `scopeGranted`   | Whether the connection holds every scope it takes; `null` for an API key, which has permissions and no scope |

The tools that spend on ads, or quote, pause or stop a boost, take `workspace:ads`. Spending takes `workspace:publish` beside it.

Each tool is written by hand, with a description of what it changes. None is generated from an API endpoint, and the API has endpoints that no tool calls. A client that would rather not read every description can call `find_tools` first, then read only the tools it chose.

### What a channel takes [#capability-tools]

Two more tools read [what a channel takes](/developers#capabilities), so a client doesn't need to know each platform's rules. They change nothing, but they may ask the channel's platform, outside Peal (`openWorldHint`):

| Tool                       | What it answers                                                                                                                                                                                   |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `get_channel_capabilities` | How a channel's text is counted and limited, the media it takes, its platform's options field by field, its lookups, whether Peal reads its posts' counts, and what the account itself restricts  |
| `run_channel_lookup`       | A [lookup](/developers#lookups) of a channel: account data its options refer to, such as the categories a YouTube video can be filed under or the boards of a Pinterest account, a page at a time |

### Tools that change something [#change-tools]

Each of these tells the client, through MCP's tool annotations, three things: whether it destroys or overwrites (`destructiveHint`), whether calling it again changes nothing more (`idempotentHint`), and whether its effect reaches outside Peal (`openWorldHint`). A client can use them to ask you before it calls a tool. The annotations are hints a client may show you, and the server still runs the permission checks. The tools that change something are these:

| Tool                     | What it does                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | Destroys or overwrites | Again changes nothing | Outside Peal |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- | --------------------- | ------------ |
| `create_draft`           | Saves a new draft, with the parts that follow it in a [thread](/guides/posts#threads) (`content.followUps`) and the [platform options](/guides/posts#options) of its X, LinkedIn, Bluesky, Mastodon, Threads, TikTok, YouTube, Pinterest, Google Business Profile and Snapchat channels, and the tags it is filed under. It may name [channel sets, signatures](#saved) and take a channel's default options. It goes out at no time until it is scheduled, by you in the web app or with `schedule_post`.                                                                                                                                        | no                     | no                    | no           |
| `update_draft`           | Replaces a draft's text, media and channels with those given. Its options stay on the channels it keeps unless the call gives others. Its tags stay too, unless the call gives some. It may name [channel sets and signatures](#saved).                                                                                                                                                                                                                                                                                                                                                                                                           | yes                    | yes                   | no           |
| `discard_draft`          | Deletes a draft for good.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | yes                    | yes                   | no           |
| `duplicate_post`         | Makes a new draft that says what a post says, whatever the post's status: its text, media, channels with their options, and tags. What the workspace no longer has is left out. The post itself doesn't change.                                                                                                                                                                                                                                                                                                                                                                                                                                   | no                     | no                    | no           |
| `rename_channel`         | Gives a channel the [name the workspace calls it by](/guides/channels#name), or takes it back with null. The name is Peal's own, and sent to no platform.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | yes                    | yes                   | no           |
| `disable_channel`        | [Turns a channel off](/guides/channels#turn-off): nothing goes out on it, and a post that reaches its time meanwhile fails on that channel and isn't sent later. Nothing is deleted: the channel keeps its connection and its history.                                                                                                                                                                                                                                                                                                                                                                                                            | no                     | yes                   | no           |
| `enable_channel`         | Turns a channel back on: it posts again, or must be reconnected when its platform stopped accepting Peal's access meanwhile.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | no                     | yes                   | no           |
| `create_tag`             | Adds a tag to the workspace, with a name and a colour, for every member to file posts under. A workspace keeps 100 tags at most.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | no                     | no                    | no           |
| `update_tag`             | Gives a tag another name, another colour or both. Its posts keep it.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | yes                    | yes                   | no           |
| `delete_tag`             | Deletes a tag for good, and takes it off every post that had it. The posts stay.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | yes                    | yes                   | no           |
| `tag_post`               | Sets the tags a post is filed under, 10 at most, instead of those it had; none takes them all off. Nothing else of the post changes, whatever its status.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | no                     | yes                   | no           |
| `create_signature`       | Adds a signature to the workspace: a name, a text, and where it is meant for (the whole workspace, a platform's channels or one channel). As a default, it takes the place of the default its scope had. A workspace keeps 50 signatures at most.                                                                                                                                                                                                                                                                                                                                                                                                 | yes                    | no                    | no           |
| `update_signature`       | Changes a signature's name, text, scope or whether it is the default there, and keeps what the call leaves out. Posts that already hold its text keep it as it was.                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | yes                    | yes                   | no           |
| `delete_signature`       | Deletes a signature for good. Posts that already hold its text keep it.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | yes                    | yes                   | no           |
| `create_channel_set`     | Saves a selection of the workspace's channels under a name, with the options posts take on some of them. A workspace keeps 50 sets at most.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | no                     | no                    | no           |
| `update_channel_set`     | Changes a set's name, channels or options, and keeps what the call leaves out, but the channels that are no longer connected, which a set can't keep. Posts made with it before keep their channels.                                                                                                                                                                                                                                                                                                                                                                                                                                              | yes                    | yes                   | no           |
| `delete_channel_set`     | Deletes a channel set for good. Its channels, and the posts made with it, stay.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | yes                    | yes                   | no           |
| `create_queue`           | Saves a queue: a name, an IANA time zone, weekly `slots` (a `day` and a `time` as `HH:mm`), and the channels and channel set a post added to it goes to when it names none. The first queue is the default                                                                                                                                                                                                                                                                                                                                                                                                                                        | no                     | no                    | no           |
| `update_queue`           | Changes a queue, keeping what the call leaves out but its channels disconnected since. Posts it placed keep their times                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | yes                    | yes                   | no           |
| `delete_queue`           | Deletes a queue for good. The posts it placed stay scheduled at their times                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | yes                    | yes                   | no           |
| `set_channel_defaults`   | Keeps the options of a channel's platform as its default options, instead of any it had. Posts already made keep theirs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | yes                    | yes                   | no           |
| `clear_channel_defaults` | Leaves a channel without default options. Posts already made keep theirs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | yes                    | yes                   | no           |
| `import_media`           | Fetches an image, a video or a PDF document from a public HTTPS address and adds it to the workspace's media: within 90 seconds, images up to 16 MiB, videos up to 1 GiB, documents up to 100 MiB. It publishes nothing. Each call adds a new file.                                                                                                                                                                                                                                                                                                                                                                                               | no                     | no                    | yes          |
| `generate_image`         | Makes one image from a description, and adds it to the workspace's media, marked `aiGenerated`, without a description. The prompt goes as it is to the workspace's own [image provider](/guides/workspace#providers) when it set one, and then spends none of the day's assistant requests; otherwise to the image provider the instance's administrator chose, and each call spends 5 of them. Each call makes a new image. It publishes nothing, and sets no platform's AI label: set it in the post's options. Without either provider it is refused. No tool reads or sets the workspace's provider: a key typed into a chat reaches a model. | no                     | no                    | yes          |
| `describe_media`         | Sets a media's description, its alt text, which platforms show to people who can't see the file, or removes it. Posts that already attached it keep theirs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | yes                    | yes                   | no           |
| `delete_media`           | Deletes a media for good, when the user asked for that file: drafts that show it lose it, and the answer names them; a media a scheduled post shows is refused, with those posts.                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | yes                    | yes                   | no           |
| `schedule_post`          | Schedules a draft to go out at an instant, in an IANA time zone, on the channels it has or on those given. It is checked against every channel's platform first. Needs publishing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                | no                     | no                    | yes          |
| `publish_post`           | Publishes a draft, or a post scheduled for later, now, on the channels it has: it goes out within seconds, and can't be stopped once it started. Needs publishing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | no                     | no                    | yes          |
| `create_post`            | Creates a post and sends it in one call, now or at an instant, to the channels it lists or to those of the [channel sets](#saved) it names. With an `idempotencyKey`, calling again within 24 hours with the same arguments answers the first post and makes no second one. A post whose content already goes to one of its channels less than 23 hours from its time is refused, unless `allowDuplicate` is true. With `waitSeconds` (60 at most), a post that goes out now is answered once every channel has its result, or as it stands when the time runs out. Needs publishing.                                                             | no                     | no                    | yes          |
| `create_posts`           | Creates and sends up to 50 posts in one call, each as `create_post` would, in order: one refused keeps none of the others from being made. The answer says for each item, by its place, `created` with its post or `refused` with why. An `idempotencyKey` covers the whole call, and an item may carry its own. Needs publishing.                                                                                                                                                                                                                                                                                                                | no                     | no                    | yes          |
| `reschedule_post`        | Moves a scheduled post to another instant; what it says and where it goes stay. Needs publishing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | yes                    | yes                   | yes          |
| `queue_post`             | Puts a draft on a queue's next free slot (a queue by id or name, or the default), or moves a scheduled post there. Needs publishing                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | yes                    | yes                   | yes          |
| `reshuffle_queue`        | Moves the posts that wait in a queue (by id or name) onto its slots as they are now, in the order of their times, those moved by hand included, after its slots changed: each as `reschedule_post` would, but a post waiting for an approval keeps waiting at its new time. Answers how many moved, stayed and remain, and why it stopped. Needs publishing                                                                                                                                                                                                                                                                                       | no                     | yes                   | no           |
| `unschedule_post`        | Takes a scheduled post back to draft: it loses its time. A post already publishing is refused. Needs publishing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | yes                    | yes                   | no           |
| `cancel_post`            | Cancels a draft or a scheduled post for good: it goes out at no time and can't be scheduled again. A post already publishing finishes with what its channels did, and those not yet sent are cancelled. Needs publishing.                                                                                                                                                                                                                                                                                                                                                                                                                         | yes                    | yes                   | no           |
| `remove_post_target`     | Takes one channel off a post that waits for its time: it goes out on its other channels, and the last one is refused (cancel the post instead). Needs publishing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | yes                    | yes                   | no           |
| `leave_out_rest`         | Publishes a post on one channel without the parts that didn't go out after its first (a first comment refused, the rest of a thread): its first part is live, and nothing more is sent. Needs publishing.                                                                                                                                                                                                                                                                                                                                                                                                                                         | yes                    | no                    | no           |
| `repost_target`          | Publishes a post again, now, on one channel where it failed or is unconfirmed. Needs publishing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | no                     | no                    | yes          |
| `confirm_target`         | Records what you found on the platform for an unconfirmed post: published, or not published, which fails it there. Needs publishing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | yes                    | yes                   | no           |
| `unpublish_post`         | Deletes a published post from its platforms, for everyone, every part of a thread: on one channel (`channelId` or `targetId`, never both) or on every channel it can. It can't be undone; an agent calls it only when the user asked for that post to be taken down. Answers each change, and why a channel could not. Needs publishing.                                                                                                                                                                                                                                                                                                          | yes                    | no                    | yes          |
| `edit_published_post`    | Replaces the text of a published post on one channel's platform, for everyone, on Mastodon and Google Business Profile: one part (`part`, from 0), on one channel (`channelId` or `targetId`, exactly one). Only the text changes, and the change is public at once; an agent calls it only when the user asked for that edit. Refused to someone whose posts need an approval. Answers the change. Needs publishing.                                                                                                                                                                                                                             | no                     | yes                   | yes          |
| `create_webhook`         | Adds a [webhook](/developers/webhooks) endpoint: Peal then sends the events it subscribes to to its address, a server outside Peal, for some channels and, on a partner endpoint, some workspaces when given. The answer holds its signing secret, shown that once. `update_webhook` turns one off; deleting endpoints stays with you, in the web app.                                                                                                                                                                                                                                                                                            | no                     | no                    | yes          |
| `update_webhook`         | Changes a webhook endpoint's address, description, events, filters or [headers](/developers/webhooks#headers), or turns it off or on: what the call leaves out stays, and `headers` replaces them all. Never shows the secret, nor a header's value.                                                                                                                                                                                                                                                                                                                                                                                              | no                     | yes                   | yes          |
| `send_test_webhook`      | Makes Peal call the endpoint's receiver with a test event, or a sample of a type marked `sample: true`.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | no                     | no                    | yes          |
| `redeliver_webhooks`     | Makes Peal send deliveries again, by id or an endpoint's failed ones, 100 a call, skipping what was sent again already.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | no                     | no                    | yes          |
| `approve_post`           | Approves a post that waits: it is scheduled for its time, and then goes out. Only what a member asked for in the web app: what an application asked for waits for a person. It approves what `get_post_review` showed: a post that changed since isn't approved. Needs publishing.                                                                                                                                                                                                                                                                                                                                                                | no                     | no                    | yes          |
| `request_changes`        | Sends a post that waits back to draft, with a comment that says what to change. Needs publishing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | yes                    | no                    | no           |
| `create_review_link`     | Makes a [review link](/guides/posts/review#links) that lets its holder view the post, or comment on it too: never one that approves, which a person makes in the web app. The answer holds the address once: whoever has it sees the post, so the agent gives it to the user. Needs publishing.                                                                                                                                                                                                                                                                                                                                                   | no                     | no                    | yes          |
| `revoke_review_link`     | Ends a review link for good: its address stops working at once. Needs publishing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | yes                    | yes                   | no           |
| `create_connect_link`    | Creates a [connect link](/guides/channels#connect-links) for a platform: a hosted page where an account's owner connects it to the workspace without a Peal account. The answer holds its address, shown that once: whoever holds it can connect an account of theirs.                                                                                                                                                                                                                                                                                                                                                                            | no                     | no                    | no           |
| `revoke_connect_link`    | Takes a connect link back: it opens nothing more. The channels a used one connected stay.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | yes                    | yes                   | no           |

No tool makes a [video](/guides/media#generate-video): each one is paid by the workspace's account at its provider, so a member asks for it in the web app, with the command line or through the API.

> **Tools marked “Needs publishing” post in public**
>
> It means the permission to schedule and publish (`workspace:publish`), and a
> role that schedules posts: owner, admin or editor. What `schedule_post`,
> `publish_post`, `create_post`, `create_posts` and `repost_target` send is
> public on the platforms, and Peal can't take it back once it's out.
> `unpublish_post` deletes what went out from the platforms, for everyone, and
> can't be undone either, so a client should call it only when you asked for
> that very post to be taken down.

In a workspace that asks for [approvals](/guides/posts/review#policy), what these tools send or schedule waits instead. The post comes back with the status `awaitingApproval`, and goes out only once a person approves it. `approve_post` and `request_changes` need publishing with a role that approves posts, because approving is what sends a post out.

### Checks before a post goes out [#post-checks]

Before a post is scheduled, Peal checks it against every channel's platform: text length, media types, sizes and counts, required options, and what the account itself refuses. When anything is wrong, nothing is scheduled. The refusal lists every violation at once, each with its channel and its field or media ([How refusals read](/developers/agents#refusals)). `validate_post` answers the same list beforehand, and makes nothing.

`create_post` and `create_posts` also refuse a post whose content already goes to one of its channels less than 23 hours from its time, and name the post that has it. The content means the text the channel receives and the same media, in the same order. So a call made twice by mistake makes no second post. When you do mean to post the same thing twice, `allowDuplicate: true` lets it through. Scheduling a draft with `schedule_post` isn't checked ([Duplicate posts](/developers/posting#duplicates)).

`create_draft`, `update_draft`, `create_post` and `create_posts` take `shortenLinks: true` to send a post's links [shortened](/guides/posts/published#short-links), and `false` to send them as written. Leave it out, and a new post takes the workspace's default (`get_short_link_status`'s `byDefault`) when it's made. No tool shortens an address outside a post.

### Signatures, channel sets and default options [#saved]

A workspace saves three things to write its posts with, and `create_draft`, `update_draft`, `create_post`, `create_posts` and `validate_post` take them:

| What            | Parameter                          | What it does                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| --------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Channel sets    | `channelSets`                      | Names sets by id or by name, instead of listing channels in `channelIds` or beside them. The post goes to each set's connected channels. A channel of a set that is no longer connected is left out, and the answer says which in `warnings`, never silently: the client should tell you. A post sent to a set none of whose channels is left, with no other channel, is refused.                                                                                        |
| Signatures      | `signatureId`, `defaultSignatures` | `signatureId` puts a signature under the post's text on every channel, and `defaultSignatures` each channel's default one: the workspace's under the post's text, a platform's or a channel's own under the text that channel has instead. A signature becomes text of the post: it is counted against each platform's limit, and it is never added under a text that already ends with it. A post in several parts (`content.followUps`) is signed under its last part. |
| Default options | none                               | On a channel where a new draft or a new post gives no [platform options](/guides/posts#options), it takes the options a set it names keeps for the channel, then the channel's default options. A draft that `update_draft` changes takes no defaults. They are a starting point, never a way round the rules: the post is checked when it is scheduled as one that wrote them itself.                                                                                   |

### Queues [#queue-tools]

`create_post`, `create_posts` and `validate_post` take `when: { "_tag": "queue", "queue": "…" }` beside `now` and `at`. The post takes the next free slot of the queue named by its id or its name, or of the default queue when `queue` is left out. The slot is decided when the call is received.

With no `channelIds` and no `channelSets`, the post goes to the queue's channels. `validate_post` answers the slot in `queueSlot` ([Queues](/guides/posts/queues#queues)).

### Repeating posts [#recycling-tools]

`recycle_post` makes a scheduled or published post [repeat](/guides/posts/queues#recycling) (`every`, `count` or `until`, `variants`, `queueId`). It publishes again, in public, without asking anyone each time, so a client should call it only when you asked for the post to repeat. The recycling tools are these:

| Tool                                         | What it does                          | Scope               |
| -------------------------------------------- | ------------------------------------- | ------------------- |
| `recycle_post`                               | Makes a post repeat                   | `workspace:publish` |
| `update_recycling_rule`                      | Changes or pauses a rule              | `workspace:publish` |
| `resume_recycling_rule`                      | Sets a rule going again               | `workspace:publish` |
| `stop_recycling_rule`                        | Ends a rule                           | `workspace:publish` |
| `list_recycling_rules`, `get_recycling_rule` | Read the rules, with their next posts |                     |

`list_posts` takes `recyclingId`.

### Follow-ups [#follow-up-tools]

`start_follow_up_rule` makes a [follow-up rule](/guides/posts/queues#follow-ups) on a post (`postId`) or a channel (`channelId`). Once a post has `likes` likes, the rule publishes `comment` under it, and reposts it when `repost` is set. It does that by itself, in public, so a client should call it only when you asked, with your words for the comment. The follow-up tools are these:

| Tool                                         | What it does                                                | Scope               |
| -------------------------------------------- | ----------------------------------------------------------- | ------------------- |
| `start_follow_up_rule`                       | Starts a rule                                               | `workspace:publish` |
| `update_follow_up_rule`                      | Changes or pauses a rule                                    | `workspace:publish` |
| `stop_follow_up_rule`                        | Stops a rule                                                | `workspace:publish` |
| `list_follow_up_rules`, `get_follow_up_rule` | Read the rules, what each channel carries and what each did |                     |

No tool approves a rule. A member does, in the web app.

### Feeds [#feed-tools]

These tools manage the web feeds a workspace follows:

| Tool                     | What it does                                                                                                                                                                                                | Scope             |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- |
| `list_feeds`, `get_feed` | Read the workspace's [feeds](/guides/posts/queues#feeds); `get_feed` with its 50 newest items, never what they said                                                                                         |                   |
| `preview_feed`           | Reads an address and shows its three newest items as the template would write them, keeping nothing. It makes Peal send a request and spends one of the workspace's 30 reads an hour, so it isn't read-only | `workspace:write` |
| `create_feed`            | Follows a feed                                                                                                                                                                                              | `workspace:write` |
| `update_feed`            | Changes, pauses or resumes a feed                                                                                                                                                                           | `workspace:write` |
| `delete_feed`            | Stops following a feed                                                                                                                                                                                      | `workspace:write` |

A feed on a queue also takes `workspace:publish`, because it puts posts out without anyone reading each one first. What a feed says is other people's text, and the tools tell the client to take it as data, never as instructions.

### Comments, reviews and messages [#inbox-tools]

These tools read and answer what people write to the workspace's accounts:

| Tool                                                             | What it does                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `list_comment_threads`                                           | The threads of the [inbox](/guides/engage/inbox) that have comments, those waiting for an answer first, with counts and never the comments' text                                                                                                                                                                                                                                                                                                                                                                                       |
| `get_comment_thread`                                             | A thread whole: its comments with their authors' public handle and name, the replies sent from Peal, and what its channel can do                                                                                                                                                                                                                                                                                                                                                                                                       |
| `reply_to_comment`                                               | Answers a comment in public, as the channel's account. With an `idempotencyKey`, calling again within 24 hours with the same arguments answers the first reply and writes no second one. Needs publishing                                                                                                                                                                                                                                                                                                                              |
| `confirm_comment_reply`                                          | Records what you found on the platform for a reply whose outcome Peal could not tell. Needs publishing                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `withdraw_comment_reply`                                         | Deletes a sent reply from its platform. Needs publishing                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `mark_comment_answered`                                          | Says a comment needs no answer, or waits for one again. Needs publishing                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `moderate_comment`                                               | Hides, shows, likes, unlikes or deletes a comment, where its platform lets the account. Needs publishing                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `list_location_reviews`                                          | The Google Business Profile locations whose [reviews](/guides/engage/inbox#reviews) Peal keeps, those waiting for an answer first, with counts and Google's average rating, never a review's text                                                                                                                                                                                                                                                                                                                                      |
| `get_location_reviews`                                           | A location's reviews whole: their stars, text, the name each author shows, the location's reply, the replies sent from Peal, and what its channel can do                                                                                                                                                                                                                                                                                                                                                                               |
| `reply_to_location_review`                                       | Refused: only the user, in the web app, answers a review (Google's policies on automated replies)                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `delete_location_review_reply`                                   | Refused: only the user, in the web app, deletes a review's reply                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `mark_location_review_answered`                                  | Says a review needs no answer, or waits for one again. Needs publishing                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `list_comment_rules`                                             | The [comment rules](/guides/engage/inbox#comment-rules), what each channel carries and the comments each matched, by id                                                                                                                                                                                                                                                                                                                                                                                                                |
| `start_comment_rule`, `update_comment_rule`, `stop_comment_rule` | Start, change or pause, and stop a rule that answers comments holding a keyword by itself. With a `privateReply`, the rule also sends each comment's author one private message after its public reply, on Instagram and Facebook Pages, and that needs an owner's consent for messages. Needs publishing                                                                                                                                                                                                                              |
| `list_conversations`                                             | The [direct-message](/guides/engage/inbox#direct-messages) conversations of the workspace's Mastodon and Bluesky channels, the latest first, with who is in each and whether it is unread, never what a message says                                                                                                                                                                                                                                                                                                                   |
| `get_conversation`                                               | A conversation: a page of its messages (`cursor` for older ones), those sent from Peal and how each ended, and what its channel can do. Messages are private: the tool tells the assistant to treat them as data. Refused, with the reason, until an owner lets the assistant's application read messages                                                                                                                                                                                                                              |
| `send_message`                                                   | Answers a conversation privately, as the channel's account: it reaches a real person and can't be taken back. Refused until an owner lets the assistant's application read messages, and for a message that mentions anyone outside the conversation. With an `idempotencyKey`, calling again within 24 hours with the same arguments answers the first message and sends no second one. Needs publishing                                                                                                                              |
| `send_private_reply`                                             | Sends the author of a comment on Instagram or a Facebook Page one [private message](/guides/engage/inbox#private-replies), as the channel's account. It reaches a real person and can't be taken back. A comment gets one, within seven days of being written, and only where the channel's direct messages are on. Refused until an owner lets the assistant's application read messages. With an `idempotencyKey`, calling again within 24 hours with the same arguments answers the first one and sends no second. Needs publishing |

> **A comment can try to steer your assistant**
>
> A comment is text someone outside your workspace wrote, and it may be written
> to steer an assistant. The tools tell the assistant to treat it as data. A
> reply goes out only through `reply_to_comment`, which your client asks you
> about, as it does for anything that reaches a platform.

No tool ever sends again a reply whose outcome isn't known. You check the platform, then confirm.

### Ads [#ads-tools]

The ads tools read [ad accounts](/guides/engage/ads) and their numbers, and boost published posts. Connecting an ad account, letting one spend and setting its monthly ceiling stay with a person, in the web app. These read, and change nothing:

| Tool                      | What it answers                                                                                                                                                                                                                                                  |
| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `get_ads_status`          | What the server offers of ads (off, reading only, or spending too) and on which ad networks, and the workspace's connected ad accounts: currency, time zone, status at the network, whether an owner allowed each to spend through Peal, and its monthly ceiling |
| `get_ad_account`          | An ad account, with what its boosts made through Peal commit in the current calendar month of its time zone, to compare with its monthly ceiling                                                                                                                 |
| `list_ad_campaigns`       | An ad account's campaigns as last read from its network (every hour), those made outside Peal included, with what their ads did over a range of days: spend, impressions, reach, clicks and results                                                              |
| `get_ad_insights`         | What an ad account's ads did each day of a range: spend, impressions, reach, clicks and results. The figures are the ad network's, read with a delay, and the network's own bill is what's owed                                                                  |
| `get_post_ad_performance` | A published post's organic counts on each channel beside what the ads that promote it did, by ad account, and the post's boosts. The two are shown side by side, never added together                                                                            |
| `list_boosts`             | The workspace's boosts, newest first, 50 a page, or one post's with `postId`: each one's budget, what it commits, its end and where it stands. `unconfirmed` means Peal couldn't read back whether it runs, so it may be spending                                |
| `get_boost`               | A boost and the journal of the requests Peal sent the ad network for it, each with how it ended: whether the boost runs, failed (`failureReason` says why, with nothing spent) or is unconfirmed                                                                 |
| `quote_boost`             | A boost checked exactly as `boost_post` would check it: the most it can cost (`commitment`), the days it runs, the monthly ceiling and what the account's other boosts already commit. It reserves and sends nothing                                             |

These change something:

| Tool           | What it does                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | Destroys or overwrites | Again changes nothing | Outside Peal |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- | --------------------- | ------------ |
| `boost_post`   | Boosts a post the workspace published on a Facebook Page, or on an Instagram account connected through its Page, as an ad on Meta. The ad network charges the ad account up to the budget given, until `endsAt`, and what's spent can't be taken back. It takes an `idempotencyKey` and an end date within 90 days. Refused, with nothing reserved, when no owner allowed the account to spend or the monthly ceiling has no room. Needs `workspace:publish` and `workspace:ads`, and the owner or admin role | yes                    | no                    | yes          |
| `pause_boost`  | Tells the ad network to pause a boost's campaign. It stops spending once the network applies it, and can be resumed until its end date                                                                                                                                                                                                                                                                                                                                                                        | no                     | yes                   | yes          |
| `resume_boost` | Runs a paused boost again until its end date, up to what's left of its budget. Refused when the monthly ceiling has no room, or spending was turned off. Needs `workspace:publish` and `workspace:ads`                                                                                                                                                                                                                                                                                                        | yes                    | yes                   | yes          |
| `stop_boost`   | Stops a boost for good: it never runs again, and one not made yet is never made                                                                                                                                                                                                                                                                                                                                                                                                                               | yes                    | yes                   | yes          |

`boost_post` and `resume_boost` spend money, so a client should call them only when you asked, in the conversation, for that post, budget, currency and end date, after `quote_boost` showed you the most it can cost.

### What no tool hands out [#account-data]

No tool invites people, cancels an invitation, or changes or removes a member: someone the client invited would hold whatever you didn't allow it, and stay once you disconnect it. You invite people in the web app, or with the [command line](/developers/cli/workspace#members).

No tool exports your data or lists the applications that act for you. An MCP client passes whatever its tools answer to an AI model, and your export holds your sessions' addresses, your invitations and everything you wrote.

The instance refuses both to every OAuth client except the [command line](/developers/cli/workspace#account). You sign in to it at your own terminal, and it saves them in your own files. In the web app's settings, **Profile** downloads your data and **Security and access** lists your applications.
