Skip to main content
Glama

Meta Ad Library Spend MCP by AdSpendSpy

Inspect an ad creative

get_ad_details
Read-onlyIdempotent

Retrieve one ad of an advertiser you actively track by its internal AdSpendSpy ad ID (internal_ad_id), not its Meta ad ID. 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

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world. The description adds genuinely new context: an access prerequisite tied to brand tracking that an agent could not infer from any structured field. It does not describe rate limits or failure behavior when access has lapsed.

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?

Two sentences, both front-loaded with the constraint that matters most. The saved-lists/favorites clause is slightly tangential but still operational information, not padding.

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 safety profile is fully covered by annotations, the description supplies the missing dimension: the tracking prerequisite. Without an output schema, a hint at what fields a creative returns would have made it complete.

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 hammering the key failure mode (internal AdSpendSpy ID, never a Meta ad ID) and cross-referencing the 'internal_ad_id' field name in listings.

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 ('Retrieve one ad') plus the scoping constraint that distinguishes it from list-style siblings such as get_advertiser_ads or list_brand_ads. It does not name an alternative tool explicitly, keeping it just short of a 5.

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?

Gives a real precondition: the advertiser must be actively tracked, and access is lost when a tracked brand is removed on the website, including via saved lists and favorites. It stops short of pointing to a different tool for listing or searching when the ID is unknown.

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