A comprehensive guide to agent tool categories, selection frameworks, integration patterns, and the emerging Model Context Protocol (MCP)
| Tool Type | Deterministic? | Authentication | Primary Use Case |
|---|---|---|---|
| Math Functions | Deterministic | None | Precise calculations (e.g., "sqrt(144)" always returns 12) |
| Web Search | Non-deterministic | API Key | Current events, changing information (results vary by time) |
| SQL Database | Deterministic | API Key | Structured data queries (same query = same result, if data unchanged) |
| Vector Search | Deterministic | API Key | Semantic similarity (same query = same top-k results) |
| Weather API | Non-deterministic | API Key | Real-time conditions (changes hourly) |
| Slack Messaging | Deterministic | OAuth | Send messages (action succeeds or fails) |
| Stock Price API | Non-deterministic | API Key | Market data (changes by second) |
| Code Execution | Deterministic | None | Run Python code (same code = same output) |