MCP Tools
Complete reference for all Model Context Protocol (MCP) tools provided by the vCon MCP Server.
Overview
The vCon MCP Server provides 30 tools organized into these functional groups:
Core Operations - Create, read, update, delete vCons
Component Management - Add dialog, analysis, attachments
Search & Query - Four search modes with different capabilities
Tag Management - Organize with key-value metadata
Database Tools - Inspect and optimize database
Database Analytics - Comprehensive database analytics and insights
Database Size Tools - Smart limits and size awareness for large databases
Schema & Examples - Get schemas and example vCons
Tool Categories
Tools are organized into 5 categories that can be enabled or disabled for different deployment scenarios. By default, all categories are enabled.
read
get_vcon, search_vcons, search_vcons_content, search_vcons_semantic, search_vcons_hybrid, get_tags, search_by_tags, get_unique_tags
All read operations
write
create_vcon, update_vcon, delete_vcon, add_analysis, add_dialog, add_attachment, create_vcon_from_template, manage_tag, remove_all_tags
All mutating operations
schema
get_schema, get_examples
Documentation helpers
analytics
get_database_analytics, get_monthly_growth_analytics, get_attachment_analytics, get_tag_analytics, get_content_analytics, get_database_health_metrics
Business intelligence
infra
get_database_shape, get_database_stats, analyze_query, get_database_size_info, get_smart_search_limits
Admin/debugging
Enabling/Disabling Categories
Configure via environment variables:
Deployment Profiles
full
All
Development, full access
readonly
read, schema
Read-only deployments
user
read, write, schema
End-user facing
admin
read, analytics, infra, schema
Admin dashboards
minimal
read, write
Basic CRUD only
See the Configuration Guide for more details.
Core Operations
create_vcon
Create a new vCon (Virtual Conversation) record.
Input Parameters:
Response:
Example:
get_vcon
Retrieve a vCon by UUID.
Input Parameters:
Response:
Example:
update_vcon
Update vCon metadata and top-level fields.
Input Parameters:
Response:
Example:
delete_vcon
Delete a vCon and all related data.
Input Parameters:
Response:
Example:
create_vcon_from_template
Create a vCon from a predefined template.
Input Parameters:
Templates Available:
phone_call - Phone conversation with duration tracking
chat_conversation - Text-based chat with timestamps
email_thread - Email chain with threading
video_meeting - Video conference with participants
custom - Blank template with custom fields
Response:
Example:
Component Management
add_dialog
Add a dialog entry (conversation segment) to a vCon.
Input Parameters:
Response:
Example:
add_analysis
Add AI/ML analysis results to a vCon.
Input Parameters:
Common Analysis Types:
sentiment- Sentiment analysissummary- Conversation summarytranscript- Transcriptiontranslation- Translationkeywords- Keyword extractionentities- Named entity recognitiontopics- Topic classificationaction_items- Action item extraction
Response:
Example:
add_attachment
Add an attachment (file, document, etc.) to a vCon.
Input Parameters:
Response:
Example:
Search & Query
search_vcons
Basic search with filtering by metadata (subject, parties, dates).
Input Parameters:
Response:
Example:
search_vcons_content
Full-text keyword search across dialog, analysis, and party content.
Input Parameters:
Response:
Example:
search_vcons_semantic
AI-powered semantic search using embeddings.
Input Parameters:
Response:
Example:
search_vcons_hybrid
Combined keyword + semantic search for comprehensive results.
Input Parameters:
Response:
Example:
Tag Management
add_tag
Add or update a single tag on a vCon.
Input Parameters:
Response:
Example:
get_tag
Retrieve a specific tag value.
Input Parameters:
Response:
get_all_tags
Get all tags for a vCon.
Input Parameters:
Response:
Example Response:
remove_tag
Remove a tag from a vCon.
Input Parameters:
search_by_tags
Find vCons by tag criteria (all tags must match).
Input Parameters:
Response:
Behavior:
Always returns
vcon_uuidsfor all matching vCons (up tolimit)For large result sets (>20), only UUIDs are returned by default to prevent response size limits
Use
return_full_vcons: trueto get full vCon objects (limited tomax_full_vconsto prevent size issues)For small result sets (≤20), full vCon objects are returned by default
Example:
get_unique_tags
Discover all available tags across all vCons.
Input Parameters:
Response:
Example:
update_tags
Update multiple tags at once.
Input Parameters:
Example:
remove_all_tags
Remove all tags from a vCon.
Input Parameters:
Database Tools
get_database_shape
Get database structure, sizes, and indexes.
Input Parameters:
Response:
get_database_stats
Get performance metrics and usage statistics.
Input Parameters:
Response:
analyze_query
Analyze SQL query execution plan (limited support).
Input Parameters:
Note: Has limited support due to RPC constraints. Use direct database access for full EXPLAIN capabilities.
Database Analytics
get_database_analytics
Get comprehensive database analytics including size, growth trends, content distribution, and health metrics.
Input Parameters:
Response:
Example:
get_monthly_growth_analytics
Get detailed monthly growth analytics with trends and projections.
Input Parameters:
Response:
get_attachment_analytics
Get comprehensive attachment analytics including file type distribution and size analysis.
Input Parameters:
Response:
get_tag_analytics
Get comprehensive tag analytics including usage patterns and value distribution.
Input Parameters:
Response:
get_content_analytics
Get comprehensive content analytics including dialog types, analysis breakdown, and conversation metrics.
Input Parameters:
Response:
get_database_health_metrics
Get database health metrics including performance indicators and optimization recommendations.
Input Parameters:
Response:
Database Size Tools
get_database_size_info
Get database size information and smart recommendations for query limits. Essential for large databases to prevent memory exhaustion.
Input Parameters:
Response:
Example:
get_smart_search_limits
Get smart search limits based on database size and query complexity. Helps prevent memory exhaustion by suggesting appropriate limits.
Input Parameters:
Response:
Example:
Schema & Examples
get_schema
Get vCon schema definition.
Input Parameters:
Response:
get_examples
Get example vCons.
Input Parameters:
Response:
Example Types:
minimal - Bare minimum required fields
phone_call - Phone conversation example
chat - Text chat example
email - Email thread example
video - Video meeting example
full_featured - All features demonstrated
Error Responses
All tools return errors in this format:
Common Error Codes:
VALIDATION_ERROR- Invalid input parametersNOT_FOUND- vCon or resource not foundDATABASE_ERROR- Database operation failedPERMISSION_DENIED- Insufficient permissionsRATE_LIMIT_EXCEEDED- Too many requests
Usage Notes
Best Practices
Always validate - Use
validate_before_insertfor create operationsUse appropriate search - Choose the right search tool for your use case
Tag consistently - Establish a tagging schema
Monitor performance - Use database tools regularly
Handle errors - Check
successfield in all responses
Rate Limits
Search operations: 100 requests/minute
Create operations: 50 requests/minute
Other operations: 200 requests/minute
Pagination
For search results:
Use
limitandoffsetparametersCheck
has_morein responseMaximum
limitis 1000
Next Steps
See Resources for URI-based access
See Prompts for query templates
See TypeScript Types for type definitions
See Examples for practical usage
Last updated