Skip to content
Docs

API reference

MCP tool reference

Every tool the Metrixed MCP server exposes, per audience. The token (or OAuth grant) decides the audience: staff tokens get the network tools, partner tokens the partner tools, advertiser tokens the advertiser tools. A tool is listed only when the token carries its scope. This page is generated from the server's tool table.

Rate limit: 120 requests per minute per token (configurable with DT_MCP_RATE_PER_MINUTE). See MCP server for setup.

Scopes

ScopeAudiencesGrants
reports:readNetwork (staff), Partner, AdvertiserRun reports, read the report catalogue and anomaly insights
entities:readNetwork (staff), Partner, AdvertiserRead offers, partners, advertisers, smartlinks, caps, approvals, notifications and postbacks
logs:readNetwork (staff), Partner, AdvertiserSearch conversion and click logs and disputes
billing:readNetwork (staff), Partner, AdvertiserRead statements, invoices, earnings and balance
fraud:readNetwork (staff)Read fraud cases
offers:writeNetwork (staff), PartnerPause and resume offers (network); apply to offers (partner)
approvals:writeNetwork (staff)Approve or reject partner applications
conversions:writeNetwork (staff), AdvertiserApprove or reject conversions (network); dispute conversions (advertiser)
links:writeNetwork (staff), PartnerCreate tracking links
postbacks:writePartnerSend test postbacks

Advertiser tools

ToolScopeKindWhat it does
run_reportreports:readread-onlyRun the unified report builder query over a date range: group by dimensions, pick metrics, filter, compare with the previous period or year, sort and limit. Keys come from report_catalog. Time dimensions: hour, day, week, month. Returns one object per row, totals and the reporting currency. With tree it drills down level by level (offer → partner → sub1 …). Money is in the tenant currency unless currency is set.
report_catalogreports:readread-onlyList the dimension and metric keys run_report accepts for this account (labels, types, groups).
list_offersentities:readread-onlyList or search offers visible to this account (network: all offers; partner: the marketplace and offers you run; advertiser: your offers).
get_offerentities:readread-onlyOne offer with its details (payouts/goals/caps as this account may see them).
search_conversionslogs:readread-onlySearch the conversion log by id, click id, transaction id, offer or status over a time range (newest first, cursor paging).
search_clickslogs:readread-onlySearch the click log by click id, offer, partner, country, sub id or source over a time range (cursor paging). Partners see their own clicks without IP, user agent, destination URL or device ids.
list_accountsentities:readread-onlyThe partner or advertiser accounts you belong to in this network and which one this token acts for. A token is bound to the account it was created in: to work on another account, switch accounts in the portal and create a token there.
caps_statusentities:readread-onlyCurrent cap usage per cap (limit, used, remaining, period) so you can see what is close to or at its cap.
list_notificationsentities:readread-onlyRecent in-app notifications and messages for this account.
anomaly_insightsreports:readread-onlyStatistically unusual changes (drops, spikes) in clicks, conversions, CR and money over the last days, with the dimension that moved.
dispute_conversionconversions:writewrite, needs confirm: trueAsk to change one of your conversions' status (e.g. reject a fraudulent or returned order). Depending on the network's policy this opens a dispute or applies at once. Requires confirm: true.
list_disputeslogs:readread-onlyYour conversion disputes and their outcome.
list_invoicesbilling:readread-onlyYour invoices (period, amount, due date, status).
billing_balancebilling:readread-onlyYour prepaid balance / credit, open invoices and amounts due.

run_report (advertiser)

Run a performance report.

ArgumentTypeRequiredDescription
comparestring: none, previous_period, previous_yearCompare with an earlier period
currencystringISO 4217 currency to convert money into (default: tenant currency)
cursorstringnext_cursor of the previous page
dimensionsarrayGroup-by keys, e.g. ["offer"] or ["day","country"]; empty for totals
filtersarrayDimension filters
fromstringyesStart date YYYY-MM-DD (inclusive, tenant reporting timezone)
limitinteger (1–1000)Max rows (default 100)
metricsarrayyesMetric keys, e.g. ["clicks","conversions","payout"]
sortstringMetric or dimension key to sort by; prefix - for descending (e.g. -conversions)
timezonestringIANA timezone for date bucketing (default: tenant reporting timezone)
tostringyesEnd date YYYY-MM-DD (inclusive)
treeobjectTree mode (drill-down): nested levels instead of flat rows. Returns the focused node (totals) and its children (rows, pre-order) with has_children/child_count; drill by repeating the call with path extended by a child's path.

