Skip to main content
Glama
Marc-Lou-Org

@datafast/mcp-server

by Marc-Lou-Org

Track Goal Completion

track_goal

Track custom goal completion for a specific visitor by recording the goal name and optional metadata, enabling measurement of conversions and user actions.

Instructions

Track a custom goal completion for a specific visitor. Goal names must be lowercase, alphanumeric with underscores/hyphens, max 64 characters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesGoal name (lowercase, alphanumeric, underscores, hyphens, max 64 chars)
metadataNoOptional metadata object with custom properties
visitorIdYesThe DataFast visitor ID
descriptionNoOptional goal description
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral disclosure burden. It only repeats the goal name validation rule already in the schema, but does not disclose side effects, idempotency, persistence, response format, or any prerequisites. This is a write operation with no behavioral context beyond the obvious 'track' action.

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?

Two sentences with no extraneous content. The first sentence front-loads the purpose, and the second adds a critical validation constraint. Each sentence earns its place, and the description is appropriately sized for the tool's simplicity.

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

Completeness2/5

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

With no output schema, no annotations, and a nested object parameter, the description is incomplete. It does not explain return values, success/failure behavior, or how metadata is used. The tool has 4 parameters but the description only covers the goal name constraint, leaving the agent without enough context for reliable invocation.

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 meaning beyond the schema; it merely restates the name constraint already present in the parameter description. No additional semantics for metadata or visitorId are provided.

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's specific action: 'Track a custom goal completion for a specific visitor.' This distinguishes it from siblings like get_goals or delete_goals, and includes the target resource (custom goal) and scope (specific 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 implies usage for recording goal completions but does not explicitly say when to use this tool versus track_payment or other event-tracking siblings. No alternatives or exclusions are mentioned, leaving the agent to infer from the tool name and sibling list.

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