Tools & Connectors
Tools give your agents the ability to access data, call APIs, and interact with your business systems. Without tools, agents can only reason based on what you tell them. With tools, they become powerful automation engines that can look up information, update systems, and take actions.What are Tools?
Tools are integrations that allow agents to:- Access data - Search knowledge bases, query databases, retrieve records
- Call APIs - Invoke external services and platforms
- Perform actions - Create records, send emails, update systems
- Make decisions - Use data from multiple sources to inform responses
Tool Types
QuivaWorks supports two main types of tools:MCP Servers (Model Context Protocol)
What is MCP?
MCP (Model Context Protocol) is an open standard for connecting AI models to data sources and tools. It provides a standardized way for agents to discover, understand, and use integrations.Benefits:
- ✅ Standardized interface
- ✅ Self-describing (agents understand how to use them)
- ✅ Composable and reusable
- ✅ Growing ecosystem of integrations
API Integrations
Pre-configured HTTP integrations for popular services with authentication and parameter mapping already set up.Adding Tools to Agents
From the Agent Configuration
- Open your agent configuration
- Click the Tools tab
- Click Add Tool
- Select from available options:
- MCP Servers - From marketplace or custom
- API Integrations - Pre-built connectors
- Configure authentication and parameters
- Save
Tool Selection Best Practices
Only add relevant tools
Only add relevant tools
Don’t connect everything “just in case”:❌ Bad: Add 15 tools to every agent
✅ Good: Add only tools this specific agent needsWhy:
- Each tool adds tokens (descriptions, parameters)
- More tools = higher costs
- More tools = more confusion for agent
- More tools = slower responses
- Knowledge base search
- Order lookup
- Refund processor
- Lead enrichment
- Social media posting
- Inventory management
Provide clear tool descriptions
Provide clear tool descriptions
When configuring custom tools, write clear descriptions:❌ Bad: “Gets data”
✅ Good: “Searches the knowledge base for help articles by keyword. Returns title, summary, and full article content.”Why:
- Agents read descriptions to understand when to use tools
- Clear descriptions = correct tool usage
- Vague descriptions = wrong tool or no tool usage
Name tools descriptively
Name tools descriptively
Tool names should explain what they do:❌ Bad: “API 1”, “Tool”, “Function”
✅ Good: “Get Order Status”, “Search Knowledge Base”, “Process Refund”Why:
- Agents select tools by name and description
- Descriptive names improve tool selection accuracy
Group related functionality
Group related functionality
Common Tool Types
Knowledge Base / Search Tools
Allow agents to search documentation, help articles, or knowledge repositories. Use when:- Answering product questions
- Providing support information
- Citing policies and procedures
- Referencing documentation
CRM / Customer Data Tools
Access customer information, order history, and account details. Use when:- Looking up customer accounts
- Checking order status
- Verifying customer history
- Personalizing responses
Action / Transaction Tools
Perform actions like processing refunds, creating tickets, or updating records. Use when:- Processing refunds
- Creating support tickets
- Updating account information
- Taking automated actions
Data Enrichment Tools
Enrich leads or customers with external data. Use when:- Qualifying leads
- Researching companies
- Enriching contact information
- Gathering intelligence
Tool Authentication
Different tools require different authentication methods:API Key
- Configuration
- How to Get
- Best Practices
OAuth 2.0
- Configuration
- How It Works
- Best Practices
Basic Auth
- Configuration
- Security
No Auth (Public APIs)
- Configuration
- Considerations
Using Secrets Manager
For sensitive credentials, use the Secrets Manager:1
Create a Secret
Navigate to Account → Secrets ManagerClick Create Secret
2
Reference in Tool
In tool configuration:The secret is automatically resolved at runtime.
3
Benefits
- ✅ Centralized credential management
- ✅ Encrypted storage
- ✅ Audit logging
- ✅ Easy rotation (update once, applies everywhere)
- ✅ Role-based access control
Learn more in the Secrets Manager Guide
Tool Usage in Agent Instructions
Tell agents how and when to use tools in your instructions:Explicit Tool Usage
Tool Selection Examples
Best Practices
Start with essential tools only
Start with essential tools only
Begin with the minimum tools needed:Phase 1: Core functionality
- Knowledge base search
- Basic customer lookup
- Order management
- Refund processing
- Data enrichment
- Complex integrations
Test tools independently first
Test tools independently first
Before giving tools to agents:
- Test tool calls manually
- Verify authentication works
- Check response formats
- Understand error cases
- Know rate limits
Provide clear tool instructions
Provide clear tool instructions
In your agent instructions:Specific instructions = correct tool usage.
Handle tool errors gracefully
Handle tool errors gracefully
Tools can fail. Prepare agents:
Monitor tool usage
Monitor tool usage
Track which tools are being used:
- Which tools are called most?
- Which tools are never used? (consider removing)
- Are tools being used correctly?
- Are error rates acceptable?
Secure sensitive tools
Secure sensitive tools
For tools that perform actions (refunds, deletions, updates):
- Add approval steps (Human-in-the-Loop)
- Set monetary limits in tool configuration
- Require additional verification
- Log all actions
- Monitor for suspicious activity
Version and document tools
Version and document tools
Maintain documentation:
- What the tool does
- When to use it
- Parameters and their meanings
- Expected responses
- Error conditions
- Usage examples
Troubleshooting
Agent not using tools
Agent not using tools
Possible causes:
- Tools not properly connected
- Instructions don’t mention tools
- Tool descriptions unclear
- Agent hitting reasoning step limit
- Check tool is connected and enabled
- Add explicit tool usage instructions
- Improve tool descriptions
- Increase reasoning step limit
- Test tool manually first
Agent using wrong tool
Agent using wrong tool
Possible causes:
- Similar tool names/descriptions
- Vague tool descriptions
- Missing usage guidelines
- Make tool names more distinct
- Improve tool descriptions (be specific)
- Add explicit usage guidelines in instructions
- Remove similar/redundant tools
- Provide examples in instructions
Tool authentication failing
Tool authentication failing
Check:
- Is API key correct?
- Is OAuth token expired?
- Are credentials stored in Secrets Manager?
- Do credentials have required permissions?
- Is the service API working?
- Verify credentials are correct
- Reconnect OAuth if expired
- Check service status page
- Verify permissions on service side
- Test credentials outside of agent
Tool calls timing out
Tool calls timing out
Possible causes:
- External API is slow
- Complex query
- Rate limiting
- Network issues
- Increase timeout setting if available
- Simplify query parameters
- Check API rate limits
- Add caching for common queries
- Consider async processing for slow tools
Rate limit errors
Rate limit errors
When agent hits provider rate limits:Short term:
- Reduce tool usage frequency
- Add caching
- Batch requests when possible
- Upgrade provider plan
- Use multiple API keys (rotation)
- Implement request queuing
- Consider alternative providers