API & MCP
Everything a person can do on Parley Message Check, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://parleymessagecheck.usefulweb.site/api/v1/calculate– run Parley Message CheckGET https://parleymessagecheck.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Parley Message Check
Checks a chat message the way Parley does before sending it: the Markdown subset (bold, italic, code, links, lists, quotes, code blocks), which links are kept (only http(s) and mailto), which @mentions match a member list, whether @channel or @here notifies everybody, and the length limit. Shows the safe HTML and the plain text a notification would use.
| Field | Type | Default | Description |
|---|---|---|---|
body | textarea | "Hi @Ana, the **release notes** are ready: https://example.com/notes\n- check th | Message. Up to 4000 characters. Mentions: @Name of a member (list below), @channel or @here. |
members | textarea | "Ana\nBen Okafor\nCleo" | Members (one name per line, optional). Used to resolve @Name mentions like Parley does with the workspace members. |
Example request
Mentions, list and a link
curl -X POST https://parleymessagecheck.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"body":"Hi @Ana, the **release notes** are ready: https://example.com/notes\n- check the `v2` links\n- tell @channel when done","members":"Ana\nBen Okafor\nCleo"}'
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://parleymessagecheck.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
parley_message_check - Local stdio connector:
node src/mcp-stdio.ts --tool=parley-message-check
{
"mcpServers": {
"parley-message-check": { "type": "http", "url": "https://parleymessagecheck.usefulweb.site/mcp" }
}
}