Skip to main content
Glama

directory

search_affiliate_programs

Search and filter the directory of affiliate programs (each compared by network, commission, cookie window, and a MODELLED value per referral). Use to answer 'best/highest-paying affiliate programs for X', or to find programs by category, network, recurring vs one-time, or minimum value. Returns a ranked, paginated list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoFree-text match on name, network, category, commission.
sortNoDefault value (highest modelled payout first).
limitNo1-200, default 50.
offsetNoPagination offset.
networkNoPrimary network bucket, e.g. Impact, CJ, Awin, In-house (see list_networks).
categoryNoCategory key, e.g. saas, finance, hosting, crypto (see list_categories).
min_valueNoMinimum modelled value per referral in USD.
recurringNotrue = only recurring-commission programs; false = only one-time.
confidenceNoconfirmed = rate read on the brand's own page.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral disclosure burden. It adds value by explaining the 'MODELLED value per referral', ranking, and pagination, which are important non-obvious traits. It does not explicitly mention side-effect safety or rate limits, but 'search and filter' strongly implies a read-only directory operation.

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 compact, front-loaded with the core action, followed by concrete usage examples and the return behavior. Every sentence earns its place with no redundant or vague wording.

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 search tool with many optional filters and no output schema, the description covers purpose, common intents, ranking, and pagination. Minor gaps remain, such as not describing the per-item fields in the returned list and not spelling out how to discover allowed enum values, though the schema points to list_networks and list_categories.

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 all 9 parameters in detail. The description reinforces which filters matter most (category, network, recurring, minimum value) but does not add significant new semantic detail beyond the schema.

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 searches and filters an affiliate program directory, listing concrete comparison dimensions (network, commission, cookie window, modelled value). It also names the exact user intents it serves, which distinguishes it from the sibling tools that retrieve a single program, stats, or enum lists.

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 gives explicit use cases: best/highest-paying affiliate programs and filtering by category, network, recurring vs one-time, or minimum value. It does not explicitly say when not to use it or name alternatives like get_affiliate_program, but the stated use cases are clear enough for an agent to route to this tool.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool serves a clearly distinct purpose: direct lookup by slug, keyword/filter search, category counts, network counts, and global stats. There is no meaningful overlap or risk of an agent choosing the wrong tool.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern using clear verbs like get, list, and search. The naming is predictable and easy to reason about.

Tool Count5/5

Five tools is well-scoped for a read-only directory server. Each tool covers a distinct access pattern without adding unnecessary surface area.

Completeness5/5

The server provides complete coverage for a directory: search and filter, individual record retrieval, category/network browsing, and overall stats. Since this is a read-only dataset, no CRUD operations are needed.

Resources