report_catalog (advertiser)

Report catalogue.

ArgumentTypeRequiredDescription
groupstringOnly metrics of this group (optional)

list_offers (advertiser)

List offers.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)
querystringName search text
statusstringStatus filter (network/advertiser: active, paused, …; partner: approved, pending, available)

get_offer (advertiser)

Get offer.

ArgumentTypeRequiredDescription
offer_idstringyesOffer id

search_conversions (advertiser)

Search conversions.

ArgumentTypeRequiredDescription
click_idstringExact click id
conversion_idstringExact conversion id
cursorstringnext_cursor of the previous page
fromstringStart (YYYY-MM-DD or RFC 3339; default 7 days before to)
limitinteger (1–200)Max rows (default 50)
offer_idstringExact offer id
statusstringExact status
tostringEnd (YYYY-MM-DD or RFC 3339; default now)
txn_idstringExact txn id

search_clicks (advertiser)

Search clicks.

ArgumentTypeRequiredDescription
click_idstringExact click id
countrystringExact country
cursorstringnext_cursor of the previous page
fromstringStart (YYYY-MM-DD or RFC 3339; default 7 days before to)
limitinteger (1–200)Max rows (default 50)
offer_idstringExact offer id
sourcestringExact source
sub1stringExact sub1
tostringEnd (YYYY-MM-DD or RFC 3339; default now)

list_accounts (advertiser)

My accounts.

No arguments.

caps_status (advertiser)

Caps status.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)

list_notifications (advertiser)

Notifications.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)

anomaly_insights (advertiser)

Anomaly insights.

ArgumentTypeRequiredDescription
daysinteger (1–90)Days to scan (default 7)
limitinteger (1–100)Max insights (default 20)

dispute_conversion (advertiser)

Dispute a conversion.

ArgumentTypeRequiredDescription
confirmbooleanMust be true: this action changes live data. Ask the user first, then repeat the call with confirm: true.
conversion_idstringyesConversion id
notestringFree-text note for the network
reasonstring: valid, duplicate, fraud, returned, cancelled_order, test, otheryesReason code
statusstring: approved, rejected, cancelledyesRequested status

list_disputes (advertiser)

My disputes.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)
querystringSearch text (optional)
statusstringStatus filter (optional)

list_invoices (advertiser)

My invoices.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)
querystringSearch text (optional)
statusstringStatus filter (optional)

billing_balance (advertiser)

Balance and billing summary.

No arguments.

Network (staff) tools

ToolScopeKindWhat it does
run_reportreports:readread-onlyRun the unified report builder query over a date range: group by dimensions, pick metrics, filter, compare with the previous period or year, sort and limit. Keys come from report_catalog. Time dimensions: hour, day, week, month. Returns one object per row, totals and the reporting currency. With tree it drills down level by level (offer → partner → sub1 …). Money is in the tenant currency unless currency is set.
report_catalogreports:readread-onlyList the dimension and metric keys run_report accepts for this account (labels, types, groups).
list_offersentities:readread-onlyList or search offers visible to this account (network: all offers; partner: the marketplace and offers you run; advertiser: your offers).
get_offerentities:readread-onlyOne offer with its details (payouts/goals/caps as this account may see them).
search_conversionslogs:readread-onlySearch the conversion log by id, click id, transaction id, offer or status over a time range (newest first, cursor paging).
search_clickslogs:readread-onlySearch the click log by click id, offer, partner, country, sub id or source over a time range (cursor paging). Partners see their own clicks without IP, user agent, destination URL or device ids.
list_smartlinksentities:readread-onlySmartlinks (one link that routes each click to the best offer). Partners see the smartlinks they may run; get a link with create_tracking_link and smartlink_id.
caps_statusentities:readread-onlyCurrent cap usage per cap (limit, used, remaining, period) so you can see what is close to or at its cap.
list_notificationsentities:readread-onlyRecent in-app notifications and messages for this account.
anomaly_insightsreports:readread-onlyStatistically unusual changes (drops, spikes) in clicks, conversions, CR and money over the last days, with the dimension that moved.
list_partnersentities:readread-onlyPartners (affiliates) with status, manager and tier.
get_partnerentities:readread-onlyOne partner with profile, status, tier and settings.
list_advertisersentities:readread-onlyAdvertisers with status and manager.
get_advertiserentities:readread-onlyOne advertiser with profile and settings.
approvals_queueentities:readread-onlyPartner applications to offers waiting for a decision (status pending by default).
list_fraud_casesfraud:readread-onlyFraud investigation cases (kind, severity, score, partner, offer, status).
list_billing_statementsbilling:readread-onlyPartner payout statements (period, partner, amount, status).
list_advertiser_invoicesbilling:readread-onlyAdvertiser invoices (period, amount, due date, paid status).
list_smartlinksentities:readread-onlySmartlinks (offer rotators) with status and routing mode.
decide_partner_applicationapprovals:writewrite, needs confirm: trueApprove or reject a partner's application to run an offer. Requires confirm: true.
set_conversion_statusconversions:writewrite, needs confirm: trueChange a conversion's status (approve, reject, set pending). Fires partner postbacks per the offer settings. Requires the approve-conversions grant and confirm: true.
set_offer_statusoffers:writewrite, needs confirm: truePause (stop traffic) or resume (activate) an offer. Requires confirm: true.
create_tracking_linklinks:writewriteBuild a tracking link for an offer or a smartlink with sub ids, a deep link, a landing page or creative. The link records clicks through the tracking domain.

