Skip to main content
Glama
Marc-Lou-Org

@datafast/mcp-server

by Marc-Lou-Org

Track Payment

track_payment

Track payment events to link transactions to visitors for accurate revenue attribution and conversion tracking.

Instructions

Track a payment event for revenue attribution. Links payments to visitors for conversion tracking.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoCustomer name
emailNoCustomer email
amountYesPayment amount (>= 0)
renewalNoWhether this is a subscription renewal (default: false)
currencyYesCurrency code in uppercase (e.g. USD, EUR)
refundedNoWhether this payment was refunded (default: false)
timestampNoPayment timestamp in ISO 8601 format (defaults to now)
customer_idNoCustomer ID in your system
is_free_trialNoWhether this is a free trial (default: false, auto-set if amount is 0)
transaction_idYesUnique transaction identifier
datafast_visitor_idNoDataFast visitor ID for attribution
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the burden of disclosing behavior. It mentions linking payments to visitors, a key side effect, but does not explain persistence, idempotency, error handling, or whether it is a write operation with no return value.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with zero wasted words. It front-loads the purpose and adds a key behavioral link, making it appropriately concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The purpose is clear and the schema documents all parameters, but with no output schema and sparse behavioral detail, the description is not fully complete for a tracking tool with 11 parameters. It covers the high-level purpose but lacks operational context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description does not add parameter-specific guidance beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool tracks a payment event for revenue attribution and links payments to visitors for conversion tracking. This specific verb+resource combination distinguishes it from sibling tools like track_goal and identify_visitor.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear context for use (payment events, revenue attribution, conversion tracking) but does not explicitly state when not to use it or mention alternatives. It lacks exclusionary guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Marc-Lou-Org/datafast-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server