Skip to main content
Glama

Ads people commented on or messaged from

list_ads_seen
Read-onlyIdempotent

The Meta ads that people commented on, or clicked through to start a conversation, as dmswift saw them in its webhooks since this feature shipped, newest first (at most 100): ad id, latest title, the ad's media id and the organic post it boosts when known, first and last seen, how many comments and conversations, how many of those comments were answered, and how many people a campaign answered on the message that arrived from the ad (an answer to a later message in that conversation is not counted). To answer the people who message from one ad, put its ad_id into create_campaign with trigger ad_click; to answer comments on one ad, put its media_id into a comment campaign's post_id. It is NOT the account's list of ads and has no spend, reach or other performance numbers: dmswift holds no ads permission. An ad nobody commented on or clicked through is not here.

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": "<page>"
    },
    "name": "list_ads_seen"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYesChannel id from list_pages (a Facebook Page or an Instagram account)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the read-only and idempotent annotations, the description adds important behavioral context: results are observed since the feature shipped, ordered newest first, capped at 100, and exclude ads with no comments or click-throughs. It also discloses that dmswift holds no ads permission, explaining why performance metrics are unavailable.

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?

The definition is front-loaded with the core purpose and then adds routing, exclusions, and return-field context without filler. Although the first sentence is dense, every clause defines a useful return field or limit.

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

Completeness5/5

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

For a simple, read-only one-parameter listing tool with no output schema, the description is complete: it names the returned fields, the 100-item cap, ordering, exclusion rules, and how to act on the returned ad_id and media_id. Nothing essential for correct invocation or interpretation 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?

The single page parameter is fully documented in the schema as a channel id from list_pages, and schema coverage is 100%. The description does not add further meaning about the page parameter, so the baseline of 3 is appropriate.

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?

The description gives a specific verb and resource: listing Meta ads that people commented on or clicked through to message from, as observed via webhooks. It explicitly distinguishes this from the account's full ad list and says an ad with no comments or clicks is excluded, so an agent can separate it from sibling list tools.

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

Usage Guidelines5/5

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

It explicitly routes the agent: use ad_id with create_campaign and trigger ad_click to answer message responders, and use media_id as post_id in a comment campaign to answer commenters. It also states when not to use it by clarifying that it is not the account's ad list and contains no spend, reach, or performance data.

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.