gong-nl-db-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_NAME | Yes | The name of the PostgreSQL database | |
| INSTANCE_CONNECTION_NAME | Yes | The Cloud SQL instance connection name (project:region:instance) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_schemasA | List non-system schemas in the gong-nl-db database. Call this first when exploring. |
| list_tablesA | List tables and views in a schema. Use list_schemas first to find valid schema names. Defaults to 'public'. |
| describe_tableA | Describe a table's columns, types, and nullability. Use this before writing a query against an unfamiliar table. |
| sample_rowsA | Return up to |
| run_queryA | Run a read-only SQL query against gong-nl-db. Only SELECT, WITH (terminating in SELECT), and set-operation queries are allowed — any INSERT/UPDATE/DELETE/DDL is rejected before the query reaches the database. Results are capped at |
| search_transcriptsA | Full-text search across transcript_segments. Prefer this over ILIKE when searching for phrases in calls — it uses the GIN FTS index and is ~100x faster. Returns matching segments joined to call metadata. |
| user_activityA | Per-user daily call activity from the mv_user_daily materialized view — answers questions like 'how many calls did X have this week', 'avg talk ratio by person last month'. Filter by |
| semantic_searchA | Semantic / meaning-based search across call transcript chunks using Vertex AI embeddings (text-embedding-005) and cosine similarity. Use this when the user asks to find calls 'about' a topic or concept — e.g. 'calls where pricing came up', 'conversations about churn risk', 'mentions of competitor X'. Unlike search_transcripts (FTS keyword matching), this finds conceptually related content even without exact word matches. |
| explain_queryA | Return the Postgres query plan for a SELECT statement. Useful for debugging slow queries. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/andyhorvitz/gong-nl-db-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server