This topic was automatically generated from Slack. You can find the original thread here.
Is there any way I can filter out the results from the Google Maps (Places API) MCP? It generate a way too long response (comes with reviews, for example, which I dont need).
Hi,
Are you currently running this through a Pipedream workflow? If so, have you already tried the approach below?
• Let the full response come into Pipedream
• Add a Code step (Node.js) after the request
• Manually extract and return only the fields you need (for example: name, place_id, rating, location)
This way, your workflow would only pass forward the reduced dataset, even though the raw API response is large.
Which option should I choose there though? Im currently having some max tokens problems per request because of the size of the payload of the mcp, is there anyway I can do on my end?