Skip to main content
Glama
pauloFroes

mcp-meta-marketing

by pauloFroes

Get Ad Account Insights

get_account_insights
Read-only

Retrieve ad account performance metrics like impressions, clicks, spend, and CTR. Filter by campaign, ad set, or ad level and specify date ranges for targeted insights.

Instructions

Get performance insights for the ad account. Optionally set level=campaign, adset, or ad to break down results. Use since/until for date ranges. Returns metrics like impressions, clicks, spend, cpc, cpm, ctr, reach.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
levelNoAggregation level (default: account)
limitNoMax number of rows to return (default: 5000, max: 5000)
sinceNoStart date (YYYY-MM-DD). Used with 'until' to build time_range.
untilNoEnd date (YYYY-MM-DD). Used with 'since' to build time_range.
fieldsNoComma-separated list of metrics/dimensions. Common: impressions, clicks, spend, cpc, cpm, ctr, reach, frequency, actions, cost_per_action_type, conversions, cost_per_conversion. Default: impressions,clicks,spend,cpc,cpm,ctr,reach
filteringNoJSON array of filter objects. Example: [{"field":"impressions","operator":"GREATER_THAN","value":"0"}]
breakdownsNoComma-separated breakdowns. Common: age, gender, country, publisher_platform, device_platform, impression_device
time_incrementNoTime granularity: 1 (daily), 7, 14, monthly, or all_days (default: all_days)
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and destructiveHint=false, so the agent knows this is a safe read. The description adds the set of returned metrics (impressions, clicks, spend, etc.) and mentions optional breakdowns, but doesn't disclose behaviors like pagination, rate limits, or data volume constraints. This matches the calibration where annotations carry the safety burden and the description adds modest value.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences, front-loaded with the core purpose, and each sentence adds relevant information without fluff. It is appropriately sized for the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter tool with no output schema, the description covers the main purpose, optional level breakdowns, date range usage, and lists common returned metrics. It doesn't explicitly mention default limit or time_increment, but those are in the schema. Overall, it provides sufficient context for an agent to understand what the tool does and what it returns.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description mentions 'level' and 'since/until' which are already in the schema, and lists common metrics that also appear in the schema's fields description. It adds no substantial meaning beyond the schema, hence the baseline score.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description starts with a specific verb+resource ('Get performance insights for the ad account') and immediately clarifies it is for the ad account level, distinguishing it from sibling tools like get_campaign_insights. It also mentions optional level breakdowns, making its purpose and scope unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides clear context on usage: it is for the ad account, with optional level breakdowns and date ranges. However, it does not explicitly mention when to use this tool versus the sibling insight tools (e.g., get_campaign_insights) or state any exclusions, so it falls short of explicit 'when-not' guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pauloFroes/mcp-meta-marketing'

If you have feedback or need assistance with the MCP directory API, please join our Discord server