Skip to main content
Glama

Search affiliate programs

search_programs

List active affiliate programs of live networks (paginated, max 50 per page). Optionally filter by a single shop domain via 'url' (e.g. 'otto.de'). Returns program objects: id, name, networkName, primaryUrl, registerUrl, status, countries, categories, dates.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_programs"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoFilter to programs whose primaryUrl matches this domain, e.g. 'otto.de'.
pageNo1-based page number.
sortNoSort field. Default: dateStarted (program start date). Other options: createdAt, updatedAt, name, dateClosed, id.
sortOrderNoSort direction. Default: desc (newest dates first). Use asc for oldest dates first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: results are restricted to active programs on live networks, pagination is capped at 50 per page, and the returned fields are enumerated. It omits auth/rate-limit expectations and what happens for unknown domains, which is why it is not a 5.

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 dense sentences with the scope and pagination front-loaded, followed by the filter and the return shape. Nothing is wasted and there is no repetition.

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?

There is no output schema, and the description compensates by listing the returned program fields, plus it covers the implicit active/live-network scoping that an agent would otherwise miss. Remaining gaps (auth needs, error behavior, total-count semantics) are minor for a read-only listing tool.

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 'url', 'page', 'sort' and 'sortOrder' are already fully documented in the input schema. The description only restates the 'url' filter and page size, adding no syntax or constraint detail beyond the schema, which is the baseline 3 case.

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

Purpose4/5

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

States a specific verb and resource ('List active affiliate programs of live networks') with pagination scope, and clarifies the optional domain filter. It does not name or differentiate from the sibling 'match_programs_by_url', which sounds close in intent, so the reader must infer the boundary.

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

Usage Guidelines3/5

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

Usage is implied: use it to enumerate active programs, optionally narrowing by one shop domain, which is somewhat clear. But there is no explicit when-to-use/when-not guidance and no reference to the sibling tools, leaving genuine ambiguity about when 'url' filtering here versus 'match_programs_by_url' is appropriate.

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.

Resources