run_report (network)

Run a performance report.

ArgumentTypeRequiredDescription
comparestring: none, previous_period, previous_yearCompare with an earlier period
currencystringISO 4217 currency to convert money into (default: tenant currency)
cursorstringnext_cursor of the previous page
dimensionsarrayGroup-by keys, e.g. ["offer"] or ["day","country"]; empty for totals
filtersarrayDimension filters
fromstringyesStart date YYYY-MM-DD (inclusive, tenant reporting timezone)
limitinteger (1–1000)Max rows (default 100)
metricsarrayyesMetric keys, e.g. ["clicks","conversions","payout"]
sortstringMetric or dimension key to sort by; prefix - for descending (e.g. -conversions)
timezonestringIANA timezone for date bucketing (default: tenant reporting timezone)
tostringyesEnd date YYYY-MM-DD (inclusive)
treeobjectTree mode (drill-down): nested levels instead of flat rows. Returns the focused node (totals) and its children (rows, pre-order) with has_children/child_count; drill by repeating the call with path extended by a child's path.

report_catalog (network)

Report catalogue.

ArgumentTypeRequiredDescription
groupstringOnly metrics of this group (optional)

list_offers (network)

List offers.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)
querystringName search text
statusstringStatus filter (network/advertiser: active, paused, …; partner: approved, pending, available)

get_offer (network)

Get offer.

ArgumentTypeRequiredDescription
offer_idstringyesOffer id

search_conversions (network)

Search conversions.

ArgumentTypeRequiredDescription
click_idstringExact click id
conversion_idstringExact conversion id
cursorstringnext_cursor of the previous page
fromstringStart (YYYY-MM-DD or RFC 3339; default 7 days before to)
limitinteger (1–200)Max rows (default 50)
offer_idstringExact offer id
statusstringExact status
tostringEnd (YYYY-MM-DD or RFC 3339; default now)
txn_idstringExact txn id

search_clicks (network)

Search clicks.

ArgumentTypeRequiredDescription
click_idstringExact click id
countrystringExact country
cursorstringnext_cursor of the previous page
fromstringStart (YYYY-MM-DD or RFC 3339; default 7 days before to)
limitinteger (1–200)Max rows (default 50)
offer_idstringExact offer id
sourcestringExact source
sub1stringExact sub1
tostringEnd (YYYY-MM-DD or RFC 3339; default now)

List smartlinks.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)
querystringSearch text (optional)

caps_status (network)

Caps status.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)

list_notifications (network)

Notifications.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)

anomaly_insights (network)

Anomaly insights.

ArgumentTypeRequiredDescription
daysinteger (1–90)Days to scan (default 7)
limitinteger (1–100)Max insights (default 20)

list_partners (network)

List partners.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)
querystringSearch text (optional)
statusstringStatus filter (optional)

get_partner (network)

Get partner.

ArgumentTypeRequiredDescription
partner_idstringyespartner id

list_advertisers (network)

List advertisers.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)
querystringSearch text (optional)
statusstringStatus filter (optional)

get_advertiser (network)

Get advertiser.

