Tool Use and the Model Context Protocol

Tool Use and the Model Context Protocol

Key jargon

Term Plain-language meaning
Model Context Protocol (MCP) A protocol for connecting AI hosts and clients to servers exposing tools, resources, and prompts.
Host The application coordinating model interaction and MCP clients.
MCP server A process that advertises capabilities and responds to protocol requests.
Capability negotiation The client and server declaration of features they support.

Key concepts

Concept map

flowchart LR
    A["Host discovers server capabilities"] --> B["Model proposes tool use"]
    B --> C["Host authorizes protocol call"]
    C --> D["Server returns observed result"]

Models can emit structured requests that a host interprets as tool calls. MCP standardizes interactions among hosts, clients, and servers for capabilities such as tools, resources, and prompts. The protocol improves interoperability; the host still owns identity, authorization, consent, isolation, and audit.

Trust boundaries

flowchart LR
    U[User] --> H[Host application]
    H --> C[MCP client]
    C --> S[MCP server]
    S --> X[Local or external system]

Ask at every boundary: who authenticated, what authority was delegated, which arguments are allowed, what data returns, and what effect can occur?

Security rules

Exercise

Design an MCP server exposing one read-only resource and one reversible tool. Write the host-side authorization and approval rules separately from the protocol schema.

Source