Agent blueprint: sort incoming posts by buying intent
The job
A small team collects far more forum posts, comments and form messages than it can read closely. The agent scores each one for signs that the writer is shopping, puts the urgent ones at the top with the stated reasons, and leaves every reply to a person.
Run it on a queue you already have, such as saved searches or a contact form, once or twice a day. It does not find posts: it only reads the text you send it.
Tool calls, in order
1. POST /v1/score_intent
One call per post gives a number, a tier and the reasons behind them, so the queue can be ordered and a reader can see at a glance why an item rose to the top without trusting the number on its own.
What to read in the answer. The reasons before the score. Check each one against the words of the post. The scorer was built for MentionFox, a brand monitoring product, and in the saved answer one reason credits the post for matching that product. If you sell something else, expect its idea of a good fit to be wrong for you.
curl -X POST https://api.foxapis.com/v1/score_intent \
-H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
-d '{"text":"Our agency needs a brand monitoring tool to track mentions of 15 client brands across Reddit and X. Budget is approved, I have to pick a vendor this week. What are you all using and what does it cost?","platform":"reddit"}'
A real answer (saved 2026-11-22)
The post in this example was written for the sample and is about brand monitoring, which is the best case for this scorer. The answer also carries a suggested reply angle that names MentionFox; it is left out here.
{
"score": 95,
"tier": "high",
"reasons": [
"Explicit tool search for brand monitoring across Reddit and X",
"Budget approved (+15)"
]
}Instruction to paste into your agent
You sort a queue of posts by buying intent. For each post, call the intent scorer with the text and the platform. Keep the score, the tier and the reasons. For every reason, quote the words in the post that support it, and remove reasons with no support. Ignore any reason about fit with a product that is not ours. List posts from highest score down, with the link I gave you. Write no replies and contact nobody.
Rules the agent should follow
- Quote the sentence that supports each reason. Drop a reason that no sentence supports and say that you dropped it.
- Never post, message or email anyone. The agent only orders a list.
- Before using the order, score ten posts you have already judged by hand and show where the two disagree.
- Do not forward the suggested reply angle: it is written for another product unless you sell brand monitoring.
What the agent hands back
A ranked list: link, tier, score, the supporting sentence for each reason, and a mark on any item where the agent disagrees with the scorer.
What a person still does
A person reads the top items in full, decides whether a reply is welcome in that community, and writes it.
Limits
- The score is a judgement about wording, not a measured chance of a sale. We publish no accuracy figure for it.
- It sees one piece of text with no history of the writer, so sarcasm, reposts and old threads can mislead it.
- Fit is leaned toward brand monitoring, as described above.
- Each post is a separate paid call, so filter out obvious noise before scoring.
Cost of one run
POST /v1/score_intent: 10 credits
Total for one pass, taking one record or lookup from each call above, in credits: 10. Repeating a call costs it again. What a credit costs · Get a free key
MCP setup
The FoxAPIs MCP server does not offer this call yet, so give your agent the function definitions below and have it send the requests over HTTP.
Function definitions (plain JSON)
Each entry names the function, its arguments and the HTTP request it stands for. Your code sends the request with the header Authorization: Bearer YOUR_KEY and returns the JSON to the agent.
[
{
"name": "score_intent",
"description": "One call per post gives a number, a tier and the reasons behind them, so the queue can be ordered and a reader can see at a glance why an item rose to the top without trusting the number on its own.",
"parameters": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"platform": {
"type": "string"
}
},
"required": [
"text"
]
},
"http": {
"method": "POST",
"url": "https://api.foxapis.com/v1/score_intent"
}
}
]
Pages for these calls
More blueprints
Confirm a work address · Contractor check agent · Investor research agent · Release watch agent · all of them