Skip to main content
Glama

Meta ads: List pixels

meta_list_pixels
Read-onlyIdempotent

List a Meta ad account's pixels and when each last fired. A website-leads ad set counts leads with the pixel's Lead event, so it needs one that fires on the client's thank-you page.

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_account_id": "<ad_account_id>"
    },
    "name": "meta_list_pixels"
  }
}

Input Schema

NameRequiredDescriptionDefault
ad_account_idYes'act_...' from meta_list_accounts

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is fully covered. The description adds the useful fact that last-fired timing is returned, but says nothing about pagination, result caps, or what happens when an account has no pixels. With annotations carrying the safety burden, a 3 is appropriate.

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 sentences: the first front-loads what the tool does, the second explains the practical reason to call it. No filler, no restatement of the title.

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, the description covers what is returned (pixels plus last-fired time) and the business context for calling it. The only minor gap is workflow placement — it doesn't say this is typically a precursor step to meta_create_ad_set — but nothing needed to invoke it correctly 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 single parameter's description already points to 'act_...' from meta_list_accounts. The description adds no format, scoping, or validation detail beyond the schema, so this is the baseline case rather than a value-add.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List a Meta ad account's pixels') plus a scope detail ('when each last fired'). This clearly separates it from siblings like meta_list_accounts, meta_list_pages, or meta_insights without needing the schema opened.

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 second sentence supplies concrete context for when this tool matters: choosing a pixel whose Lead event fires on the client's thank-you page for a website-leads ad set. That's clear situational guidance, but there is no explicit exclusion or named sibling alternative (e.g., when to inspect events instead).

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.