ArgumentTypeRequiredDescription
advertiser_idstringyesadvertiser id

approvals_queue (network)

Approvals queue.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)
statusstring: pending, approved, rejectedApplication status (default pending)

list_fraud_cases (network)

Fraud cases.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)
querystringSearch text (optional)
statusstringStatus filter (optional)

list_billing_statements (network)

Partner statements.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)
querystringSearch text (optional)
statusstringStatus filter (optional)

list_advertiser_invoices (network)

Advertiser invoices.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)
querystringSearch text (optional)
statusstringStatus filter (optional)

List smartlinks.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)
querystringSearch text (optional)
statusstringStatus filter (optional)

decide_partner_application (network)

Approve or reject an application.

ArgumentTypeRequiredDescription
application_idstringyesPartner application id (from approvals_queue)
confirmbooleanMust be true: this action changes live data. Ask the user first, then repeat the call with confirm: true.
decisionstring: approved, rejectedyesDecision
reasonstringReason shown to the partner (optional)

set_conversion_status (network)

Approve or reject a conversion.

ArgumentTypeRequiredDescription
confirmbooleanMust be true: this action changes live data. Ask the user first, then repeat the call with confirm: true.
conversion_idstringyesConversion id
reasonstringReason (stored with the status change)
statusstring: approved, rejected, pendingyesNew status

set_offer_status (network)

Pause or resume an offer.

ArgumentTypeRequiredDescription
confirmbooleanMust be true: this action changes live data. Ask the user first, then repeat the call with confirm: true.
offer_idstringyesOffer id
statusstring: active, pausedyesNew status

Create a tracking link.

ArgumentTypeRequiredDescription
creative_idstringCreative id
deep_linkstringLanding URL override (deep link), if the offer allows it
landing_page_idstringLanding page id
offer_idstringOffer id (one of offer_id / smartlink_id)
partner_idstringPartner the link is for (network only; partners get their own link)
smartlink_idstringSmartlink id (partners: one from list_smartlinks)
sub_idsobjectsub1..sub10 and source values

Partner tools

ToolScopeKindWhat it does
run_reportreports:readread-onlyRun the unified report builder query over a date range: group by dimensions, pick metrics, filter, compare with the previous period or year, sort and limit. Keys come from report_catalog. Time dimensions: hour, day, week, month. Returns one object per row, totals and the reporting currency. With tree it drills down level by level (offer → partner → sub1 …). Money is in the tenant currency unless currency is set.
report_catalogreports:readread-onlyList the dimension and metric keys run_report accepts for this account (labels, types, groups).
list_offersentities:readread-onlyList or search offers visible to this account (network: all offers; partner: the marketplace and offers you run; advertiser: your offers).
get_offerentities:readread-onlyOne offer with its details (payouts/goals/caps as this account may see them).
search_conversionslogs:readread-onlySearch the conversion log by id, click id, transaction id, offer or status over a time range (newest first, cursor paging).
search_clickslogs:readread-onlySearch the click log by click id, offer, partner, country, sub id or source over a time range (cursor paging). Partners see their own clicks without IP, user agent, destination URL or device ids.
list_smartlinksentities:readread-onlySmartlinks (one link that routes each click to the best offer). Partners see the smartlinks they may run; get a link with create_tracking_link and smartlink_id.
list_accountsentities:readread-onlyThe partner or advertiser accounts you belong to in this network and which one this token acts for. A token is bound to the account it was created in: to work on another account, switch accounts in the portal and create a token there.
list_notificationsentities:readread-onlyRecent in-app notifications and messages for this account.
anomaly_insightsreports:readread-onlyStatistically unusual changes (drops, spikes) in clicks, conversions, CR and money over the last days, with the dimension that moved.
create_tracking_linklinks:writewriteBuild a tracking link for an offer or a smartlink with sub ids, a deep link, a landing page or creative. The link records clicks through the tracking domain.
apply_to_offeroffers:writewriteApply to run an offer that needs approval (or join it when it is public). Returns the application status.
my_earningsbilling:readread-onlyYour payout statements (period, amount, currency, status, paid date).
list_postbacksentities:readread-onlyYour postback (pixel) configurations.
test_postbackpostbacks:writewriteFire one of your postbacks with test values and return the URL called and the response.

run_report (partner)

Run a performance report.

