Agents, tool use & MCP
Tool calling, agent loops, MCP servers, guardrails, human-in-the-loop, cost and latency control, failure recovery.
- A customer says 'we want an agent for this.' How do you decide whether it needs an agent loop at all? · easy · reported 1×Free
- Walk me through what actually happens in a tool-calling loop, and what you do when a tool call fails. · easy · reported 1×Free
- You're designing the tools for a customer's agent over their CRM. How do you decide what tools to expose and how to shape them? · mediumFree
- What is MCP, and when would you build an MCP server instead of just wrapping a REST API as a tool? · easy · reported 1×Free
- Design an MCP server that gives an AI assistant access to a customer's internal ticketing system and knowledge base, for an enterprise with strict access controls. · medium · reported 2×Free
- Explain how authorization works for a remote MCP server, and why 'token passthrough' is a problem. · hardPro
- How do you defend a customer-facing agent against prompt injection from emails, documents or tool results? · medium · reported 2×Pro
- Where do you put a human in the loop for an agent that processes invoices or refunds, and how do you decide how much autonomy to grant? · medium · reported 2×Pro
- Your agent calls a payment API and the network times out before you see a response. How do you make agent actions safe to retry? · hardPro
- An agent in production sometimes gets stuck, looping on the same tool or wandering for 40 steps. How do you design against that? · mediumPro
- The customer says the agent is too slow and too expensive. What levers do you pull, in what order? · hardPro
- The customer has connected five MCP servers with about 60 tools and the agent's tool choices are getting worse and the bill is rising. What's happening and what do you do? · mediumPro
- What kinds of guardrails would you put around an agent, and where in the flow does each one run? · medium · reported 1×Pro
- Design an agent that handles refund requests for a retailer's support team. Walk me through the whole system. · hard · reported 2×Pro
- The model sometimes sends malformed or out-of-range arguments to a tool. How do you make tool calls reliable? · easyPro