Skip to main content

Tools Reference

The CRM MCP server exposes 13 read-only diagnostic tools scoped to a single TagadaPay account. All tools are backed by the official @tagadapay/node-sdk.
All tools are implicitly account-scoped — you never pass an accountId. The API key in your MCP config determines which account you see.
The tools are organized in six categories: Orders, Stores, Processors, Funnels, Customers, Webhooks & domains.

Orders

orders.list

List orders for the account with optional filters and pagination. Returns: { total, page, pageSize, count, items: [...] }

orders.retrieve

Retrieve a single order by id. Returns: the order object.

Stores

stores.list

List stores on the account. Returns: { total, page, pageSize, items: [...] }

stores.retrieve

Retrieve a single store by id. Returns: the store object.

Processors

Useful first call when an agent is asked about declined payments or routing.

processors.list

List payment processors configured on the account, with their active flag, supported currencies, and countries. No parameters. Returns: { count, items: [...] }

processors.retrieve

Retrieve a single processor by id. Returns: the processor object.

Funnels

funnels.list

List funnels for a store. Use to diagnose checkout issues (wrong default currency, inactive funnel, missing steps). Returns: { count, items: [...] }

funnels.retrieve

Retrieve a single funnel by id with its full configuration. Returns: the funnel object with steps and offer config.

Customers

customers.list

List customers with optional email filter and pagination. Returns: { total, page, pageSize, items: [...] }

customers.retrieve

Retrieve a single customer by id. Returns: the customer object.

Webhooks & domains

webhooks.list

List webhook endpoints configured on a store. Use to diagnose missing or misconfigured endpoints. Returns: { count, items: [...] }

domains.list

List custom domains on the account with their verification status. No parameters. Returns: { count, items: [...] }

domains.getDnsLookup

Live DNS lookup for a domain — returns the actual A/CNAME/TXT records observed on the public internet, run from TagadaPay infrastructure. Use to diagnose DNS misconfiguration without making the merchant run dig. Returns: the DNS lookup result.

Errors

Errors are surfaced to the MCP client with isError: true and a human-readable message.

Versioning

The tool surface follows semantic versioning of @tagadapay/crm-mcp:
  • Patch (1.x.y): bug fixes, schema clarifications.
  • Minor (1.x.0): new tools, additive fields. Existing tools never break.
  • Major (x.0.0): breaking changes, telegraphed in the changelog at least one minor release ahead.
Tools never silently change their input or output schema between minor versions.

Adding tools (for contributors)

The MCP surface is strictly read-only. If a proposed tool mutates server state, it belongs in the in-app auto-fix agent’s proposal flow — not here. New tool PRs must:
  1. Call a TagadaPay Node SDK method that does not mutate server state.
  2. Validate inputs with Zod.
  3. Use txt() / err() helpers for consistent response shapes.
  4. Not introduce new SDK dependencies beyond @tagadapay/node-sdk.