ArgumentTypeRequiredDescription
comparestring: none, previous_period, previous_yearCompare with an earlier period
currencystringISO 4217 currency to convert money into (default: tenant currency)
cursorstringnext_cursor of the previous page
dimensionsarrayGroup-by keys, e.g. ["offer"] or ["day","country"]; empty for totals
filtersarrayDimension filters
fromstringyesStart date YYYY-MM-DD (inclusive, tenant reporting timezone)
limitinteger (1–1000)Max rows (default 100)
metricsarrayyesMetric keys, e.g. ["clicks","conversions","payout"]
sortstringMetric or dimension key to sort by; prefix - for descending (e.g. -conversions)
timezonestringIANA timezone for date bucketing (default: tenant reporting timezone)
tostringyesEnd date YYYY-MM-DD (inclusive)
treeobjectTree mode (drill-down): nested levels instead of flat rows. Returns the focused node (totals) and its children (rows, pre-order) with has_children/child_count; drill by repeating the call with path extended by a child's path.

report_catalog (partner)

Report catalogue.

ArgumentTypeRequiredDescription
groupstringOnly metrics of this group (optional)

list_offers (partner)

List offers.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)
querystringName search text
statusstringStatus filter (network/advertiser: active, paused, …; partner: approved, pending, available)

get_offer (partner)

Get offer.

ArgumentTypeRequiredDescription
offer_idstringyesOffer id

search_conversions (partner)

Search conversions.

ArgumentTypeRequiredDescription
click_idstringExact click id
conversion_idstringExact conversion id
cursorstringnext_cursor of the previous page
fromstringStart (YYYY-MM-DD or RFC 3339; default 7 days before to)
limitinteger (1–200)Max rows (default 50)
offer_idstringExact offer id
statusstringExact status
tostringEnd (YYYY-MM-DD or RFC 3339; default now)
txn_idstringExact txn id

search_clicks (partner)

Search clicks.

ArgumentTypeRequiredDescription
click_idstringExact click id
countrystringExact country
cursorstringnext_cursor of the previous page
fromstringStart (YYYY-MM-DD or RFC 3339; default 7 days before to)
limitinteger (1–200)Max rows (default 50)
offer_idstringExact offer id
sourcestringExact source
sub1stringExact sub1
tostringEnd (YYYY-MM-DD or RFC 3339; default now)

List smartlinks.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)
querystringSearch text (optional)

list_accounts (partner)

My accounts.

No arguments.

list_notifications (partner)

Notifications.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)

anomaly_insights (partner)

Anomaly insights.

ArgumentTypeRequiredDescription
daysinteger (1–90)Days to scan (default 7)
limitinteger (1–100)Max insights (default 20)

Create a tracking link.

ArgumentTypeRequiredDescription
creative_idstringCreative id
deep_linkstringLanding URL override (deep link), if the offer allows it
landing_page_idstringLanding page id
offer_idstringOffer id (one of offer_id / smartlink_id)
partner_idstringPartner the link is for (network only; partners get their own link)
smartlink_idstringSmartlink id (partners: one from list_smartlinks)
sub_idsobjectsub1..sub10 and source values

apply_to_offer (partner)

Apply to an offer.

ArgumentTypeRequiredDescription
answersobjectAnswers to the offer's questionnaire, if it has one
offer_idstringyesOffer id

my_earnings (partner)

My earnings and statements.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)
querystringSearch text (optional)
statusstringStatus filter (optional)

list_postbacks (partner)

My postbacks.

ArgumentTypeRequiredDescription
pageinteger (1–100000)Page number (1-based, default 1)
page_sizeinteger (1–100)Rows per page (default 25, max 100)
querystringSearch text (optional)
statusstringStatus filter (optional)

test_postback (partner)

Test a postback.

ArgumentTypeRequiredDescription
postback_idstringyesPostback id (from list_postbacks)

Resources

URIScope
metrixed://reports/catalogreports:read
metrixed://offers/{id}entities:read

Prompts

PromptAudiencesDescription
weekly_performance_reviewNetwork (staff), Partner, AdvertiserLast 7 days vs the previous 7: what moved, top and bottom offers, actions
why_did_metric_dropNetwork (staff), Partner, AdvertiserFind where a metric fell and the likely cause
find_fraudNetwork (staff)Scan for suspicious partners, sub ids and conversions
partner_earnings_summaryNetwork (staff), PartnerEarnings this month vs last, by offer, with statements