Skip to main content
Glama

Find affiliate partners

onelence_find_affiliate_partners
Read-onlyIdempotent

New affiliate partners for the site: sites and creators OneLence found in search results and backlink data (research_finds), and catalog partners ranked by fit with its business, market and partner mix (data). Current affiliates, and partners that were dismissed or declined, are left out; research_finds also leave out partners on the site's network lists and finds outside its markets. Narrow catalog matches with verticals, countries, languages, partner_types, commission_models or q. Fit and strength do not predict results; contact details are not returned. If nothing is found yet, next_step says how to start research in OneLence. To save, mark contacted or dismiss one, use onelence_set_partner_status with its id and object.

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": "onelence_find_affiliate_partners"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo
siteNoSite domain (e.g. example.com) or site id. Defaults to the workspace's newest active site.
limitNoMatches to return (default 10).
countriesNoISO country codes, for example DE or US.
languagesNoISO language codes, for example de or en.
verticalsNo
partner_typesNo
response_formatNoconcise (default) keeps what is needed to answer and to chain the next call; detailed returns every field.
commission_modelsNo

Output Schema

NameRequiredDescriptionDefault
dataYes
noteYes
siteYes
briefYes
objectYes
next_stepYes
catalog_sizeYes
research_findsYes
last_research_atYes
excluded_dismissedYes
excluded_existing_partnersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "brief": {
      +      "properties": {
      +        "commission_models": {
      +          "properties": {
      +            "source": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "values": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "values",
      +            "source"
      +          ],
      +          "type": "object"
      +        },
      +        "countries": {
      +          "properties": {
      +            "source": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "values": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "values",
      +            "source"
      +          ],
      +          "type": "object"
      +        },
      +        "languages": {
      +          "properties": {
      +            "source": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "values": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "values",
      +            "source"
      +          ],
      +          "type": "object"
      +        },
      +        "missing": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "offer_type": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "partner_types": {
      +          "properties": {
      +            "source": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "values": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "values",
      +            "source"
      +          ],
      +          "type": "object"
      +        },
      +        "verticals": {
      +          "properties": {
      +            "source": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "values": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "values",
      +            "source"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "offer_type",
      +        "verticals",
      +        "countries",
      +        "languages",
      +        "partner_types",
      +        "commission_models",
      +        "missing"
      +      ],
      +      "type": "object"
      +    },
      +    "catalog_size": {
      +      "type": "number"
      +    },
      +    "data": {
      +      "items": {
      +        "properties": {
      +          "audience_size": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "commission_models": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "countries": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "description": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "fit": {
      +            "properties": {
      +              "assessed_share": {
      +                "type": "number"
      +              },
      +              "components": {
      +                "items": {
      +                  "properties": {
      +                    "component": {
      +                      "type": "string"
      +                    },
      +                    "status": {
      +                      "anyOf": [
      +                        {
      +                          "enum": [
      +                            "match",
      +                            "partial",
      +                            "mismatch",
      +                            "partner_unknown",
      +                            "brief_missing"
      +                          ],
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "component",
      +                    "status"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "score": {
      +                "type": "number"
      +              },
      +              "tier": {
      +                "anyOf": [
      +                  {
      +                    "enum": [
      +                      "strong",
      +                      "good",
      +                      "possible",
      +                      "weak",
      +                      "insufficient_profile"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              }
      +            },
      +            "required": [
      +              "score",
      +              "tier",
      +              "assessed_share",
      +              "components"
      +            ],
      +            "type": "object"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "languages": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "last_seen_at": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "networks": {
      +            "items": {
      +              "properties": {
      +                "network": {
      +                  "type": "string"
      +                },
      +                "profile_url": {
      +                  "anyOf": [
      +                    {
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "network",
      +                "profile_url"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "object": {
      +            "const": "partner_match",
      +            "type": "string"
      +          },
      +          "partner_types": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "profile_source": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "profile_verified_at": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "shortlist_status": {
      +            "anyOf": [
      +              {
      +                "enum": [
      +                  "saved",
      +                  "contacted",
      +                  "replied",
      +                  "dismissed"
      +                ],
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "verticals": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "website_domain": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          }
      +        },
      +        "required": [
      +          "object",
      +          "id",
      +          "name",
      +          "website_domain",
      +          "description",
      +          "partner_types",
      +          "verticals",
      +          "countries",
      +          "commission_models",
      +          "audience_size",
      +          "fit",
      +          "shortlist_status"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "excluded_dismissed": {
      +      "type": "number"
      +    },
      +    "excluded_existing_partners": {
      +      "type": "number"
      +    },
      +    "last_research_at": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "next_step": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "object": {
      +      "const": "partner_discovery",
      +      "type": "string"
      +    },
      +    "research_finds": {
      +      "items": {
      +        "properties": {
      +          "domain": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "kind": {
      +            "type": "string"
      +          },
      +          "last_seen_at": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "object": {
      +            "const": "research_find",
      +            "type": "string"
      +          },
      +          "opportunities": {
      +            "items": {
      +              "properties": {
      +                "backlinks": {
      +                  "anyOf": [
      +                    {
      +                      "type": "number"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "competitors": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "kind": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "kind",
      +                "competitors",
      +                "backlinks"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "partner_types": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "platform": {
      +            "type": "string"
      +          },
      +          "status": {
      +            "anyOf": [
      +              {
      +                "enum": [
      +                  "new",
      +                  "saved",
      +                  "contacted",
      +                  "replied"
      +                ],
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "strength": {
      +            "anyOf": [
      +              {
      +                "enum": [
      +                  "strong",
      +                  "medium",
      +                  "light"
      +                ],
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "url": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "verification": {
      +            "anyOf": [
      +              {
      +                "enum": [
      +                  "unverified",
      +                  "affiliate_signals",
      +                  "no_affiliate_signals",
      +                  "unreachable"
      +                ],
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          }
      +        },
      +        "required": [
      +          "object",
      +          "id",
      +          "name",
      +          "kind",
      +          "platform",
      +          "domain",
      +          "url",
      +          "partner_types",
      +          "strength",
      +          "opportunities",
      +          "verification",
      +          "status",
      +          "last_seen_at"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "site": {
      +      "properties": {
      +        "domain": {
      +          "type": "string"
      +        },
      +        "id": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "domain"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "object",
      +    "site",
      +    "brief",
      +    "data",
      +    "research_finds",
      +    "last_research_at",
      +    "catalog_size",
      +    "excluded_existing_partners",
      +    "excluded_dismissed",
      +    "note",
      +    "next_step"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, and the description adds real context beyond them: contact details are not returned, fit and strength scores are not predictive of results, and the two result sets have different exclusion rules. These are caveats an agent would otherwise discover only by trial, which is exactly what the description should carry.

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?

It is front-loaded with the two result sources and then the exclusions, so the important framing arrives first. The sentences are long and stacked with parentheticals, which makes it dense, but nearly every clause carries information the agent needs.

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 9-parameter, zero-required discovery tool with an output schema, the description covers the source split, exclusions, filtering scope, the caveat about non-predictive fit, missing contact details, the empty-result path, and the chaining call. Return-value detail is correctly left to the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 56%, with site, limit and response_format documented in the schema itself. The description adds genuine meaning beyond that by scoping which filters (verticals, countries, languages, partner_types, commission_models, q) apply to catalog matches specifically, implying they do not filter research_finds. It does not explain interaction between filters or result ordering, but the semantic scoping is a real addition.

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 names a specific verb and resource (find new affiliate partners) and immediately splits the result into two well-defined sources: research_finds (sites/creators found via search results and backlink data) and catalog partners ranked by fit. It also distinguishes itself from the list-style sibling by stating that current affiliates are excluded, so an agent can tell it apart from onelence_list_affiliates.

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 gives explicit exclusion rules (current affiliates, dismissed or declined partners, network-list partners, out-of-market finds), explains how to narrow catalog matches, and states what to do when the result is empty (follow next_step to start research). It also routes the follow-up action explicitly: use onelence_set_partner_status with the id and object to save, mark contacted, or dismiss.

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.