Skip to main content
Glama

Meta Ad Library Spend MCP Demo by AdSpendSpy

Inspect an ad creative

get_ad_details
Read-onlyIdempotent

Public demo: Alex Hormozi only (page_id 116482854782233). Ad listings/details expose only approved public creatives; statistics describe this advertiser only. Retrieve one ad of an advertiser you actively track by its internal AdSpendSpy ad ID (internal_ad_id), not its Meta ad ID. creative_group lists the other Meta ad IDs of the same creative with their own spend and the sum. Saved lists and favorites do not retain MCP ad access after you remove a tracked brand on the website.

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": {
      "ad_id": "<ad_id>"
    },
    "name": "get_ad_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
ad_idYesInternal AdSpendSpy ad ID (internal_ad_id in ad listings); never a Meta ad ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / ad_id / description
      Previous value: -"Internal database ad ID from list_brand_ads.internal_ad_id; never a Meta ad ID."New value: +"Internal AdSpendSpy ad ID (internal_ad_id in ad listings); never a Meta ad ID."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare read-only, idempotent, non-destructive, and closed-world behavior. The description adds real value by disclosing the public-demo scope (only page_id 116482854782233), creative approval filtering, and that saved lists and favorites lose MCP access after brand removal. It does not explain the full shape of the response, so it only partially covers behavior beyond the annotations.

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?

Nearly every sentence carries load: scope, ID semantics, return field, and access caveats. It is front-loaded with the demo caveat rather than the core action, which slightly delays the main purpose. The wording is dense but not padded.

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 single-parameter read tool whose annotations already cover safety, the definition gives the scope, ID semantics, one returned field (creative_group), and access caveats. With no output schema, it still leaves the full return shape and not-found behavior undocumented.

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%, and the schema already documents ad_id as an internal AdSpendSpy ID, never a Meta ad ID. The description repeats that constraint and adds the requirement that the advertiser be actively tracked. It adds only modest meaning beyond the structured field, so the baseline of 3 applies.

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?

The description states a specific verb and resource: 'Retrieve one ad of an advertiser you actively track by its internal AdSpendSpy ad ID.' It also highlights a key distinction, retrieving a single ad rather than a listing, which helps separate it from list_brand_ads. It never names a sibling tool, so the differentiation depends on inference.

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 description gives a clear condition for use: the advertiser must be one you actively track, and the ID must be an internal_ad_id, never a Meta ad ID. It also states a prerequisite: ad access is lost after you remove a tracked brand. It does not say which tool to use when you have a Meta ID or want a list, so there is no explicit routing to alternatives.

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