Tools

Platica's MCP server publishes one tool for every production endpoint of the REST API. Use tools/list to see the up-to-date catalog at any time.


Naming conventions

All tools follow the verb_resource pattern in snake_case:

VerbMeaning
list_*List every item of a resource (paginated).
get_*Retrieve a single item by ID or unique identifier.
create_*Create a new item.
update_*Partially update an existing item.
delete_*Delete an item.
send_*Send/trigger something (messages, campaigns).

Annotations (annotations)

Every tool includes MCP annotations that help the client understand its nature:

AnnotationWhen it's used
readOnlyHint: trueOnly reads data (list_*, get_*). The client can run it without asking for confirmation.
destructiveHint: trueDeletes or mutates in bulk (delete_*, clear_campaign_audience).
idempotentHint: trueCalling it multiple times with the same arguments produces the same result.

Catalog by resource

ResourcePage
MessagesMessages
ConversationsConversations
CustomersCustomers
AgentsAgents
ToolsTools
ChannelsChannels
Usage statisticsUsage statistics
CampaignsCampaigns
WhatsApp templatesTemplates
WebhooksWebhooks
Custom fieldsCustom fields
TagsTags

How to discover them at runtime

Any MCP client discovers the up-to-date list by calling the JSON-RPC method tools/list:

curl -X POST https://api.platica.mx/mcp \
  -H "Authorization: Bearer pl_key_..." \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/list"
  }'

The response includes name, title, description, inputSchema (JSON Schema), and annotations for each tool.