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:


Tool Categories

Tools are organized into 5 categories that can be enabled or disabled for different deployment scenarios. By default, all categories are enabled.

Category
Tools
Description

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

Profile
Categories
Use Case

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 Guidearrow-up-right 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 analysis

  • summary - Conversation summary

  • transcript - Transcription

  • translation - Translation

  • keywords - Keyword extraction

  • entities - Named entity recognition

  • topics - Topic classification

  • action_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_uuids for all matching vCons (up to limit)

  • For large result sets (>20), only UUIDs are returned by default to prevent response size limits

  • Use return_full_vcons: true to get full vCon objects (limited to max_full_vcons to 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 parameters

  • NOT_FOUND - vCon or resource not found

  • DATABASE_ERROR - Database operation failed

  • PERMISSION_DENIED - Insufficient permissions

  • RATE_LIMIT_EXCEEDED - Too many requests


Usage Notes

Best Practices

  1. Always validate - Use validate_before_insert for create operations

  2. Use appropriate search - Choose the right search tool for your use case

  3. Tag consistently - Establish a tagging schema

  4. Monitor performance - Use database tools regularly

  5. Handle errors - Check success field 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 limit and offset parameters

  • Check has_more in response

  • Maximum limit is 1000


Next Steps

Last updated