Skip to main content
Glama

Results per ad asset

get_creative_assets
Read-onlyIdempotent

One Meta ad's results per ASSET over the period, from Meta's asset breakdowns: for each fieldType (IMAGE, VIDEO, TITLE = headline, BODY = primary text, CALL_TO_ACTION) every asset with its text (a CTA's type), spend, claimed (Meta's own purchase value), conversions, roas and ctr, plus best and weakest: the assetIds with the highest and lowest ROAS among assets with at least 10 purchases (none marked with fewer than two such assets, or a tie). coverage is the share of the ad's spend that field type speaks for: Meta splits only part of some ads (a catalogue ad's texts), so under 95% say how much it covers. synced false = the asset sync has not run for this store yet, not 'no assets'. Shares and ROAS are per field type: never add two field types together. Use for which headline, text, image or CTA wins inside a dynamic or multi-asset ad. adId comes from get_creatives. Optional from and to (inclusive YYYY-MM-DD, both or neither, never after today) read another span instead of the default period. A named month, a week or two dates the operator gave MUST be sent here: without them this reads the default period (the one on the operator's screen, else the last 30 days), which is not that month. When the operator names no period, send neither.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "adId": "<adId>"
    },
    "name": "get_creative_assets"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast day of the span, inclusive, as YYYY-MM-DD; not after today. Send together with `from`, or omit both to read the default period: the one on the operator's screen when the message names it, else the last 30 days.
adIdYesThe ad's adId, exactly as get_creatives returned it.
fromNoFirst day of the span, inclusive, as YYYY-MM-DD. Send together with `to`, or omit both to read the default period: the one on the operator's screen when the message names it, else the last 30 days.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the (already favorable) annotations, it discloses real behavioral traits: `synced: false` means the sync has not run rather than no assets, `coverage` < 95% signals partial Meta splitting (e.g. catalogue ad texts), ROAS/shares are per field type and must never be summed, and best/weakest are suppressed below 10 purchases or with fewer than two qualifying assets.

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?

The purpose is front-loaded in the first clause and every sentence carries information, but it is a single very dense paragraph mixing output semantics, caveats and date rules; the date guidance is partly duplicated between the prose and the schema descriptions.

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

Completeness5/5

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

For a three-parameter, read-only tool with no output schema, the description covers interpretation of return fields, edge cases (partial coverage, suppressed best/weakest, unsynced stores), and the date-span contract. Nothing needed to call it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns an extra point by adding decision semantics the schema lacks — a named month/week/two dates given by the operator must be passed here, and omitting both reads the operator-screen default or last 30 days. It restates the schema's inclusive/both-or-neither rule, but the consequences of not passing them are new.

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?

States a specific verb and resource — "One Meta ad's results per ASSET over the period" — and enumerates the returned measures (spend, claimed, conversions, roas, ctr) plus the derived `best`/`weakest` and `coverage`. An agent can distinguish this from get_creatives (which supplies the adId) without opening any schema.

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

Usage Guidelines5/5

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

Explicitly scopes use to "which headline, text, image or CTA wins inside a dynamic or multi-asset ad" and names get_creatives as the source of adId. It also gives a hard when-to-send rule for the date span: named periods MUST be passed, no named period means send neither.

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