Skip to main content
Glama

Explain a Meta performance change

meta_explain_change
Read-only

Explain why results or cost changed between this period and the previous one: decomposes cost per result into CPM, CTR and conversion rate, and shows which campaigns drove the change.

Input Schema

NameRequiredDescriptionDefault
detailNosummary (default): headline numbers and the top 5 rows — right for a specific question or a quick look. full: every row and section — only when the user asks for a full report, a complete list or all the details.
folderNoClient folder name.
accountNoMeta ad account name or ID (act_123 or 123). Optional when only one account is enabled.
end_dateNoYYYY-MM-DD.
languageNoLanguage of the card: the language the user is writing in (ar for any Arabic dialect).
date_rangeNoDefault LAST_30_DAYS.
start_dateNoYYYY-MM-DD (with end_date).

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description earns credit beyond that by disclosing the analytical output shape (CPM/CTR/conversion-rate decomposition and campaign-level drivers) in the absence of an output schema, though it says nothing about latency, account-scope requirements or period defaults.

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?

A single sentence with the purpose front-loaded and no filler; the clause after the colon exists to specify the analytical method, so every word earns its place.

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 a seven-parameter, zero-required analytical tool with no output schema, the description tells an agent what question it answers and what the result contains. It stops short of clarifying how the comparison window is chosen (the schema defaults date_range to LAST_30_DAYS) or what happens when the account is ambiguous, which would fully close the gap.

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 coverage is 100% with all seven parameters documented, including enum explanations for detail, language and date_range, so the schema carries the parameter burden. The description adds no parameter-level guidance of its own (no mention of detail=full vs summary, folder scoping, or date_range versus start_date/end_date), which is the expected baseline when the schema is complete.

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 states a specific verb and resource ('Explain why results or cost changed between this period and the previous one') and then details the mechanism: decomposition of cost per result into CPM, CTR and conversion rate, plus attribution to campaigns. This is clearly distinguishable from sibling reporting tools like meta_performance or meta_insights_query, which return metrics but do not explain change.

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?

The opening clause establishes the triggering context — the user asks why results or cost moved versus the prior period — which is a clear use condition. It does not, however, name alternatives or state when to use meta_performance/meta_insights_query instead for raw numbers, so routing among the meta reporting siblings is left partly to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources