Skip to main content
Glama

Search Ads Library

meta_ads_library
Read-onlyIdempotent

Search the Meta Ads Library (depends on Ads Library access and country coverage).

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_reached_countries": "<ad_reached_countries>"
    },
    "name": "meta_ads_library"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
ad_typeNoALL
search_termsNo
search_page_idsNo
ad_active_statusNoALL
ad_reached_countriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful context about the external access and country-coverage dependency, but says nothing about pagination behavior, result volume, rate limits, or what the search returns.

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?

A single short sentence with no filler, so it is appropriately sized in the literal sense. However, that brevity comes at the cost of under-specification: the one clause present is a caveat rather than a front-loaded explanation of the operation.

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

Completeness2/5

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

For a 6-parameter tool with zero schema description coverage and no output schema, the description is far too thin. An agent cannot infer acceptable country codes, the semantics of search_page_ids, or how to combine search_terms with page IDs without guessing.

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

Parameters2/5

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

Schema description coverage is 0% across 6 parameters, so the description carries the full burden and largely fails. The phrase 'country coverage' vaguely gestures at the required ad_reached_countries field, but it explains nothing about limit, ad_type, search_terms, search_page_ids, or ad_active_status.

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: 'Search the Meta Ads Library'. That distinguishes it from write-oriented siblings like meta_create_ad and from meta_search_targeting, but it does not explicitly contrast with meta_get or explain what an Ads Library search returns versus a regular Meta object lookup.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance. The parenthetical dependency note ('depends on Ads Library access and country coverage') is a prerequisite hint, not usage guidance, and no alternative tool is named for cases where Ads Library access is unavailable.

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.