Tips // Claude in practice

Tips for working better with Claude

One short tip at a time, with an example you can copy. Move through them at random or search for what you need.

APIIntermediateClaude API

RAG for stable documents, a tool call for live data

If the data changes between reindexes (stock, balance, order status), RAG answers confidently but out of date: that calls for a tool call.

RAG works when the answer lives in reference material that does not change between index refreshes (manuals, policies, documentation). For live state, retrieval brings text 'snapshots' and the model picks the closest one, without knowing which is current. Before reusing RAG on a new case, ask whether the data is stable reference or current state.

Example
Quick rule:
- What does the returns policy say? → RAG
- What is the status of order #4821 right now? → a tool that queries the system of record
#rag#tools#architecture#live-data