Skip to main content

Overview

A Discovery Agent keeps searching the web for websites that could promote your product as affiliates. You brief it once with your website, product, audience, and search sources (keywords and competitors). It searches on its own and delivers matches for you to review. Approving a match starts the contact email search for it, the same as in the dashboard. The agent also suggests new competitors and topics and waits for your yes or no before it searches them. It does not contact anyone for you. The Discovery Agent tools mirror the REST endpoints under /v1/discovery. Each tool section links to its REST page for the full response fields. All tools support response_format (markdown or json, default markdown). responseFormat is accepted as an alias. Markdown returns the same JSON payload inside a fenced json block, and structuredContent always holds the result.
Read tools need read:discovery. Tools that change data need write:discovery, which also grants read:discovery. There is no delete:discovery scope: deleting an agent needs write:discovery. Creating an agent, resuming an agent, and starting a run also need a plan that includes the Discovery Agent.
The Affiliate Finder tools are discontinued. Use these tools instead. See Finder tools.
List tools use limit (1 to 100, default 20) and offset (default 0), not page. Their pagination object reports total, count, offset, limit, has_more, and next_offset when another page exists.

Available Tools

Workflow

  1. Create the agent with affonso_create_discovery_agent from a manual brief: website, product, audience, and at least one keyword or competitor URL. It requests its first search step on its own.
  2. Start a run with affonso_start_discovery_agent_run when you want it to search now. Check progress with affonso_get_discovery_agent_overview.
  3. List matches with affonso_list_discovery_agent_matches, for example with bucket set to new.
  4. Review each match with affonso_review_discovery_match. Approve to start the contact email search, or reject. There is no separate tool to start an email search for one prospect. Check how many email searches are left with affonso_get_discovery_email_searches.

Errors

Errors are returned as tool errors with the same message as the matching REST error, for example Discovery agent not found or Discovery Agent needs an active plan. A connection without the required scope gets a tool error naming the missing scope. Invalid arguments return a validation error.

affonso_get_discovery_setup_defaults

Returns the channels, default language, exclusion groups, and the maximum keywords (25), competitors (25), and lookalike URLs (5) per agent. Same as Get setup defaults.

Parameters

string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_get_discovery_email_searches

Returns the team’s monthly limit (data.included) and remaining credits (data.remaining) for its plan, plus data.used for the current month. For the allowance on each plan, see Discovery credits. Same as Get email searches.

Parameters

string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_get_discovery_domain

Reads the saved public profile of a root domain. Does not crawl, refresh, or buy data. Same as Get domain profile, except that a missing profile returns data: null instead of an error.

Parameters

string
required
Root domain, for example example.com. 3 to 253 characters.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_create_discovery_agent

Creates a Discovery Agent from a manual brief and requests its first search step. website, product_brand, audience, and at least one keyword or competitor URL are required. Lookalikes are not accepted here. Needs an active plan. Same as Create an agent. Invalid or missing fields return a tool error whose JSON has the same VALIDATION_ERROR body and details as the REST endpoint. For example, a call with only website lists product_brand and audience as Required and both keywords and competitors as Provide at least one keyword or competitor. The MCP request itself still succeeds over HTTP, and the error is in the tool result.

Parameters

string
required
Public http or https product website.
string
Display name, 1 to 160 characters. Defaults to Discovery agent.
string
required
Product or brand the agent finds partners for, 1 to 200 characters.
string
required
One-sentence description of the customers, 1 to 500 characters.
string
default:"en"
Two-letter ISO 639-1 language code.
string
default:"websites"
Only websites is accepted.
string[]
default:"[]"
Up to 5 of directories, marketplaces, social_networks, news, review_sites.
string[]
default:"[]"
Up to 25 topics, each 1 to 200 characters. Send at least one keyword or one competitor.
string[]
default:"[]"
Up to 25 public competitor website URLs. Send at least one keyword or one competitor.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.
Returns the new agent in data, with the same fields as Get an agent.

affonso_list_discovery_agents

Lists your team’s agents, newest first. Deleted agents are not included. Same as List agents.

Parameters

integer
default:"20"
Results per page, 1 to 100.
integer
default:"0"
Number of results to skip.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_get_discovery_agent

Gets one agent with its brief, sources, can_start, auto_approve, scheduling state, and latest_run. Same as Get an agent.

Parameters

string
required
Agent ID.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_update_discovery_agent

Changes the brief, sources, or auto_approve. Send at least one field besides agent_id. keywords and competitors replace the saved lists. The agent must keep at least one keyword or competitor. Same as Update an agent.

Parameters

string
required
Agent ID.
string
Display name, 1 to 160 characters.
string
Public http or https product website.
string
1 to 200 characters.
string
1 to 500 characters.
string
Two-letter ISO 639-1 language code.
string
Only websites is accepted.
string[]
Up to 5 exclusion groups. An empty list clears them.
string[]
Replaces the saved keywords. Up to 25.
string[]
Replaces the saved competitor URLs. Up to 25.
boolean
When true, newly delivered prospects are approved automatically and queued for contact enrichment.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_delete_discovery_agent

Deletes an agent. Sets archived_at and paused_at to the current time and schedulable to false. Runs and matches are kept. Deleting again returns the deleted agent. Marked as destructive. Same as Delete an agent.

Parameters

string
required
Agent ID.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_pause_discovery_agent

Pauses an agent so no new runs start. A run in progress is left alone. Pausing again returns the current agent. Same as Pause an agent.

