Skip to main content

Tools & Connectors

Tools give your assistants 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
Agent Tools Architecture

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

  1. Open your agent configuration
  2. Click the Tools tab
  3. Click Add Tool
  4. Select from available options:
    • MCP Servers - From marketplace or custom
    • API Integrations - Pre-built connectors
  5. Configure authentication and parameters
  6. Save
Adding Tools

Tool Selection Best Practices

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
Example: Customer service agent needs:
  • Knowledge base search
  • Order lookup
  • Refund processor
Customer service agent does NOT need:
  • Lead enrichment
  • Social media posting
  • Inventory management
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
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

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
Example configuration:
Agent usage example:

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
Example configuration:
Agent usage example:

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
Example configuration:
Agent usage example:

Data Enrichment Tools

Enrich leads or customers with external data. Use when:
  • Qualifying leads
  • Researching companies
  • Enriching contact information
  • Gathering intelligence
Example configuration:
Agent usage example:

Tool Authentication

Different tools require different authentication methods:

API Key

OAuth 2.0

Basic Auth

No Auth (Public APIs)


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

Begin with the minimum tools needed:Phase 1: Core functionality
  • Knowledge base search
  • Basic customer lookup
Phase 2: Add as needed
  • Order management
  • Refund processing
Phase 3: Advanced features
  • Data enrichment
  • Complex integrations
Don’t add tools “just in case” - each one adds complexity and cost.
Before giving tools to agents:
  1. Test tool calls manually
  2. Verify authentication works
  3. Check response formats
  4. Understand error cases
  5. Know rate limits
Then add to agent and test integration.
In your agent instructions:
Specific instructions = correct tool usage.
Tools can fail. Prepare agents:
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?
Optimize based on actual usage patterns.
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
Example: Refunds over $200 require human approval.
Maintain documentation:
  • What the tool does
  • When to use it
  • Parameters and their meanings
  • Expected responses
  • Error conditions
  • Usage examples
Good documentation = easier troubleshooting and onboarding.

Troubleshooting

Possible causes:
  • Tools not properly connected
  • Instructions don’t mention tools
  • Tool descriptions unclear
  • Agent hitting reasoning step limit
Solutions:
  1. Check tool is connected and enabled
  2. Add explicit tool usage instructions
  3. Improve tool descriptions
  4. Increase reasoning step limit
  5. Test tool manually first
Possible causes:
  • Similar tool names/descriptions
  • Vague tool descriptions
  • Missing usage guidelines
Solutions:
  1. Make tool names more distinct
  2. Improve tool descriptions (be specific)
  3. Add explicit usage guidelines in instructions
  4. Remove similar/redundant tools
  5. Provide examples in instructions
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?
Solutions:
  1. Verify credentials are correct
  2. Reconnect OAuth if expired
  3. Check service status page
  4. Verify permissions on service side
  5. Test credentials outside of agent
Possible causes:
  • External API is slow
  • Complex query
  • Rate limiting
  • Network issues
Solutions:
  1. Increase timeout setting if available
  2. Simplify query parameters
  3. Check API rate limits
  4. Add caching for common queries
  5. Consider async processing for slow tools
When agent hits provider rate limits:Short term:
  1. Reduce tool usage frequency
  2. Add caching
  3. Batch requests when possible
Long term:
  1. Upgrade provider plan
  2. Use multiple API keys (rotation)
  3. Implement request queuing
  4. Consider alternative providers

Next Steps

Custom MCP Servers

Build your own tool integrations

API Connections

Connect to external APIs

Prompt Engineering

Write better tool usage instructions

Best Practices

Optimize agent performance