Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Explain the architectural difference between MCP and vendor function calling. At which layer does each operate, and describe a system where you would use both simultaneously.
Function calling is the LLM-to-host intent layer; MCP is the host to server integration layer. They stack, so a real agent uses both at once.
Picture ordering at a restaurant. Function calling is you telling the waiter, in a clear set phrase, exactly what you want: 'one pasta, no cheese.' The waiter understands the format and writes it down. MCP is the standardized system behind the kitchen door that lets the waiter pass that order to any station, the grill, the salad bar, the dessert counter, without the waiter needing to know how each one works inside. The waiter is the host application in the middle. You speak one clear language to the waiter, and the waiter speaks one standard protocol to the kitchen. Change the kitchen and the way you talk to the waiter never changes. Two different conversations, two different layers, and both are needed to actually get fed.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
5 min: name the three players, place each mechanism at its boundary, trace one turn through the host bridge, then give a Claude Code plus filesystem server example and a skip-MCP case.
| Concern | Function calling | MCP |
|---|---|---|
| Boundary | LLM to host | Host to external server |
| Job | Model expresses tool intent | Host discovers and invokes the tool |
| Defined by | Each model vendor | Open spec, vendor-neutral |
| Transport | Inside the prompt and completion | JSON-RPC over stdio or streamable HTTP |
| Primitives | Tool schemas and tool calls | Tools, resources, prompts |
| Reusable across apps | No, model-specific shape | Yes, one server runs in any host |
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Calling MCP a replacement for function calling. They sit at different boundaries, so the host runs both in the same request.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.