Parameters

string
required
Agent ID.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_resume_discovery_agent

Turns a paused agent live again. Resuming again returns the current agent. Needs an active plan. Same as Resume an agent.

Parameters

string
required
Agent ID.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_get_discovery_agent_overview

Returns the overview the dashboard shows: live or paused state, blockers and primary_blocker, counts of delivered matches, and the last 8 runs. Read-only. Same as Get agent overview.

Parameters

string
required
Agent ID.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_get_discovery_agent_lookalikes

Returns agent_id and the saved lookalikes URL list. Lookalikes are separate from competitors. Same as Get lookalikes.

Parameters

string
required
Agent ID.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_update_discovery_agent_lookalikes

Replaces the lookalike page URLs. An empty list clears them. Same as Update lookalikes.

Parameters

string
required
Agent ID.
string[]
required
Up to 5 public http or https URLs.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_start_discovery_agent_run

Asks the agent to search now. The agent decides what to search. Fails when the agent is paused or has no keyword or competitor. Needs an active plan. Returns the started or running step in data. Unlike REST, the tool does not tell you whether a new step started. Same as Start a run.

Parameters

string
required
Agent ID.
integer
default:"10"
Ignored. If sent, it must be an integer from 1 to 100.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_list_discovery_agent_runs

Lists search runs, newest first. Same as List runs.

Parameters

string
required
Agent ID.
integer
default:"20"
Results per page, 1 to 100.
integer
default:"0"
Number of results to skip.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_list_discovery_search_cursors

Shows how far each search query has been read (fetched_up_to_rank). Read-only. Does not start a search. Same as List search cursors.

Parameters

string
required
Agent ID.
string
topic, competitor, or lookalike.
integer
default:"20"
Results per page, 1 to 100.
integer
default:"0"
Number of results to skip.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_list_discovery_agent_matches

Lists delivered prospects, newest first. Each item has id, prospect_domain, prospect_name, fit_score, review_decision, status, contact_status, delivery_state, and created_at. A null review decision means not reviewed. Same as List matches.

Parameters

string
required
Agent ID.
string
none, accepted, or rejected.
string
new, approved, rejected, contacted, or won.
string
default:"delivered"
Deprecated. Every value (pending_email, delivered, all) returns delivered matches only.
integer
default:"20"
Results per page, 1 to 100.
integer
default:"0"
Number of results to skip.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_get_discovery_match

Gets one delivered match with status, review_decision, review timestamps, fit_score, and contact_status (enriching, ready, not_found, or null). Same as Get a match.

Parameters

string
required
Match ID from affonso_list_discovery_agent_matches.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_review_discovery_match

Approves, rejects, marks contacted, or marks won on one match. Approve starts the contact email search once, the same as in the dashboard. Sending the same action again succeeds. An action that is not allowed in the current status returns an error. Same as Review a match, which lists the allowed transitions.

Parameters

string
required
Match ID from affonso_list_discovery_agent_matches.
string
approve, reject, mark_contacted, or mark_won.
string
Older alternative to action: accepted approves, rejected rejects. Send action or review_decision. If you send both, they must agree.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_list_discovery_agent_directions

Lists the topics, competitors, and similar products the agent searches or plans to search. Read-only. Use origin weekly_approval with status pending to find suggestions waiting for your decision. Same as List directions.

Parameters

string
required
Agent ID.
string
topic, competitor, or similar_product.
string
pending, searched, or exhausted.
string
agent_source, confirmed_fit, shared_similar_product, review_accepted_cluster, or weekly_approval.
integer
default:"20"
Results per page, 1 to 100.
integer
default:"0"
Number of results to skip.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_decide_discovery_direction

Accepts or rejects one suggested competitor or topic. accept lets the agent search it. reject closes it for good. Returns the updated direction. Same as Decide on a direction.

Parameters

string
required
Agent ID that owns the suggestion.
string
required
Direction ID from affonso_list_discovery_agent_directions.
string
required
accept or reject.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_list_discovery_similar_products

Lists similar products from the shared catalog that are linked to the agent’s directions. Read-only. Same as List similar products.

Parameters

string
required
Agent ID.
integer
default:"20"
Results per page, 1 to 100.
integer
default:"0"
Number of results to skip.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_list_discovery_hard_list

Lists the domains and creators blocked for the agent. Read-only. Same as List hard list.

Parameters

string
required
Agent ID.
string
domain or creator.
integer
default:"20"
Results per page, 1 to 100.
integer
default:"0"
Number of results to skip.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_get_discovery_hard_list_item

Gets one blocked domain or creator. Same as Get hard-list item.

Parameters

string
required
Hard-list item ID from affonso_list_discovery_hard_list.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_list_discovery_exclusion_proposals

Lists the weekly exclusion proposals for the agent. Read-only. Does not accept or dismiss them. Same as List exclusion proposals.

Parameters

string
required
Agent ID.
string
host, creator, or topic.
string
proposed, accepted, or dismissed.
integer
default:"20"
Results per page, 1 to 100.
integer
default:"0"
Number of results to skip.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.

affonso_get_discovery_exclusion_proposal

Gets one weekly exclusion proposal. Read-only. Same as Get exclusion proposal.

Parameters

string
required
Proposal ID from affonso_list_discovery_exclusion_proposals.
string
default:"markdown"
Response format: markdown or json. Also accepted as responseFormat.