An agent that answers from its own memory can state out-of-date facts with confidence. Making it search the web and cite the page it opened keeps the answer tied to a dated source. Ollama 0.12.6 added search support for tool-calling models, showing how search is now part of the agent loop. Require the citation before the answer.
Checked on 2026-11-29. We did not run any tool for this guide. Every result below is an expected result, marked UNTESTED, for you to confirm on your own files.
Prerequisites
- An agent with a web search tool
- A question with a fact that changes over time
- Access to the cited page, so you can open it yourself
Steps
1. Ask the agent to search first
Tell the agent to search the web for the fact before answering, and to name the page it will use.
Expected result: A search is run and a page is named before any answer is given.
2. Check the page is the right source
Open the page yourself and confirm it is the official source, not a summary or a copy.
Expected result: The page is opened and marked official or not.
3. Ask for the answer with a citation
Ask the agent to answer with the citation attached to each fact.
Expected result: The answer arrives with a citation on each fact.
4. Verify one citation by hand
Open one cited page and confirm the fact is really there.
Expected result: One citation is verified by hand and marked correct or wrong.
Worked example
A practice question asked for the current Ollama version. The agent searched and cited the release notes.
| Fact | Cited source | Verified? |
|---|---|---|
| Ollama 0.12.6 date | Release notes | Yes |
| Flash attention Gemma 3 | Release notes | Yes |
| Vulkan support | Release notes | Yes |
Expected result: Three facts arrive with citations and all three are verified against the release notes page (UNTESTED – confirm it yourself.)
Verdict table
| Check | Expected result | Pass? |
|---|---|---|
| Ask the agent to search first | A search is run and a page is named before any answer is given. | – |
| Check the page is the right source | The page is opened and marked official or not. | – |
| Ask for the answer with a citation | The answer arrives with a citation on each fact. | – |
| Verify one citation by hand | One citation is verified by hand and marked correct or wrong. | – |
Limits
- A cited page can still be wrong or out of date; check the date on the page.
- Search results can point at copies of official pages; open the official one.
Sources
- Model Context Protocol (Stanford CS329T slides) – checked 2026-11-29
- The Model Context Protocol (MCP) for compliance data – checked 2026-11-29
- What is the Model Context Protocol (MCP)? – checked 2026-11-29
- Ollama v0.9.1 release notes – checked 2026-11-29
