FirstPromoter MCP by usefulapi

Read promoters, referrals, commissions and payouts; approve commissions in FirstPromoter.

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
98%
Vollständigkeit des Schemas
95%
Qualität der Benennung
94%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Befunde (6)

  • LOWTool 'firstpromoter_list_promoter_links' name length outside 3-30 rangein firstpromoter_list_promoter_links
  • LOWTool 'firstpromoter_list_promoter_campaigns' name length outside 3-30 rangein firstpromoter_list_promoter_campaigns
  • LOWTool 'firstpromoter_approve_commissions' name length outside 3-30 rangein firstpromoter_approve_commissions
  • LOWTool 'firstpromoter_get_due_payout_stats' name length outside 3-30 rangein firstpromoter_get_due_payout_stats
  • LOWTool 'firstpromoter_get_batch_process' name length outside 3-30 rangein firstpromoter_get_batch_process
  • LOWTool 'firstpromoter_report_traffic_sources' name length outside 3-30 rangein firstpromoter_report_traffic_sources

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~3,874Tokens (Tool-Definitionen)
~1.6 KBTypische Antwortgröße
Erhebliche Auswirkung auf die Aufmerksamkeit (3.03% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "firstpromoter": {
      "url": "https://firstpromoter.usefulapi.io/mcp"
    }
  }
}

Remote-Endpunkte

https://firstpromoter.usefulapi.io/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (19)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢firstpromoter_list_promoters(q, ids, page, per_page)

