API Reference

Meta Ads / API Reference

meta_ads_device_performance

Meta Ads tool. Get Meta Ads performance broken down by device platform (mobile, desktop, tablet). Args: account_id: Ad account ID. Leave blank to use META_AD_ACCOUNT_ID from .env. campaign_id: Filter by campaign ID. Leave blank for account-level. start_date: Start date YYYY-MM-DD. Defaults to 28 days ago. end_date: End date YYYY-MM-DD. Defaults to today.

This is a read-only tool: it returns device performance for your Meta Ads account. It changes nothing.

Ask Claude

You do not call this tool yourself. Ask for the outcome and the client picks the tool:

Device performance in my Meta Ads account.

It takes 0 required and 4 optional parameters.

Parameters

ParameterTypeRequiredDescription
account_idstringNoAccount Id
campaign_idstringNoCampaign Id
start_datestringNoStart Date
end_datestringNoEnd Date

Related Meta Ads tools

Before you can call it

This tool needs a connected Meta Ads account. The Meta Ads connect guide covers the OAuth flow and the permissions it asks for, and the quickstart gets a client talking to the server in about five minutes.

Workflows that use this

Rather than calling tools one at a time, these skills run a whole procedure against the same account:

Start using MCP Ads