Skip to main content
Glama

Create Affiliate Profile

create_affiliate_profile

Create a reusable 'open' affiliate profile — a shareable link promoters self-join (no named email; use add_affiliate for a specific person). Set per-tier discount, optional code prefix, affiliate cap, commission, and start/expiry. Counts against the affiliate-profile plan cap. Requires event_id + at least one tier; you must be a host.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tiersYes
event_idYes
starts_atNo
expires_atNo
code_prefixNo
profile_nameNo
max_affiliatesNo
commission_typeNo
commission_valueNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / tiers / additionalProperties / properties / discount_value / exclusiveMinimum
      Removed value: -0
    • addedInput schema / properties / tiers / additionalProperties / properties / discount_value / minimum
      Added value: +0
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations indicate a write operation (not read-only, not destructive). The description adds value by noting the plan cap consumption and host authorization requirement, which are behavioral traits beyond the annotations.

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

Conciseness4/5

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

Two sentences efficiently convey the core purpose, constraints, and key parameters. Could be improved with structured formatting but is already concise and front-loaded.

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?

Given the complexity (9 params, nested object, no output schema), the description provides high-level purpose and constraints but lacks details on return values, the structure of the 'tiers' parameter, and complete parameter listing. Some gaps remain for agent understanding.

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

Parameters2/5

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

The schema has 0% description coverage for 9 parameters, including a complex nested object. The description only lists a few parameters (tiers, code_prefix, max_affiliates, commission, start/expiry) but omits 'profile_name' and does not explain the structure of the 'tiers' object, leaving ambiguity for the agent.

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 creates a reusable 'open' affiliate profile, distinguishing it from 'add_affiliate' for specific individuals. The verb 'Create' and resource 'affiliate profile' are explicit.

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 mentions requirements (event_id, tiers, host role) and plan cap constraints. It implicitly distinguishes from 'add_affiliate' for self-join vs specific assignment, but lacks explicit when-not-to-use guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.