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.
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
- Create the agent with
affonso_create_discovery_agentfrom a manual brief: website, product, audience, and at least one keyword or competitor URL. It requests its first search step on its own. - Start a run with
affonso_start_discovery_agent_runwhen you want it to search now. Check progress withaffonso_get_discovery_agent_overview. - List matches with
affonso_list_discovery_agent_matches, for example withbucketset tonew. - 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 withaffonso_get_discovery_email_searches.
Errors
Errors are returned as tool errors with the same message as the matching REST error, for exampleDiscovery 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
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
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 returnsdata: null instead of an error.
Parameters
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
Up to 25 topics, each 1 to 200 characters. Send at least one keyword or one competitor.
Up to 25 public competitor website URLs. Send at least one keyword or one competitor.
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
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
affonso_update_discovery_agent
Changes the brief, sources, orauto_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
When
true, newly delivered prospects are approved automatically and queued for contact enrichment.affonso_delete_discovery_agent
Deletes an agent. Setsarchived_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
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
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
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
affonso_get_discovery_agent_lookalikes
Returnsagent_id and the saved lookalikes URL list. Lookalikes are separate from competitors. Same as Get lookalikes.
Parameters
affonso_update_discovery_agent_lookalikes
Replaces the lookalike page URLs. An empty list clears them. Same as Update lookalikes.Parameters
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 indata. Unlike REST, the tool does not tell you whether a new step started. Same as Start a run.
Parameters
affonso_list_discovery_agent_runs
Lists search runs, newest first. Same as List runs.Parameters
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
affonso_list_discovery_agent_matches
Lists delivered prospects, newest first. Each item hasid, 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
Deprecated. Every value (
pending_email, delivered, all) returns delivered matches only.affonso_get_discovery_match
Gets one delivered match withstatus, review_decision, review timestamps, fit_score, and contact_status (enriching, ready, not_found, or null). Same as Get a match.
Parameters
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
Older alternative to
action: accepted approves, rejected rejects. Send action or review_decision. If you send both, they must agree.affonso_list_discovery_agent_directions
Lists the topics, competitors, and similar products the agent searches or plans to search. Read-only. Useorigin weekly_approval with status pending to find suggestions waiting for your decision. Same as List directions.
Parameters
agent_source, confirmed_fit, shared_similar_product, review_accepted_cluster, or weekly_approval.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.
