Skip to main content

Tools Reference

The Pitaia MCP server exposes 16 tools. Tools are filtered by the token's scopes; every call is limited to the token's store and recorded in the audit log. All money values are integers in cents.

Read tools

analytics_overview

Store performance summary: revenue, visits, leads, orders with trends.

ParameterTypeDescription
period"7d" | "14d" | "30d" (default "30d")Time window

analytics_revenue_series

Daily revenue time series for a period.

ParameterTypeDescription
period"7d" | "14d" | "30d" (default "30d")Time window

analytics_product_performance

Per-product performance for a period.

ParameterTypeDescription
period"7d" | "14d" | "30d" (default "30d")Time window

product_list

List all products in the store. No parameters.

product_get

Get a single product by id.

ParameterTypeDescription
productIdstringProduct id

Semantic search over the creator's saved memories.

ParameterTypeDescription
querystringSearch query
matchCountnumber (optional, 1–20)Max results (default 5)

get_store_goal

Get the store's current active goal. No parameters.

Write tools

product_create

Create a new product as a draft.

ParameterTypeDescription
namestringProduct name
descriptionstring (optional)Product description
type"digital_download" | "url_media" | "course"Product type
priceInCentsnumberPrice in cents

product_update

Update fields of an existing product.

ParameterTypeDescription
idstringProduct id
namestring (optional)New name
descriptionstring (optional)New description
priceInCentsnumber (optional)New price in cents

set_store_goal

Set or update the store's goal.

ParameterTypeDescription
goalType"sell_infoproducts" | "sell_consultations" | "grow_audience" | "reactivate_customers"Canonical goal category
detailstring (optional)The creator's own phrasing of the goal

memory_save

Save a new creator memory.

ParameterTypeDescription
category"preference" | "business" | "interaction" | "decision"Memory category
contentstringMemory content (max 2000 chars)

memory_update

Update an existing memory's content.

ParameterTypeDescription
memoryIdstringMemory id
contentstringNew content

theme_generate

Generate a store theme proposal from a natural-language description. Returns a proposal; does not apply it.

ParameterTypeDescription
promptstringDescription of the desired theme

theme_extract

Extract a theme proposal from a website URL. Returns a proposal; does not apply it.

ParameterTypeDescription
urlstring (URL)Website URL

generate_charge (human-gated)

Draft a checkout charge for a catalog product. The price always comes from the catalog — the agent cannot set it. Creates a pending_approval draft; the payment link is only sent after the creator approves it in the dashboard.

ParameterTypeDescription
productstringProduct name, exactly as in the catalog
quantitynumber (optional)How many units (default 1)

compose_report

Compose and post a visual report card to the store activity feed. Omit all fields for a default weekly performance report.

ParameterTypeDescription
titlestring (optional)Short report title in the seller's language
narrationstring (optional)One or two sentence summary

Deliberately excluded

Destructive operations (product_delete, memory_delete, calendar event deletion) are excluded from the MCP surface by design.