Skip to main content
Glama
HYPD-AI

HYPD AI - OpenAI Ads

by HYPD-AI

List ads

list_ads
Read-only

Retrieve ads within a specified ad group, including creative details (title, body, URL, image) and review status, with pagination support for large result sets.

Instructions

List ads within an ad group (ad_group_id is required). Each ad holds a creative (title, body, target URL, image) and a review_status (in_review, approved, or rejected). Supports cursor pagination (order, after/before; the response includes first_id, last_id, and has_more).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ad_group_idYesParent ad group ID. Required — ads are listed within an ad group.
limitNoMaximum number of objects to return per page (1-500). Uses the API default if omitted.
orderNoSort by creation time: 'asc' for oldest-first, 'desc' for newest-first.
afterNoPagination cursor. Pass the `last_id` from the previous page to fetch the next page.
beforeNoPagination cursor. Pass the `first_id` from the previous page to fetch the previous page.
Behavior4/5

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

Beyond annotations (readOnlyHint, openWorldHint), the description discloses cursor pagination behavior (order, after/before, first_id, last_id, has_more) and the review_status field, adding useful behavioral context.

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 description is two sentences with no wasted words. The first sentence states the action and requirement, and the second adds details about content and pagination, front-loading key information.

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?

The description explains the pagination mechanism and mentions ad fields, but without an output schema, it could be more explicit about the full response structure. It is mostly complete given the annotations and schema coverage.

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 description coverage is 100%, so the schema already documents parameters. The description adds context about ad content (creative fields, review_status) but does not significantly enhance parameter semantics beyond what the schema provides.

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 clearly states the tool lists ads within an ad group, specifying the required parameter ad_group_id. It distinguishes from sibling tools like get_ad (single ad) and list_ad_groups (list groups).

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 description indicates that ad_group_id is required and ads are listed within that group, which implies when to use this tool. However, it does not explicitly state when not to use it or mention alternatives like get_ad for a single ad.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/HYPD-AI/openai-ads-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server