Skip to main content
Glama

Meta ad preview

meta_ad_preview
Read-only

Get a preview link for an ad (or creative) in a given placement so the user can see how it looks before activating.

Input Schema

NameRequiredDescriptionDefault
adYes
folderNoClient folder name.
formatNo
accountNoMeta ad account name or ID (act_123 or 123). Optional when only one account is enabled.
languageNoLanguage of the card: the language the user is writing in (ar for any Arabic dialect).

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds value beyond that by disclosing the return artifact ('a preview link') and the lifecycle position ('before activating'), which tells the agent this is a non-mutating inspection step. It does not mention link expiry, permission requirements, or error behavior for invalid placements.

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

Conciseness4/5

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

A single front-loaded sentence with the action, the artifact, and the motivation in that order, with no filler. The parenthetical '(or creative)' adds a small amount of ambiguity but also useful flexibility, so it largely 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 five-parameter read-only tool with no output schema, the description covers what it returns (a link) and why it is used (pre-activation review). The remaining gaps, namely how folder and account scope the lookup and what happens when a placement is unsupported, are minor for a simple preview call.

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 60%, so the schema already documents folder, account, and language. The description adds only marginal meaning: 'ad (or creative)' hints that the ad parameter accepts a creative reference, and 'given placement' maps loosely to the format enum. It says nothing about the account/folder scoping parameters or valid placement values beyond the enum itself.

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

Purpose4/5

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

States a specific verb and resource: 'Get a preview link for an ad (or creative) in a given placement'. An agent can distinguish this from meta_ads (listing) or meta_creative_insights (analytics) because the deliverable is explicitly a preview link, not data. It stops short of naming a sibling alternative, so it is clear but not fully differentiated.

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

Usage Guidelines3/5

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

The clause 'so the user can see how it looks before activating' implies the usage context (pre-launch creative review) without stating it as a rule. There is no explicit when-not guidance, no mention of what to do if the ad is already active, and no pointer to alternative preview approaches among the many meta_* siblings.

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