Agents, tools and the Model Context Protocol
An agent is an assistant that can use tools by itself. Learn how it differs from a fixed workflow, what a tool server is, and why permissions matter most.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: giving an assistant keys. Think of a house sitter minding your home. If you give them only the front door key, they can water the plants. If you give them every key, they can also move your car, open the safe and tidy the cupboards. More keys get more done. They also give more ways for a mistake to hurt.
Daily List is a to-do list app. Tom, the tester, wants an assistant that does more than answer questions. He wants it to open pages and look around the on its own. That is an agent with a browser.
Mei, the test lead, asks one question first: which keys does it get? Tom gives it one: read the pages. He does not give it keys to submit forms or delete lists. Read-only access prevents the permitted tools from directly changing data, but the agent could still expose readable information or consume resources. Tom limits the readable scope and where output can go.
That small choice is the whole lesson. The skill is deciding which keys to hand over, and keeping a person able to say no.
The picture has a limit. A house sitter understands your rules. An agent follows words, and words on a web page can push it off course.
(SYNTHETIC / TRAINING ONLY: Daily List, its practice site and every person named here are made up.)
PLAIN WORDS · 1 in this section
- readable
- able to be read and understood, by people or software
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Letting an assistant act on its own with tools, while the tester decides which tools it gets and checks what it did.
- Choose the shape
- Set the keys
- Run with a person able to say no
- Read the trail
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The house sitter | The agent |
| The keys | The tools and their powers |
| The key ring you hand over | The tool permission |
| The sitter's note of what they did | The trail the agent returns |
WHERE THIS PICTURE STOPS
- A house sitter understands your rules. An agent follows words, and words on a page can push it off course.
- Keys are all or nothing. Tool powers can be narrow, such as read only.
- A sitter will phone you if unsure. An agent may carry on unless a person is set to approve.
HOOK
Hand over the fewest keys.
REMEMBER IT THIS WAY
A sequence: the real steps, in order.
Before an agent starts, ask three things: which keys, how narrow, who says yes. Afterwards, read the trail it hands back.
| In the trick | What it stands for |
|---|---|
| Which keys | The tools and their powers |
| How narrow | Tool powers can be narrow, such as read only |
| Who says yes | A person is set to approve |
| The trail | The trail the agent returns |
TELL A FRIEND
An assistant with keys can get more done, and a mistake can reach more, so hand over only the keys the job needs.
OFTEN MIXED UP WITH Test automation literacy. The automation literacy lesson explains what test automation is. This lesson adds agents that choose their own steps, and the permissions that limit them.
Sources & standards — 12 sources
- Market practice
Building effective agents (Anthropic) ↗ — Anthropic · Workflows run models and tools along paths set in code; agents direct their own process and tool use; begin with the simplest solution and add complexity only when needed (secondary summaries; the original page was not returned, search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Model Context Protocol specification: Tools ↗ — Model Context Protocol project · A server exposes tools with a name, a description and an input shape; for safety there should always be a human able to deny a tool call, and applications should show which tools are exposed and ask for confirmation (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read at the time of writing. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Test agents (Playwright documentation) ↗ — Microsoft (Playwright) · Playwright ships a planner that explores the app and writes a Markdown test plan, a generator that turns the plan into tests, and a healer that runs failing tests and suggests repairs (search excerpt, page not opened)
Primary source opened and operative text inspected on 6 November 2026. Scope: Complete extracted primary article; examples inspected, not executed. Current live Playwright documentation reflects 1.65 where stated; explicit older examples retain their version. Source inspection is not an execution or compatibility-test claim. See the completed v45 Playwright analysis for source discrepancies and exact reading boundaries.
- Market practice
Playwright Model Context Protocol server ↗ — Microsoft (Playwright) · The Playwright server lets a model drive a browser, by default through text snapshots of the page's accessibility tree rather than screenshots (details from mirrors of the project page; the page itself was not returned, search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read at the time of writing. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Certified Tester course outline for testing with generative artificial intelligence (Learning Tree) ↗ — Learning Tree International · A provider outline says chapter 4 covers test infrastructure powered by large language models, including retrieval-augmented generation, agents, fine-tuning and the operations around them (search excerpt, page not opened). The syllabus text, read in full from a mirror copy, lists the same four areas in 4.1.1 to 4.2.2.
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
How retrieval-augmented generation actually works (Gloo learning center) ↗ — Gloo · The method is summarised as retrieve, augment, then generate, and compared to an open-book exam (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Expanding knowledge with retrieval-augmented generation (Educative) ↗ — Educative · A default model is compared to a closed-book exam, and made-up answers are tied to answering from memory (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Retrieval-augmented generation with access control (Pinecone learning center) ↗ — Pinecone · An authorization layer decides which documents the asking person may see, applied when documents are retrieved and not after (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
RAFT: adapting a language model to domain specific retrieval-augmented generation (arXiv 2403.10131) ↗ — arXiv · Closed-book answering from what a model absorbed in training, open-book answering through a retriever, and results that depend on how well the retriever finds the right passage (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
MCP architecture,2026-07-28 ↗ — Model Context Protocol project · Complete substantive architecture prose read6November2026; host/client/server roles and current stateless per-request scope. Official source-rendered figure and reuse permission remain unreviewed; no image integrated.
Complete substantive architecture prose read6November2026; host/client/server roles and current stateless per-request scope. Official source-rendered figure and reuse permission remain unreviewed; no image integrated.
- Market practice
MCP tools,2026-07-28 ↗ — Model Context Protocol project · Selected complete Tools prose: interaction model,definitions,structured output,stateful guidance,errors/security read6November2026; human denial recommendation versus mandatory validation/access controls. Not all protocol pages certified.
Selected complete Tools prose: interaction model,definitions,structured output,stateful guidance,errors/security read6November2026; human denial recommendation versus mandatory validation/access controls. Not all protocol pages certified.
- Market practice
OWASP LLM06:2025 Excessive agency ↗ — OWASP · 2025 entry substantive definition,causes,examples,mitigations,monitoring and scenario read6November2026. Read-only confidentiality/availability and generic capabilities matter. No figure copied.
2025 entry substantive definition,causes,examples,mitigations,monitoring and scenario read6November2026. Read-only confidentiality/availability and generic capabilities matter. No figure copied.
PRACTISE AND KEEP
Sources for this topic — 10 sources
- Market practice
Building effective agents (Anthropic) ↗ — Anthropic · Workflows run models and tools along paths set in code; agents direct their own process and tool use; begin with the simplest solution and add complexity only when needed (secondary summaries; the original page was not returned, search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Model Context Protocol specification: Tools ↗ — Model Context Protocol project · A server exposes tools with a name, a description and an input shape; for safety there should always be a human able to deny a tool call, and applications should show which tools are exposed and ask for confirmation (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read at the time of writing. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Test agents (Playwright documentation) ↗ — Microsoft (Playwright) · Playwright ships a planner that explores the app and writes a Markdown test plan, a generator that turns the plan into tests, and a healer that runs failing tests and suggests repairs (search excerpt, page not opened)
Primary source opened and operative text inspected on 6 November 2026. Scope: Complete extracted primary article; examples inspected, not executed. Current live Playwright documentation reflects 1.65 where stated; explicit older examples retain their version. Source inspection is not an execution or compatibility-test claim. See the completed v45 Playwright analysis for source discrepancies and exact reading boundaries.
- Market practice
Playwright Model Context Protocol server ↗ — Microsoft (Playwright) · The Playwright server lets a model drive a browser, by default through text snapshots of the page's accessibility tree rather than screenshots (details from mirrors of the project page; the page itself was not returned, search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read at the time of writing. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Certified Tester course outline for testing with generative artificial intelligence (Learning Tree) ↗ — Learning Tree International · A provider outline says chapter 4 covers test infrastructure powered by large language models, including retrieval-augmented generation, agents, fine-tuning and the operations around them (search excerpt, page not opened). The syllabus text, read in full from a mirror copy, lists the same four areas in 4.1.1 to 4.2.2.
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
How retrieval-augmented generation actually works (Gloo learning center) ↗ — Gloo · The method is summarised as retrieve, augment, then generate, and compared to an open-book exam (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Expanding knowledge with retrieval-augmented generation (Educative) ↗ — Educative · A default model is compared to a closed-book exam, and made-up answers are tied to answering from memory (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Retrieval-augmented generation with access control (Pinecone learning center) ↗ — Pinecone · An authorization layer decides which documents the asking person may see, applied when documents are retrieved and not after (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
RAFT: adapting a language model to domain specific retrieval-augmented generation (arXiv 2403.10131) ↗ — arXiv · Closed-book answering from what a model absorbed in training, open-book answering through a retriever, and results that depend on how well the retriever finds the right passage (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Certified Tester Testing with Generative AI (CT-GenAI) Syllabus v1.1 (International Software Testing Qualifications Board) ↗ — International Software Testing Qualifications Board (ISTQB) · Mirror copy of the publisher PDF (ISTQB syllabus CT-GenAI v1.1, 27 April 2026), version checked against the document's own front matter, read in full text: section 1.2.2 (objective GenAI-1.2.2, K2) compares AI chatbots with LLM-powered testing applications. Chatbots give a conversational interface, support prompt chaining and suit routine tasks, exploratory testing and onboarding, and non-technical people can use them. LLM-powered testing applications reach LLMs through APIs for well-defined, often automated tasks and are more customisable and scalable; agents are a further step (chapter 4)
Text read in full from a mirror copy of the publisher PDF (ISTQB syllabus CT-GenAI v1.1), version checked against the document's own front matter. The url above is the mirror copy that was read, not a page of istqb.org, and the publisher's own page was not opened. Licence terms were not read, so put it in your own words and do not quote it.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.