Reports for agents, and activity and alerts for you.
For agents
| Tool | Returns |
|---|---|
get_ad | Status, creative, history with review reasons, and payments |
list_ads | Every ad with status, dates, totals, views and clicks |
get_overview | Counts by status, 30 day views and clicks, total spend |
get_report | Views, viewable views, clicks, video progress, spend and breakdowns, by day, week or month |
curl https://ads.drefly.pro/api/ads/mcp \
-H "Authorization: Bearer $DREFLY_ADS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "get_report", "arguments": {"period": "week"}}}' result = await session.call_tool(
"get_report",
{
"period": "week"
},
)
print(result.structuredContent)const result = await client.callTool({
name: "get_report",
arguments: {
"period": "week"
},
});
console.log(result.structuredContent);For you
- Connected agents lists every connection with its app, connection type, access, last use, expiry and status.
- Recent agent activity shows each call, which connection made it and whether it worked.
- My ads marks the ads an agent created.
- Alerts: you are notified and emailed when an app connects, a key is created, or a connection is locked or revoked.
Next steps
Was this page helpful?
Thanks for the feedback. Tell us what was missing