MCP Tools
Complete reference for all Model Context Protocol (MCP) tools provided by the vCon MCP Server.
Overview
The vCon MCP Server provides 46 tools organized into these functional groups:
Redesigned Contract Tools - Recommended discovery, fetch, search, and aggregation surface for new clients
Core Operations - Create, read, update, delete vCons
Component Management - Add, update, and remove parties, 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 - Size, growth, content, tag, and health analytics
Database Size Tools - Smart limits and size awareness for large databases
Schema & Examples - Get schemas and example vCons
Recommended Starting Point
If you are building a new client, especially an LLM-generated one, start with the redesigned additive tool family:
vcon_capabilitiesvcon_taxonomyvcon_searchvcon_fetchdescribe_response_shape
These tools were added to address undocumented limits, inconsistent envelopes, and hard-to-predict payloads in the older tool set.
Are The Older Tools Still Useful?
Yes. The older tools are still useful for backward compatibility, narrow workflows, and incremental migration. Existing clients built around get_vcon, search_vcons, search_vcons_content, search_vcons_semantic, search_vcons_hybrid, and search_by_tags can keep working while new clients adopt the redesigned surface.
For new client work, prefer the redesigned tools first. Treat the older tools as compatibility and specialized interfaces rather than the default entry point.
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 (15)
get_vcon, vcon_fetch, vcon_capabilities, vcon_search, vcon_taxonomy, vcon_aggregate, vcon_graph_shape, describe_response_shape, search_vcons, search_vcons_content, search_vcons_semantic, search_vcons_hybrid, get_tags, search_by_tags, get_unique_tags
All read operations
write (18)
create_vcon, create_vcon_from_template, update_vcon, delete_vcon, add_analysis, add_dialog, add_attachment, add_party, update_party, remove_party, update_dialog, remove_dialog, update_analysis, remove_analysis, update_attachment, remove_attachment, manage_tag, remove_all_tags
All mutating operations
schema (2)
get_schema, get_examples
Documentation helpers
analytics (6)
get_database_analytics, get_monthly_growth_analytics, get_attachment_analytics, get_tag_analytics, get_content_analytics, get_database_health_metrics
Usage and growth reporting
infra (5)
get_database_shape, get_database_stats, analyze_query, get_database_size_info, get_smart_search_limits
Admin/debugging
A session that authenticates with a read-only API key loses the write category; the other enabled categories stay available.
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
public
read, schema, minus vcon_aggregate and vcon_taxonomy
Hosted public datasets; also filters prompts
The public profile is for hosted, read-only datasets where an agent with no prior context connects and has to work out what the corpus is about from tools/list alone. It keeps the read and search tools, get_schema, get_examples, and tag discovery, and hides database internals, analytics, and the two deployment-shaped tools (vcon_aggregate, vcon_taxonomy). Prompts carry the same categories, so the profile also drops daily_activity_report. MCP_DISABLED_TOOLS still applies on top of any profile.
See the Configuration Guide for more details.
Redesigned Contract Tools
These tools are additive. They do not replace the legacy tools immediately, but they are the recommended surface for new client development.
All seven tools return an ok envelope instead of the success envelope used by the legacy tools:
Failure codes returned by these tools:
INVALID_ARGUMENT
vcon_fetch, vcon_search, vcon_aggregate
Missing or malformed argument. Includes invalid_values and valid_values when include has an unsupported entry
NOT_FOUND
vcon_fetch
No vCon with that id
FETCH_FAILED
vcon_fetch
Any other read error; message carries the cause
SEARCH_FAILED
vcon_search
The search backend raised an error; message carries the cause
AGGREGATE_FAILED
vcon_aggregate
The rollup failed, for example because the aggregate_vcons_by_dealer_stats RPC is missing
SHAPE_GRAPH_FAILED
vcon_graph_shape
The shape graph query failed
RESPONSE_TOO_LARGE
vcon_fetch, vcon_search
The serialized response would exceed max_response_bytes. The error carries approximate_bytes, max_response_bytes, and suggestions
UNKNOWN_TOOL
describe_response_shape
No descriptor for tool_name. The error carries available_tools
Two vcon_search inputs are rejected as MCP InvalidParams errors instead of an envelope: an unsupported mode and a malformed cursor.
These tools read through the database layer directly, so the beforeRead, afterRead, beforeSearch, and afterSearch plugin hooks do not run for them.
vcon_capabilities
Discover supported include groups, search modes, cursor semantics, byte-budget defaults, and migration hints before building a client.
Input Parameters: none.
Response: { ok: true, item } where item has these keys: tools, shape_graph, response_budgeting, fetch, search, pagination, taxonomy_hints, and migration (maps each legacy search tool to its vcon_search mode, and get_vcon to vcon_fetch).
Use first when:
You need to inspect limits before making calls
You are generating a client from tool descriptions
You want to know which include groups and search modes are supported
vcon_taxonomy
Return dataset-specific guidance, including the portal taxonomy and preferred data sources. The guidance comes from configuration (VCON_TAXONOMY_DATASET, VCON_DEALER_ATTACHMENT_TYPE, VCON_TAXONOMY_CONFIG; see the configuration guide).
Input Parameters: none.
Response: { ok: true, item } where item has dataset, portal_values, common_tags, preferred_sources, query_recipes, and coverage. With no configuration, dataset is null, portal_values is empty, and the remaining sections hold generic dealer and summary guidance. A deployment's configured vocabulary replaces them. coverage is computed from live counts and falls back to { note: "coverage unavailable" } when the counts fail.
Example hints a configured deployment can surface:
Use
tags.portalclassification values before semantic search for "bad call" or upset-customer viewsPrefer the dealer attachment (
attachment:<VCON_DEALER_ATTACHMENT_TYPE>) over sparsedealer_nametags for dealer-aware interfaces
vcon_search
Unified metadata, keyword, semantic, and hybrid search with one stable response shape.
Input Parameters:
Where each input applies:
metadata
All filters fields, tags
query, embedding
keyword
query (required), tags, filters.start_date, filters.end_date, filters.date_field
Other filters fields
semantic
query or embedding, tags, threshold
All filters fields, including dates
hybrid
query (required), optional embedding, tags, semantic_weight
All filters fields, including dates
Tag filters go in the top-level tags parameter. A tags object placed inside filters is ignored.
filters.date_field picks the timestamp the date window applies to. See Date fields.
In hybrid mode, if the query embedding cannot be generated the search falls back to keyword-only ranking.
Response:
Every item carries the core fields (
id,vcon_version,created_at,updated_at,subject,extensions,critical) whateverincludesays.includeadds the other groups (see the include table undervcon_fetch).The
searchobject depends on the mode.metadata:{ mode }.keyword:mode,content_type,content_index,relevance_score,snippet.semantic:mode,content_type,content_reference,similarity_score,content_text.hybrid:mode,combined_score,semantic_score,keyword_score.page.totalis the full match count formetadataandkeywordmodes. Semantic and hybrid modes omit it.page.next_cursorisnullon the last page. The cursor is currently base64url JSON holding an offset; treat it as opaque.With
mode: "metadata"andtags, only the newest 100000 matches are reachable through cursors. When the total exceeds that,page.iterable_totalis set to 100000.When fewer than
limititems come back,meta.short_page_reasonis one ofkeyword_dedup_or_rank_window,below_limit_more_results_exist, orend_of_searchable_results.Oversized results return
RESPONSE_TOO_LARGEwith narrowing suggestions instead of truncating.
Highlights:
explicit
includegroups such ascore,summary,dealer,tagscursor pagination via
page.next_cursor(there is nooffset)explicit response budgeting with
max_response_bytesloud failure with
RESPONSE_TOO_LARGEinstead of silent truncation
Example:
vcon_fetch
Single-record fetch with one stable response shape.
Input Parameters:
Include groups:
Group
Adds to item
core
id, vcon_version, created_at, updated_at, subject, extensions, critical (always present)
parties
parties
summary
summary: the analysis entries of type summary, each with type, vendor, product, schema, encoding, dialog, and body when it is a non-empty string
tags
tags: parsed tag key/value object
dealer
dealer: parsed dealer attachment (type from VCON_DEALER_ATTACHMENT_TYPE, default dealer; id as string, name, outboundPhoneNumber, team) or null
counts
counts: { parties, dialog, analysis, attachments }
dialog, analysis, attachments
The full arrays
Response:
Highlights:
explicit
includegroups instead ofresponse_formatnormalized primary identifier field:
iduseful lightweight pattern:
include=["core","summary","dealer"]explicit response budgeting with
max_response_bytes
describe_response_shape
Return the published JSON schema plus one concrete example for redesigned and legacy tools. Use this when a client needs to probe actual envelope structure before wiring a parser.
Input Parameters:
Response: With tool_name, { ok: true, item: { tool_name, summary, response_schema, example?, notes? } }. Without it, { ok: true, items: [{ tool_name, summary }], page: { count, total, next_cursor: null } }.
Descriptors exist for vcon_fetch, vcon_taxonomy, vcon_capabilities, vcon_graph_shape, vcon_search, vcon_aggregate, describe_response_shape, get_vcon, search_vcons, search_by_tags, search_vcons_content, search_vcons_semantic, and search_vcons_hybrid. Any other name returns UNKNOWN_TOOL.
vcon_aggregate
Server-side rollup for rate-style questions: which groups have the highest share of vCons matching a tag filter. Groups vCons by an attachment-derived key (this release: the dealer attachment id, where a deployment stores one; type from VCON_DEALER_ATTACHMENT_TYPE) and returns filtered_count (rows matching the supplied tags) and baseline_count (all rows in the group), so a client can divide for a rate in one round trip. Requires the Postgres RPC aggregate_vcons_by_dealer_stats from the latest migration.
Input Parameters:
Response:
group_by other than "dealer" returns INVALID_ARGUMENT.
vcon_graph_shape
Return the default OSS vCon shape graph for the corpus: nodes for analysis types, attachment purposes, legacy attachment types (when purpose is absent), and tag keys, plus optional co-occurrence edges between analysis types and attachment purposes. Spec-generic structure only, no business ontology. Returns the same payload as the resource vcon://v1/graph/shape; prefer the resource when the client supports resources.
Input Parameters: none.
Response: { ok: true, item } where item is the shape graph document (schema_version, generated_at, corpus, nodes, edges). Failures return SHAPE_GRAPH_FAILED.
Core Operations
Legacy tools in this document return { success: true, ... } on success and signal failure by throwing an MCP error. See Error Responses.
create_vcon
Create a new vCon (Virtual Conversation) record. The server generates created_at and sets vcon to "0.4.0". The uuid is optional: when supplied (a valid UUID) it is used as the vCon identifier, so re-posting the same uuid replaces the stored vCon instead of creating a duplicate (idempotent create). Without it the server generates one. An invalid uuid is rejected with InvalidParams.
Input Parameters:
See Child object fields for the shape of Party, Dialog, Analysis, and Attachment. The whole vCon is validated before it is stored; a failure is an InvalidParams error listing every problem. Legacy mimetype keys on dialog, analysis, and attachments are renamed to mediatype.
Response:
warnings is never blocking. When the vCon has no attachment with purpose (or legacy type) "lawful_basis", it contains no lawful_basis attachment: this vCon carries no record of the lawful basis for processing. When one exists, warnings lists problems with its body (unknown basis value, missing or past expiration, empty purpose_grants or proof_mechanisms). The server never adds a lawful basis on its own.
Example:
get_vcon
Retrieve a vCon by UUID.
Input Parameters:
full: the complete vCon.summary: top-level fields (vcon,uuid,created_at,updated_at,subject,extensions,critical),parties, and only the analysis entries of typesummary. Recommended for browsing, since transcripts can be very large.metadata: the same top-level fields andparties, with no dialog, analysis, or attachments.
Response:
Reads run the beforeRead and afterRead plugin hooks. A missing vCon raises an InternalError whose message contains not found.
Example:
update_vcon
Update top-level vCon fields. Dialog, analysis, attachments, and parties have their own tools.
Input Parameters:
Only subject, extensions, and critical are applied. Any other key in updates is dropped without an error. Updating a UUID that does not exist fails when the vCon is read back, with an InternalError whose message contains not found.
Response:
Runs the beforeUpdate and afterUpdate plugin hooks.
Example:
delete_vcon
Delete a vCon and all related data (parties, dialog, analysis, attachments). This cannot be undone.
Input Parameters:
There is no confirmation flag; the call deletes immediately. Runs the beforeDelete and afterDelete plugin hooks.
Response:
A missing vCon raises an InvalidRequest error (vCon with UUID <uuid> not found).
Example:
create_vcon_from_template
Create a vCon from a predefined template.
Input Parameters:
The server never invents a lawful basis. When lawful_basis is supplied it is stored as an attachment with purpose and type "lawful_basis", mediatype application/json, encoding json, and the object serialized as the string body. When omitted, no attachment is added and warnings reports the missing lawful basis. create_vcon already accepts inline attachments, so it needs no extra parameter.
What a template adds: the template sets the vCon version to 0.4.0, generates the uuid and created_at, and stores your parties and subject. phone_call, chat_conversation, and video_meeting add an empty dialog array. email_thread adds an empty attachments array. custom adds nothing. The templates do not add timestamps, durations, or threading data. An unrecognized template_name behaves like custom.
Response:
Example:
Component Management
Index-addressed tools use zero-based positions in the vCon's parties, dialog, analysis, and attachments arrays. These tools write through the database layer directly and do not run plugin hooks.
Child object fields
These shapes apply to create_vcon and to every add and update tool below. The Zod parsers accept extra keys and keep them as extension keys.
Party (all optional, but at least one of tel, sip, mailto, name, uuid must be present): name, tel, mailto, sip, stir, did, uuid, validation, jcard (object), gmlpos, civicaddress (object), timezone.
Dialog: type (required: recording, text, transfer, incomplete), start (ISO 8601), duration (seconds), parties (index, list of indexes, or nested lists), originator, mediatype, filename, body, encoding, url, content_hash, disposition, session_id, application, message_id, party_history ([{ party, time, event }] with event one of join, drop, hold, unhold, mute, unmute), and the transfer fields transferee, transferor, transfer_target, original, consultation, target_dialog.
incompletedialogs require adispositionstring.session_idis a{ local, remote }object, or an array of them (vCon 0.4.0). A plain string, the pre-0.4.0 form, is still accepted and stored as given.create_vconalso requirestransferee,transferor, andtransfer_targetontransferdialogs.
Analysis: type (required), vendor (required), product, schema (a schema identifier, not a version), dialog (index or list of indexes), body, encoding, mediatype, filename, url, content_hash.
Attachment: purpose (the spec field for classification), type (legacy name for the same thing), party, dialog, start, mediatype, filename, body, encoding, url, content_hash.
An attachment needs either
bodywithencoding, orurlwithcontent_hash.
Body and encoding. encoding is base64url, json, or none, and has no default. body is a string, except that when encoding is json it may be any JSON value (object, array, number, boolean, or null). A non-string body with any other encoding, or with none, is rejected. content_hash is a string or a list of strings.
add_dialog
Add a dialog entry (conversation segment) to a vCon.
Input Parameters:
The input schema advertises type, start, duration, parties, body, encoding, mediatype, session_id, application, and message_id. The handler parses the full dialog shape, so the other dialog fields are also accepted.
Response:
Example:
add_analysis
Add AI/ML analysis results to a vCon.
Input Parameters:
A missing vendor is an InvalidParams error. The legacy key schema_version is rejected; use schema.
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. Use purpose to classify the attachment; type is the legacy name for the same field.
Input Parameters:
Response:
Example:
add_party
Append a party to an existing vCon.
index is the zero-based position of the new party. Later dialog.parties, attachment.party, and similar references use it.
Sub-resource Updates & Removal
Index-addressed edits to a vCon's child arrays. Each tool takes vcon_uuid plus an integer index (zero or greater, the element's position in its array). Update tools use PUT semantics: omitted fields are cleared. Removal follows IETF core-02 §4.1.8: party and dialog removals preserve the slot as a placeholder so positional references (dialog.parties, attachment.party, analysis.dialog, etc.) do not shift; analysis and attachment removals hard-delete the element and renumber the rest.
update_party
vcon_uuid, index, party
Replace the party at index
remove_party
vcon_uuid, index, anonymize?
Remove party; leaves an empty placeholder, or {name:"anonymous"} when anonymize=true
update_dialog
vcon_uuid, index, dialog
Replace the dialog at index
remove_dialog
vcon_uuid, index
Remove dialog; leaves a content-stripped placeholder that keeps type
update_analysis
vcon_uuid, index, analysis
Replace the analysis at index (vendor required)
remove_analysis
vcon_uuid, index
Hard-delete; remaining analyses renumbered contiguously
update_attachment
vcon_uuid, index, attachment
Replace the attachment at index
remove_attachment
vcon_uuid, index
Hard-delete and renumber; removing a tags attachment clears the vCon's tags
Update tools return { success: true, message, <party|dialog|analysis|attachment> } with the replacement object echoed back. Remove tools return { success: true, message }. An index that is missing, negative, or not an integer, or that is out of range for the array, is an InvalidParams error.
Search & Query
The four legacy search tools return { success, count, response_format, results }. None of them takes an offset, and none returns has_more. To page through results, use vcon_search with its cursor. Dates are ISO 8601; a date that cannot be parsed is silently ignored. The limit maximum of 1000 is declared in each tool's input schema.
search_vcons
Basic search with filtering by metadata (subject, parties, dates, tags).
Input Parameters:
Response:
metadata rows are { uuid, subject, created_at, conversation_start, parties_count, dialog_count, analysis_count, attachments_count }. ids_only returns UUID strings. Runs the beforeSearch and afterSearch plugin hooks.
Example:
Date fields
Every tool that takes start_date/end_date also takes date_field:
created (default)
vcons.created_at
When the vCon object was created. The vCon core draft does not allow it to be backdated
conversation
vcons.conversation_start
When the conversation happened. See the rule below
Use conversation for imported historical conversations, where created_at is the import time.
conversation_start is, ignoring NULL starts and starts before 1990-01-01T00:00:00Z (placeholders):
the earliest
dialog[].start, if any dialog has oneotherwise the earliest
attachments[].start, capped atcreated_atotherwise
created_at
Attachment starts are capped because some vCon libraries stamp every attachment's start with the write time, so an enrichment attachment added later would otherwise move the conversation past created_at. Dialog starts are not capped. conversation_start is maintained by database triggers (migration 20261019171238_add_conversation_start.sql); without that migration, date_field: "conversation" fails with a database error while the default keeps working. The MongoDB backend rejects conversation. Search results that return created_at also return conversation_start.
search_vcons_content
Full-text keyword search across subject, dialog, analysis, and party content.
Input Parameters:
Response:
Row shape by response_format:
snippets:{ vcon_id, content_type, content_index, relevance_score, snippet }. Snippets are cut to 500 characters.metadata:{ vcon_id, content_type, relevance_score }ids_only:vcon_idstrings, with no de-duplication across matches in the same vConfull: complete vCons for the unique matches, first 20 only
content_type is subject, party, dialog, or analysis. Expect large transcripts: use get_vcon with response_format: "summary" on the returned ids instead of full.
Example:
search_vcons_semantic
Semantic search using embeddings.
Input Parameters:
Either query or embedding is required. When only query is given, the vector comes from the configured embedding provider (Supabase gte-small by default, or OpenAI when OPENAI_API_KEY is set or EMBEDDING_PROVIDER=openai). Query vectors must come from the same model as the stored corpus vectors.
Response:
metadata: one row per hit:{ vcon_id, content_type, content_reference, content_text, similarity_score }ids_only: unique vCon UUIDs in rank orderfull: complete vCons for the unique matches in rank order, first 20 only
This tool has no include_count and returns no total_count.
Example:
search_vcons_hybrid
Combined keyword and semantic search.
Input Parameters:
If the query embedding cannot be generated, the search falls back to keyword-only ranking. The tool has no date filters and no include_count.
Response:
metadata:{ vcon_id, combined_score, semantic_score, keyword_score }. Akeyword_scoreof 0 only means the vCon was found semantically.ids_only: unique vCon UUIDs in rank orderfull: complete vCons for the unique matches in rank order, first 20 only
Example:
Tag Management
The tag toolset was consolidated to 5 tools. Tags are stored as a special vCon attachment (type: "tags", encoding: "json", body is a JSON array of "key:value" strings). The attachment is also readable as purpose: "tags"; the database mirrors the two fields on write.
manage_tag
Add, update, or remove a single tag on a vCon. Replaces the older add_tag, update_tags, and remove_tag tools.
Input Parameters:
Response (on success):
Examples:
get_tags
Retrieve tags from a vCon. Provide a specific key to get one tag, or omit key to get all tags. Replaces the older get_tag and get_all_tags tools.
Input Parameters:
Response for a single tag (key provided):
Response for all tags (key omitted):
Example Response (all tags):
remove_all_tags
Remove all tags from a vCon.
Input Parameters:
search_by_tags
Find vCons by tag criteria. All specified tags must match (AND logic).
Input Parameters:
Response:
Behavior:
Always returns
vcon_uuidsfor matching vCons (up tolimit).When
return_full_vconsis omitted, full vCons are returned automatically if there are 20 or fewer matches, and omitted for larger result sets to keep the response under MCP size limits.return_full_vcons: truereturns full vCons for any result size;falsereturns UUIDs only.At most
max_full_vconsfull vCons are returned, taken from the front ofvcon_uuids. When that is fewer than the match count,messagesays so.tagsmust be a non-empty object. Null, undefined, an array, or{}is rejected, and so is any tag value that is itself an object. Other values are converted to strings.
Example:
get_unique_tags
Discover all unique tag keys and values across the database. Useful for building selection UIs and tag analytics.
Input Parameters:
key_filter matches the start of the key on the materialized-view path, which is the normal path. The fallback batch scan, used only when the view or exec_sql RPC is unavailable, matches anywhere in the key.
Response:
Example:
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. Only queries starting with SELECT are accepted; anything else fails the call. The response is { success: true, query_analysis }.
Database Analytics
get_database_analytics
Get 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 attachment analytics including file type distribution and size analysis.
Input Parameters:
Response:
get_tag_analytics
Get tag analytics including usage patterns and value distribution.
Input Parameters:
Response:
get_content_analytics
Get 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 the vCon schema definition.
Input Parameters:
There is no version parameter and no openapi format. Any other format value is an InvalidParams error.
Response: the raw schema, not wrapped in a success envelope.
json_schema: a JSON Schema document (definition nameVCon) generated from the server's validation schemas. It describes the vCon 0.4.0 shape, includingcritical,amended,redacted, andgroup.typescript: the text ofsrc/types/vcon.ts, returned as plain text rather than JSON.
get_examples
Get example vCons.
Input Parameters:
Response: the example vCon itself, not wrapped in a success envelope. With json it is JSON text; with yaml it is plain YAML text. An unknown example_type or format is an InvalidParams error. Each call generates fresh UUIDs and timestamps.
Example Types:
minimal - Bare minimum required fields
phone_call - Phone call with a recording, transcript, summary, sentiment, and tags
chat - Text chat example
email - Email thread with a contract attachment
video - Video meeting with a recording and transcript
full_featured - Recording and text dialog, analysis, tags, a follow-up attachment, and a synthetic
lawful_basisattachment (example data only, never a real consent record)
Error Responses
Legacy and CRUD tools
These tools throw MCP protocol errors. The client sees a JSON-RPC error with a code and a message, not a tool result.
InvalidParams
Missing or malformed input: a bad UUID, a missing required field, a failed Zod parse (the message lists each path and problem), a failed vCon, dialog, analysis, attachment, or party validation, an out-of-range index
InvalidRequest
delete_vcon on a UUID that does not exist
MethodNotFound
An unknown tool name, or a tool that is disabled by MCP_TOOLS_PROFILE, MCP_ENABLED_CATEGORIES, MCP_DISABLED_CATEGORIES, MCP_DISABLED_TOOLS, or a read-only API key
InternalError
Any other failure, with the message Tool execution failed: <cause>. This includes database errors and a missing vCon in get_vcon and update_vcon (the cause contains not found)
Contract tools
The vcon_* contract tools and describe_response_shape return failures as { ok: false, error: { code, message } }. See Redesigned Contract Tools for the code list. Their two exceptions are listed there.
Usage Notes
Best Practices
Check the lawful basis - Read
warningsoncreate_vconandcreate_vcon_from_templateresultsUse 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 - Legacy tools throw MCP errors; contract tools return
ok: false
Pagination
vcon_searchpages with an opaquecursor. Passpage.next_cursorback unchanged until it isnull. It has nooffset.search_vcons,search_vcons_content,search_vcons_semantic,search_vcons_hybrid, andsearch_by_tagstake alimitonly. They have nooffsetand nohas_more.The REST list endpoint is the one place that offers
limit,offset, andhas_more. See the REST API.
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