I have added few FAQs to my dev store using Shopify KnowledgaBase App. Now when I try the MCP tool search_shop_policies_and_faqs, its not able to get the answer. Although in the UI of KnowledgaBase App, its shown that my question matched with 3 faqs. What might be going wrong? Is it caching issue? I have waited for 12 hours. Should I wait more?
Just to confirm, you’ve set up the FAQs as is described here: https://help.shopify.com/en/manual/promoting-marketing/knowledge-base/managing-faqs
Thanks for the response @Liam-Shopify. That’s right, I have followed those instructions. When I call the tool (From UI or using curl), I don’t get a response:
curl -sX POST “https://store-url/api/mcp” \
-H ‘content-type: application/json’ -H “Cache-Control: no-cache, no-store” -H “Pragma: no-cache” \
-d '{
"jsonrpc":"2.0",
"id":3,
"method":"tools/call",
"params":{
"name":"search_shop_policies_and_faqs",
"arguments":{
"query":"what is your return policy?",
"context":"customer is asking for return policy"
}
}
}’
{“jsonrpc”:“2.0”,“id”:3,“result”:{“content”:[{“type”:“text”,“text”:“Unable to find the answer in the knowledge base, try again”}],“isError”:true}}%
But in the UI, it shows that my question matched with 3 faqs:
@Liam-Shopify , any updates here? I am still facing this issue.
Still digging into this on my side - will post an update here asap
Hi again @Angela_Ranjeet
This does appear to be a bug on our side - we’re working to address this as soon as possible.
Thanks @Liam-Shopify ! We did a bit of testing at our side and looks like as soon as the number of faqs increase beyond a threshold (around 40 +/- 5), we get into this situation. Would wait for the resolution.
Thanks for sharing that extra info @Angela_Ranjeet - we were able to replicate this issue so that’s helpful. Will post here when I’ve an update to share on this.
