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 partners, and partners that were dismissed or declined, are left out. 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.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: fit and strength scores do not predict results, contact details are omitted from the payload, and next_step appears when research has not started. It stops short of describing result volume or how the two result sets are combined in the response.

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?

Content is front-loaded: what the tool returns, then what is excluded, then filters, then caveats, then the save path. Every clause carries information, though the single dense paragraph of caveats (fit/strength/contact details/next_step) could be split for faster scanning.

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 nine-parameter discovery tool with an output schema, the description covers the source of results, exclusions, filter surface, reliability caveats, missing-data behavior and the exact chaining call. Nothing an agent needs in order to decide to call it or act on the output is missing.

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 56%, and the description enumerates six of the nine parameters (verticals, countries, languages, partner_types, commission_models, q) as narrowing filters. It adds a small semantic nuance that these filters narrow catalog matches, but says nothing about site, limit or response_format, which are left entirely to the schema. Baseline 3 is appropriate given partial coverage that the description only partly compensates for.

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 states a specific verb and resource (find new affiliate partners) and immediately decomposes it into two distinct result sets: research_finds from search and backlink data, and catalog partners ranked by fit. It explicitly excludes current, dismissed and declined partners, which is exactly the boundary that separates it from onelence_list_affiliates and onelence_get_affiliate.

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 describes the discovery use case, names the narrowing dimensions, and routes the agent to the correct sibling for the follow-up action (onelence_set_partner_status with the id and object). It also handles the empty-result case by pointing to next_step, so the agent knows what to do when nothing is returned.

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.