Skip to main content
Glama
cmcgrabby-hue

syndicate-links-mcp

track_agent_conversion

Record AI agent-driven conversions using signed attribution tokens to auto-approve affiliate commissions. Returns event IDs, commission amounts, and payout status for tracked sales.

Instructions

Record a conversion event driven by an AI agent. Requires a valid attribution token (slat_v1_ prefix) previously issued for this affiliate. The commission is auto-approved. Returns eventId, commissionAmount, and commissionStatus.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
attribution_tokenYesSigned attribution token (slat_v1_ prefix) binding this conversion to a program and affiliate.
order_idYesUnique order/transaction identifier from the merchant system. Duplicate order IDs for the same program are rejected.
sale_amountYesGross sale amount in the specified currency. Must be greater than zero.
currencyNoISO 4217 currency code (3 uppercase letters). Defaults to 'USD'.USD
agent_idNoOptional identifier for the AI agent that drove the conversion (stored for audit).
mpp_referenceNoOptional Model-Promoted Product reference string (stored for audit only).
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It successfully communicates critical side effects ('commission is auto-approved') and return values ('Returns eventId, commissionAmount, and commissionStatus') despite the absence of an output schema. It could be improved by mentioning idempotency behavior regarding duplicate order IDs.

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 consists of three tightly constructed sentences with zero redundancy: the first defines the action, the second states requirements, and the third discloses side effects/returns. Information is front-loaded and every sentence earns its place.

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

Completeness4/5

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

Given the lack of output schema and annotations, the description adequately compensates by documenting return values and mutation side effects. For a financial/tracking operation with 100% schema coverage, the description provides sufficient context, though explicit error conditions or duplicate handling would elevate it to a 5.

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?

With 100% schema description coverage, the input schema fully documents all six parameters including validation patterns (e.g., '^slat_v1_'). The description adds minimal semantic value beyond the schema, merely reinforcing the attribution token prefix requirement which is already explicitly defined in the schema's pattern property.

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 specific action ('Record a conversion event') and resource type, explicitly identifying this as an AI-agent-driven operation. It effectively distinguishes itself from sibling tools (which are read/query operations like get_commission_status or verify_attribution_token) by being the sole write operation for conversion tracking.

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

Usage Guidelines4/5

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

The description provides clear prerequisites ('Requires a valid attribution token... previously issued'), implying the need for prior token generation/verification. However, it stops short of explicitly referencing the sibling verify_attribution_token tool for pre-validation or stating when NOT to use this tool (e.g., for duplicate orders).

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/cmcgrabby-hue/syndicate-links'

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