Skip to main content
Glama

Get an advertiser

ads_page
Read-onlyIdempotent

Meta Ad Library API: Get an advertiser. Advertiser page details with Instagram account and active ads estimate. Price: 5 credits per call; failed calls are free.

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": {
      "page_id": "<page_id>"
    },
    "name": "ads_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_idYesAdvertiser page ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and openWorldHint, so safety is covered. The description adds genuinely new behavioral information the annotations do not carry: a cost of 5 credits per call and that failed calls are free, which matters for agent planning and retry logic.

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

Conciseness5/5

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

Two short sentences, no filler: identity and output first, pricing second. Every clause carries information an agent can act on.

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?

This is a simple single-parameter read with rich annotations and no output schema, so the bar is low; the description covers purpose, returned fields, and cost. Only minor gaps remain, such as what happens when the page_id is unknown or malformed.

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?

There is only one parameter and schema description coverage is 100%, so the schema already fully documents page_id as the advertiser page ID. The description adds nothing about the identifier format or how to obtain it, 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 names a specific verb and resource ("Get an advertiser") and enumerates the returned content: page details, Instagram account, and an active-ads estimate. This implicitly separates it from ads_page_ads, which would return the ads themselves, though no sibling is named explicitly.

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 by the stated output (call this when you need advertiser page details for a known page_id), but there is no explicit when/when-not guidance and no routing to ads_page_ads or ads_pages_search for the adjacent lookup tasks.

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.