Skip to main content
Glama
hermoso-ai

Hermoso

Official

List the product sets in a Meta catalog

list_meta_product_sets
Read-only

List product sets from a Meta catalog to pick the slice for ad set targeting. Check product counts to avoid empty sets that serve no products.

Instructions

The PRODUCT SETS inside one catalog — a set is a slice of the catalog ("summer dresses", "under $50", "everything"), and it is what an AD SET actually advertises. A catalog id is NOT a valid ad-set binding, so this is the list you pick from before building a catalog ad: pass the chosen id as productSetId on create_meta_adset or create_meta_ad. Meta normally auto-creates an "all products" set with every catalog, so an empty list points at the catalog rather than at the request. A set holding ZERO products binds without error and then serves nothing — the ad runs, spends and shows no product — so check the counts. Read-only, 0 credits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNomax rows (1–100, default 50)
catalogIdYesthe numeric catalog id from list_meta_catalogs (a catalog NAME is not an id)
Behavior5/5

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

Beyond the readOnlyHint and destructiveHint annotations, the description discloses additional behavioral details: the operation is read-only and costs 0 credits, empty lists indicate a catalog issue rather than an empty response, and zero-product sets can bind silently leading to wasted ad spend. These are not implied by the annotations and add significant transparency.

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

Conciseness4/5

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

The description is well-structured, starting with a clear definition, then usage guidance, edge cases, and cost. It is somewhat lengthy but every sentence adds value; no fluff. Could be slightly tighter but remains efficient.

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?

Covers the main purpose, workflow context, and critical edge cases, plus cost. However, it does not describe the return structure (e.g., whether counts are included), which could be helpful given there is no output schema. Minor gap but overall complete for practical use.

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 input schema already documents both parameters thoroughly (catalogId with a note about numeric ids, limit with range and default). The description does not add new parameter-specific meaning; it references catalogId usage in the workflow but doesn't elaborate beyond the schema, so baseline 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 clearly states the tool lists product sets within a catalog, explicitly distinguishing it from sibling tools like list_meta_catalog_products and list_meta_catalogs. It defines what a product set is and clarifies its role in ad creation, making the purpose unambiguous.

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?

Provides explicit guidance on when to use this tool: before building a catalog ad, passing the chosen id as productSetId to create_meta_adset or create_meta_ad. It also warns about edge cases like empty lists pointing at the catalog and zero-product sets binding without error, which are essential for correct usage.

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/hermoso-ai/hermoso'

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