FirstPromoter MCP by usefulapi

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

使うべきか

品質と安全性

A
説明の品質
98%
スキーマの完全性
95%
命名の品質
94%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

検出事項(6)

  • LOWTool 'firstpromoter_list_promoter_links' name length outside 3-30 rangefirstpromoter_list_promoter_links 内
  • LOWTool 'firstpromoter_list_promoter_campaigns' name length outside 3-30 rangefirstpromoter_list_promoter_campaigns 内
  • LOWTool 'firstpromoter_approve_commissions' name length outside 3-30 rangefirstpromoter_approve_commissions 内
  • LOWTool 'firstpromoter_get_due_payout_stats' name length outside 3-30 rangefirstpromoter_get_due_payout_stats 内
  • LOWTool 'firstpromoter_get_batch_process' name length outside 3-30 rangefirstpromoter_get_batch_process 内
  • LOWTool 'firstpromoter_report_traffic_sources' name length outside 3-30 rangefirstpromoter_report_traffic_sources 内

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~3,874トークン数(ツール定義)
~1.6 KB一般的なレスポンスサイズ
注意への影響は大きい(128k コンテキストの 3.03%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

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

リモートエンドポイント

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

できること

ツール一覧

ツール(19)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢firstpromoter_list_promoters(q, ids, page, per_page)

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

入力スキーマ

{
  "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}.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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}.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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}.

入力スキーマ

{
  "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}.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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.

入力スキーマ

{
  "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"
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 19 件