docs

MCP tool

check_guardrails

Check a caption against the rules

Reads only · changes nothing, and needs no approval.

What it does

Dry-run a caption against this workspace's brand guardrails (banned words/topics, link policy, posting cap) WITHOUT creating a post. Use this to fix a draft before create_post instead of burning a rejection. Returns { allowed, violations[], rules_checked[], rules_skipped[] }. READ rules_checked BEFORE REPORTING A PASS. An empty rules_checked means this project has NO guardrails configured, so allowed: true says nothing objected — not that the caption was checked and cleared. Saying "it passed the brand rules" about a project with an empty list is a claim nothing verified. rules_skipped lists rules that were asked and could not answer (the topic and tone classifiers fail OPEN by design); a clean verdict listing any of those is an incomplete check, not a pass.

Arguments

NameTypeRequiredWhat it is
captionstringYesThe draft post text

Calling it

Any MCP client calls this by name once the connector is added. The address is the same for every tool:

https://xpost.to/api/mcp

A client that has signed in sends the tool name and its arguments:

{
  "name": "check_guardrails",
  "arguments": {
    "caption": "…"
  }
}

The other tools

Back to the MCP connector · What the MCP server is · Connect your assistant