List the promoters (affiliates) in the account, with search and id filters. GET /promoters.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "q": {
      "description": "Search text.",
      "type": "string"
    },
    "ids": {
      "description": "Only these numeric ids.",
      "type": "array",
      "items": {
        "type": "integer",
        "exclusiveMinimum": 0,
        "maximum": 9007199254740991
      }
    },
    "page": {
      "description": "Page number, starts at 1.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "per_page": {
      "description": "Items per page (the vendor default is 25).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢firstpromoter_get_promoter(id, find_by)

Get one promoter's profile, campaigns and stats. Pass a numeric id, or set find_by to look up by email, cust_id, auth_token, ref_token or promo_code. GET /promoters/{id}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "The promoter id, or the value to find by when find_by is set."
    },
    "find_by": {
      "type": "string",
      "enum": [
        "email",
        "cust_id",
        "auth_token",
        "ref_token",
        "promo_code"
      ]
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢firstpromoter_list_promoter_links(id)

List a promoter's referral links: the default link plus campaign and custom links. GET /promoters/{id}/referral_links.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "The promoter's numeric id."
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢firstpromoter_list_promoter_campaigns(page, per_page)

List the promoter-campaign records: each promoter's enrollment in a campaign, with the ref token and coupon. GET /promoter_campaigns.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "page": {
      "description": "Page number, starts at 1.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "per_page": {
      "description": "Items per page (the vendor default is 25).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢firstpromoter_list_referrals(q, ids, type, promoter_id, state, ...)

List referrals (leads and customers) with filters for type, promoter, state and creation date. GET /referrals.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "q": {
      "description": "Search by email, uid, username or website.",
      "type": "string"
    },
    "ids": {
      "description": "Only these numeric ids.",
      "type": "array",
      "items": {
        "type": "integer",
        "exclusiveMinimum": 0,
        "maximum": 9007199254740991
      }
    },
    "type": {
      "description": "Lead or customer.",
      "type": "string",
      "enum": [
        "lead",
        "customer"
      ]
    },
    "promoter_id": {
      "description": "Only referrals of this promoter id.",
      "type": "string"
    },
    "state": {
      "description": "Referral state.",
      "type": "string",
      "enum": [
        "subscribed",
        "signup",
        "active",
        "cancelled",
        "refunded",
        "denied",
        "pending",
        "moved"
      ]
    },
    "created_from": {
      "description": "Created on or after this date (YYYY-MM-DD).",
      "type": "string"
    },
    "created_to": {
      "description": "Created on or before this date (YYYY-MM-DD).",
      "type": "string"
    },
    "page": {
      "description": "Page number, starts at 1.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "per_page": {
      "description": "Items per page (the vendor default is 25).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢firstpromoter_get_referral(id, find_by)

Get one referral by its id, or by email, uid or username with find_by. GET /referrals/{id}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "The referral id, or the value to find by when find_by is set."
    },
    "find_by": {
      "type": "string",
      "enum": [
        "email",
        "uid",
        "username"
      ]
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴firstpromoter_create_referral(promoter_campaign_id, email, uid)

Add a referral to a promoter campaign by email or uid (give at least one). Changes account data. POST /referrals.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "promoter_campaign_id": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "The promoter-campaign id (from firstpromoter_list_promoter_campaigns)."
    },
    "email": {
      "description": "Email address of the referral.",
      "type": "string",
      "format": "email",
      "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
    },
    "uid": {
      "description": "Your own user id for the referral.",
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "promoter_campaign_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢firstpromoter_list_commissions(q, ids, page, per_page)

List commissions and rewards across the account, with a search text and id filter. GET /commissions.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "q": {
      "description": "Search text.",
      "type": "string"
    },
    "ids": {
      "description": "Only these numeric ids.",
      "type": "array",
      "items": {
        "type": "integer",
        "exclusiveMinimum": 0,
        "maximum": 9007199254740991
      }
    },
    "page": {
      "description": "Page number, starts at 1.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "per_page": {
      "description": "Items per page (the vendor default is 25).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴firstpromoter_approve_commissions(ids)

Approve pending commissions by id so they can be paid out. More than 5 ids run as an asynchronous batch: the reply has a batch id to check with firstpromoter_get_batch_process. POST /commissions/approve.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "ids": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "integer",
        "exclusiveMinimum": 0,
        "maximum": 9007199254740991
      },
      "description": "Commission ids to approve."
    }
  },
  "required": [
    "ids"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢firstpromoter_list_payouts(q, ids, status, campaign_id, promoter_id, ...)

List payouts, filtered by status, campaign, promoter or payments batch. GET /payouts.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "q": {
      "description": "Search text.",
      "type": "string"
    },
    "ids": {
      "description": "Only these numeric ids.",
      "type": "array",
      "items": {
        "type": "integer",
        "exclusiveMinimum": 0,
        "maximum": 9007199254740991
      }
    },
    "status": {
      "description": "Payout status, as the vendor names it.",
      "type": "string"
    },
    "campaign_id": {
      "description": "Only payouts of this campaign id.",
      "type": "string"
    },
    "promoter_id": {
      "description": "Only payouts of this promoter id.",
      "type": "string"
    },
    "payments_batch_id": {
      "description": "Only payouts in this payments batch.",
      "type": "string"
    },
    "only_payable": {
      "description": "Only payouts that can be paid now.",
      "type": "boolean"
    },
    "page": {
      "description": "Page number, starts at 1.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "per_page": {
      "description": "Items per page (the vendor default is 25).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢firstpromoter_get_payout_stats(group_by, status, campaign_id)

Get payout totals grouped by paid period, status or payout method. GET /payouts/stats.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "group_by": {
      "type": "string",
      "enum": [
        "paid_period",
        "status",
        "payout_method"
      ],
      "description": "How to group the totals."
    },
    "status": {
      "description": "Only payouts with this status.",
      "type": "string"
    },
    "campaign_id": {
      "description": "Only payouts of this campaign id.",
      "type": "string"
    }
  },
  "required": [
    "group_by"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢firstpromoter_get_due_payout_stats(status, campaign_id)

Get the totals of payouts that are due now, optionally for one status or campaign. GET /payouts/due_stats.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "status": {
      "description": "Only payouts with this status.",
      "type": "string"
    },
    "campaign_id": {
      "description": "Only payouts of this campaign id.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢firstpromoter_list_promo_codes(promoter_campaign_id)

List promo codes on the account, optionally for one promoter campaign. GET /promo_codes.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "promoter_campaign_id": {
      "description": "Only codes of this promoter campaign id.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢firstpromoter_get_promo_code(id)

Get one promo code with its reward and promoter campaign. GET /promo_codes/{id}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "The promo code id."
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢firstpromoter_get_batch_process(id)

Get the status, totals and errors of one batch process started by a bulk action (for example approving more than 5 commissions). GET /batch_processes/{id}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "The batch id from the bulk action reply."
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢firstpromoter_report_overview(columns, group_by, start_date, end_date, q)

Get account-wide metrics (clicks, referrals, customers, revenue, commissions) over a date range, grouped by time. GET /reports/overview.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "columns": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "Metric columns, for example clicks_count, referrals_count, customers_count, sales_count, revenue_amount, net_revenue_amount, promoter_earnings_amount, refunds_count, monthly_churn, active_customers, referrals_to_customers_cr, clicks_to_customers_cr."
    },
    "group_by": {
      "type": "string",
      "enum": [
        "day",
        "week",
        "month",
        "year"
      ],
      "description": "Time bucket for the rows."
    },
    "start_date": {
      "type": "string",
      "minLength": 1,
      "description": "Date-time in ISO 8601, for example 2026-01-01T00:00:00Z. A plain date (2026-01-01) is read as UTC: the start of the day for start_date, the end of the day for end_date."
    },
    "end_date": {
      "type": "string",
      "minLength": 1,
      "description": "Date-time in ISO 8601, for example 2026-01-01T00:00:00Z. A plain date (2026-01-01) is read as UTC: the start of the day for start_date, the end of the day for end_date."
    },
    "q": {
      "description": "Search text.",
      "type": "string"
    }
  },
  "required": [
    "columns",
    "group_by",
    "start_date",
    "end_date"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢firstpromoter_report_campaigns(columns, group_by, start_date, end_date, q)

Get metrics grouped by campaign over a date range. GET /reports/campaigns.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "columns": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "Metric columns, for example clicks_count, referrals_count, customers_count, sales_count, revenue_amount, net_revenue_amount, promoter_earnings_amount, refunds_count, monthly_churn, active_customers, referrals_to_customers_cr, clicks_to_customers_cr."
    },
    "group_by": {
      "type": "string",
      "enum": [
        "day",
        "week",
        "month",
        "year"
      ],
      "description": "Time bucket for the rows."
    },
    "start_date": {
      "type": "string",
      "minLength": 1,
      "description": "Date-time in ISO 8601, for example 2026-01-01T00:00:00Z. A plain date (2026-01-01) is read as UTC: the start of the day for start_date, the end of the day for end_date."
    },
    "end_date": {
      "type": "string",
      "minLength": 1,
      "description": "Date-time in ISO 8601, for example 2026-01-01T00:00:00Z. A plain date (2026-01-01) is read as UTC: the start of the day for start_date, the end of the day for end_date."
    },
    "q": {
      "description": "Search text.",
      "type": "string"
    }
  },
  "required": [
    "columns",
    "group_by",
    "start_date",
    "end_date"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢firstpromoter_report_promoters(columns, group_by, start_date, end_date, q)

Get metrics grouped by promoter over a date range, with search. GET /reports/promoters.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "columns": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "Metric columns, for example clicks_count, referrals_count, customers_count, sales_count, revenue_amount, net_revenue_amount, promoter_earnings_amount, refunds_count, monthly_churn, active_customers, referrals_to_customers_cr, clicks_to_customers_cr."
    },
    "group_by": {
      "type": "string",
      "enum": [
        "day",
        "week",
        "month",
        "year"
      ],
      "description": "Time bucket for the rows."
    },
    "start_date": {
      "type": "string",
      "minLength": 1,
      "description": "Date-time in ISO 8601, for example 2026-01-01T00:00:00Z. A plain date (2026-01-01) is read as UTC: the start of the day for start_date, the end of the day for end_date."
    },
    "end_date": {
      "type": "string",
      "minLength": 1,
      "description": "Date-time in ISO 8601, for example 2026-01-01T00:00:00Z. A plain date (2026-01-01) is read as UTC: the start of the day for start_date, the end of the day for end_date."
    },
    "q": {
      "description": "Search text.",
      "type": "string"
    }
  },
  "required": [
    "columns",
    "group_by",
    "start_date",
    "end_date"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢firstpromoter_report_traffic_sources(columns, group_by, start_date, end_date, q)

Get metrics grouped by traffic source over a date range. GET /reports/traffic_sources.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "columns": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "Metric columns, for example clicks_count, referrals_count, customers_count, sales_count, revenue_amount, net_revenue_amount, promoter_earnings_amount, refunds_count, monthly_churn, active_customers, referrals_to_customers_cr, clicks_to_customers_cr."
    },
    "group_by": {
      "type": "string",
      "enum": [
        "day",
        "week",
        "month",
        "year"
      ],
      "description": "Time bucket for the rows."
    },
    "start_date": {
      "type": "string",
      "minLength": 1,
      "description": "Date-time in ISO 8601, for example 2026-01-01T00:00:00Z. A plain date (2026-01-01) is read as UTC: the start of the day for start_date, the end of the day for end_date."
    },
    "end_date": {
      "type": "string",
      "minLength": 1,
      "description": "Date-time in ISO 8601, for example 2026-01-01T00:00:00Z. A plain date (2026-01-01) is read as UTC: the start of the day for start_date, the end of the day for end_date."
    },
    "q": {
      "description": "Search text.",
      "type": "string"
    }
  },
  "required": [
    "columns",
    "group_by",
    "start_date",
    "end_date"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet19 Tools