I've been trying to see how efficient just using the sql tool can be. I've found using a system prompt explaining that you can't use limit and to use the top syntax instead. I also found explaining what fields or defined for relationships helps quite a bit.