Skip to main content
Glama

Create an affiliate

create_affiliate

Register a new affiliate by email on a ThriveCart account. Check for existing affiliates first to prevent duplicate records or rejection.

Instructions

Register a new affiliate on a ThriveCart account. Check with get_affiliate first, because creating one that already exists is not a no-op and ThriveCart may reject it or duplicate the record.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYesThe affiliate's email address. This becomes their identity.
accountNoWhich configured ThriveCart account to use, by name (for example 'navid-media'). Defaults to the first configured account. Call list_accounts to see them. Figures from one cart never include another.
last_nameNoLast name.
first_nameNoFirst name.
Install Server

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare non-read-only and non-idempotent behavior, but the description adds meaningful context about the concrete consequences: duplicate records or rejection by ThriveCart. This goes beyond the binary flags and helps the agent understand the operational risk.

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, no filler, with the most important operational warning placed directly after the primary action. It earns every word and is easy to parse quickly.

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?

For a simple creation tool with four flat parameters and full schema documentation, the description covers what the tool does, how to avoid misuse, and what risks exist. The only minor gap is that it doesn't describe the success response or how to verify the result, but this is not critical for correct 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?

The schema already provides 100% description coverage for all parameters, including the note that email 'becomes their identity.' The description itself adds no additional parameter-level meaning, so the baseline score of 3 is appropriate.

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 a specific action — 'Register a new affiliate on a ThriveCart account' — which distinguishes it from sibling read/search tools like get_affiliate and search_affiliates. The verb 'register' plus the resource 'affiliate' makes the function's scope unambiguous.

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

Usage Guidelines5/5

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

It explicitly tells the agent to check with get_affiliate before creating, and explains why: creating an existing affiliate is not a no-op and may cause rejection or duplication. This gives direct, actionable guidance about when to use this tool versus the alternative.

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

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/navidmoazzez/thrivecart-mcp'

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