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. 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
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the bar is lower. The description still adds real behavior: access is gated on the advertiser being actively tracked, and the response includes a creative_group aggregating sibling Meta ad IDs with their spend and the sum. The trailing note about saved lists and favorites is relevant but phrased obliquely.

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

Conciseness3/5

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

The purpose and ID-type constraint are correctly front-loaded in one tight sentence. However the final sentence about saved lists and favorites reads as a non sequitur with an unclear subject (whose lists? which MCP access?), and it disrupts an otherwise clean three-beat structure.

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 one-parameter read tool with rich annotations and no output schema, the description supplies the essential precondition plus a sketch of the returned creative_group data. The only shortfall is that the saved-list caveat is too vague to act on, but nothing critical to a correct call is missing.

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% and the schema itself already says the value is an internal AdSpendSpy ID and never a Meta ad ID, so the description largely repeats it. The only marginal addition is pointing to where the ID originates (ad listings), which the schema also covers.

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?

"Retrieve one ad ... by its internal AdSpendSpy ad ID" gives a specific verb plus resource and scopes it to a single record, which implicitly separates it from the list-style siblings. It does not name an alternative tool (e.g. get_advertiser_ads or list_brand_ads) to sharpen the boundary, so it stops 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 Guidelines3/5

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

Usage is implied rather than stated: the caller must be tracking the advertiser and must already have an internal_ad_id from an ad listing. There is no explicit when-to-use-this-vs-a-list-tool sentence and no exclusion beyond the ID-type warning.

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