@shawnfroos/gong-lite 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +73 -0
- package/dist/csv-utils.d.ts +37 -0
- package/dist/csv-utils.d.ts.map +1 -0
- package/dist/csv-utils.js +113 -0
- package/dist/csv-utils.js.map +1 -0
- package/dist/gong-client.d.ts +309 -0
- package/dist/gong-client.d.ts.map +1 -0
- package/dist/gong-client.js +415 -0
- package/dist/gong-client.js.map +1 -0
- package/dist/handlers.d.ts +20 -0
- package/dist/handlers.d.ts.map +1 -0
- package/dist/handlers.js +231 -0
- package/dist/handlers.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +251 -0
- package/dist/index.js.map +1 -0
- package/dist/tools.d.ts +292 -0
- package/dist/tools.d.ts.map +1 -0
- package/dist/tools.js +233 -0
- package/dist/tools.js.map +1 -0
- package/dist/transcript-formatter.d.ts +64 -0
- package/dist/transcript-formatter.d.ts.map +1 -0
- package/dist/transcript-formatter.js +295 -0
- package/dist/transcript-formatter.js.map +1 -0
- package/package.json +61 -0
package/dist/tools.d.ts
ADDED
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ListCallsInputSchema: z.ZodObject<{
|
|
3
|
+
fromDate: z.ZodOptional<z.ZodString>;
|
|
4
|
+
toDate: z.ZodOptional<z.ZodString>;
|
|
5
|
+
participantEmail: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
fromDate?: string | undefined;
|
|
9
|
+
toDate?: string | undefined;
|
|
10
|
+
participantEmail?: string | undefined;
|
|
11
|
+
limit?: number | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
fromDate?: string | undefined;
|
|
14
|
+
toDate?: string | undefined;
|
|
15
|
+
participantEmail?: string | undefined;
|
|
16
|
+
limit?: number | undefined;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const GetCallInputSchema: z.ZodObject<{
|
|
19
|
+
callId: z.ZodString;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
callId: string;
|
|
22
|
+
}, {
|
|
23
|
+
callId: string;
|
|
24
|
+
}>;
|
|
25
|
+
export declare const GetTranscriptInputSchema: z.ZodObject<{
|
|
26
|
+
callId: z.ZodString;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
callId: string;
|
|
29
|
+
}, {
|
|
30
|
+
callId: string;
|
|
31
|
+
}>;
|
|
32
|
+
export declare const GetCallSummaryInputSchema: z.ZodObject<{
|
|
33
|
+
callId: z.ZodString;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
callId: string;
|
|
36
|
+
}, {
|
|
37
|
+
callId: string;
|
|
38
|
+
}>;
|
|
39
|
+
export declare const GetCallAnalyticsInputSchema: z.ZodObject<{
|
|
40
|
+
callId: z.ZodString;
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
callId: string;
|
|
43
|
+
}, {
|
|
44
|
+
callId: string;
|
|
45
|
+
}>;
|
|
46
|
+
export declare const ListUsersInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
47
|
+
export declare const SearchCallsInputSchema: z.ZodObject<{
|
|
48
|
+
query: z.ZodString;
|
|
49
|
+
fromDate: z.ZodOptional<z.ZodString>;
|
|
50
|
+
toDate: z.ZodOptional<z.ZodString>;
|
|
51
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
query: string;
|
|
54
|
+
fromDate?: string | undefined;
|
|
55
|
+
toDate?: string | undefined;
|
|
56
|
+
limit?: number | undefined;
|
|
57
|
+
}, {
|
|
58
|
+
query: string;
|
|
59
|
+
fromDate?: string | undefined;
|
|
60
|
+
toDate?: string | undefined;
|
|
61
|
+
limit?: number | undefined;
|
|
62
|
+
}>;
|
|
63
|
+
export declare const SearchSummariesInputSchema: z.ZodObject<{
|
|
64
|
+
query: z.ZodString;
|
|
65
|
+
fromDate: z.ZodOptional<z.ZodString>;
|
|
66
|
+
toDate: z.ZodOptional<z.ZodString>;
|
|
67
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
68
|
+
}, "strip", z.ZodTypeAny, {
|
|
69
|
+
query: string;
|
|
70
|
+
fromDate?: string | undefined;
|
|
71
|
+
toDate?: string | undefined;
|
|
72
|
+
limit?: number | undefined;
|
|
73
|
+
}, {
|
|
74
|
+
query: string;
|
|
75
|
+
fromDate?: string | undefined;
|
|
76
|
+
toDate?: string | undefined;
|
|
77
|
+
limit?: number | undefined;
|
|
78
|
+
}>;
|
|
79
|
+
export declare const ExportCallMarkdownInputSchema: z.ZodObject<{
|
|
80
|
+
callId: z.ZodString;
|
|
81
|
+
format: z.ZodOptional<z.ZodEnum<["summary", "full_transcript"]>>;
|
|
82
|
+
}, "strip", z.ZodTypeAny, {
|
|
83
|
+
callId: string;
|
|
84
|
+
format?: "summary" | "full_transcript" | undefined;
|
|
85
|
+
}, {
|
|
86
|
+
callId: string;
|
|
87
|
+
format?: "summary" | "full_transcript" | undefined;
|
|
88
|
+
}>;
|
|
89
|
+
export declare const ExportSummariesCsvInputSchema: z.ZodObject<{
|
|
90
|
+
fromDate: z.ZodOptional<z.ZodString>;
|
|
91
|
+
toDate: z.ZodOptional<z.ZodString>;
|
|
92
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
93
|
+
participantEmail: z.ZodOptional<z.ZodString>;
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
|
+
fromDate?: string | undefined;
|
|
96
|
+
toDate?: string | undefined;
|
|
97
|
+
participantEmail?: string | undefined;
|
|
98
|
+
limit?: number | undefined;
|
|
99
|
+
}, {
|
|
100
|
+
fromDate?: string | undefined;
|
|
101
|
+
toDate?: string | undefined;
|
|
102
|
+
participantEmail?: string | undefined;
|
|
103
|
+
limit?: number | undefined;
|
|
104
|
+
}>;
|
|
105
|
+
export type ListCallsInput = z.infer<typeof ListCallsInputSchema>;
|
|
106
|
+
export type GetCallInput = z.infer<typeof GetCallInputSchema>;
|
|
107
|
+
export type GetTranscriptInput = z.infer<typeof GetTranscriptInputSchema>;
|
|
108
|
+
export type ListUsersInput = z.infer<typeof ListUsersInputSchema>;
|
|
109
|
+
export type SearchCallsInput = z.infer<typeof SearchCallsInputSchema>;
|
|
110
|
+
export type GetCallSummaryInput = z.infer<typeof GetCallSummaryInputSchema>;
|
|
111
|
+
export type GetCallAnalyticsInput = z.infer<typeof GetCallAnalyticsInputSchema>;
|
|
112
|
+
export type ExportCallMarkdownInput = z.infer<typeof ExportCallMarkdownInputSchema>;
|
|
113
|
+
export type ExportSummariesCsvInput = z.infer<typeof ExportSummariesCsvInputSchema>;
|
|
114
|
+
export type SearchSummariesInput = z.infer<typeof SearchSummariesInputSchema>;
|
|
115
|
+
export declare const tools: readonly [{
|
|
116
|
+
readonly name: "list_calls";
|
|
117
|
+
readonly description: "List Gong calls with optional date range and participant filters. For topic discovery, consider using search_summaries first to efficiently find relevant calls.";
|
|
118
|
+
readonly inputSchema: {
|
|
119
|
+
readonly type: "object";
|
|
120
|
+
readonly properties: {
|
|
121
|
+
readonly fromDate: {
|
|
122
|
+
readonly type: "string";
|
|
123
|
+
readonly description: "ISO date string for start of range";
|
|
124
|
+
};
|
|
125
|
+
readonly toDate: {
|
|
126
|
+
readonly type: "string";
|
|
127
|
+
readonly description: "ISO date string for end of range";
|
|
128
|
+
};
|
|
129
|
+
readonly participantEmail: {
|
|
130
|
+
readonly type: "string";
|
|
131
|
+
readonly description: "Filter calls by participant email address";
|
|
132
|
+
};
|
|
133
|
+
readonly limit: {
|
|
134
|
+
readonly type: "number";
|
|
135
|
+
readonly description: "Max results to return";
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
}, {
|
|
140
|
+
readonly name: "get_call";
|
|
141
|
+
readonly description: "Get detailed information about a specific call";
|
|
142
|
+
readonly inputSchema: {
|
|
143
|
+
readonly type: "object";
|
|
144
|
+
readonly properties: {
|
|
145
|
+
readonly callId: {
|
|
146
|
+
readonly type: "string";
|
|
147
|
+
readonly description: "The Gong call ID";
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
readonly required: readonly ["callId"];
|
|
151
|
+
};
|
|
152
|
+
}, {
|
|
153
|
+
readonly name: "get_transcript";
|
|
154
|
+
readonly description: "Get the full transcript for a specific call. Use after identifying relevant calls via search_summaries or list_calls when you need exact quotes or detailed conversation flow.";
|
|
155
|
+
readonly inputSchema: {
|
|
156
|
+
readonly type: "object";
|
|
157
|
+
readonly properties: {
|
|
158
|
+
readonly callId: {
|
|
159
|
+
readonly type: "string";
|
|
160
|
+
readonly description: "The Gong call ID";
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
readonly required: readonly ["callId"];
|
|
164
|
+
};
|
|
165
|
+
}, {
|
|
166
|
+
readonly name: "list_users";
|
|
167
|
+
readonly description: "List all Gong users";
|
|
168
|
+
readonly inputSchema: {
|
|
169
|
+
readonly type: "object";
|
|
170
|
+
readonly properties: {};
|
|
171
|
+
};
|
|
172
|
+
}, {
|
|
173
|
+
readonly name: "search_calls";
|
|
174
|
+
readonly description: "Search call transcripts for specific keywords or phrases. Returns matching transcript excerpts. For broad topic searches, use search_summaries which is faster. Use this when you need exact quote matches.";
|
|
175
|
+
readonly inputSchema: {
|
|
176
|
+
readonly type: "object";
|
|
177
|
+
readonly properties: {
|
|
178
|
+
readonly query: {
|
|
179
|
+
readonly type: "string";
|
|
180
|
+
readonly description: "Search term to find in call transcripts";
|
|
181
|
+
};
|
|
182
|
+
readonly fromDate: {
|
|
183
|
+
readonly type: "string";
|
|
184
|
+
readonly description: "ISO date string for start of range";
|
|
185
|
+
};
|
|
186
|
+
readonly toDate: {
|
|
187
|
+
readonly type: "string";
|
|
188
|
+
readonly description: "ISO date string for end of range";
|
|
189
|
+
};
|
|
190
|
+
readonly limit: {
|
|
191
|
+
readonly type: "number";
|
|
192
|
+
readonly description: "Max results to return (default 100)";
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
readonly required: readonly ["query"];
|
|
196
|
+
};
|
|
197
|
+
}, {
|
|
198
|
+
readonly name: "get_call_summary";
|
|
199
|
+
readonly description: "Get AI-generated summary for a call including brief, key points, highlights, and outline";
|
|
200
|
+
readonly inputSchema: {
|
|
201
|
+
readonly type: "object";
|
|
202
|
+
readonly properties: {
|
|
203
|
+
readonly callId: {
|
|
204
|
+
readonly type: "string";
|
|
205
|
+
readonly description: "The Gong call ID";
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
readonly required: readonly ["callId"];
|
|
209
|
+
};
|
|
210
|
+
}, {
|
|
211
|
+
readonly name: "get_call_analytics";
|
|
212
|
+
readonly description: "Get call analytics including talk ratios, speaker stats, interaction metrics, and topics discussed";
|
|
213
|
+
readonly inputSchema: {
|
|
214
|
+
readonly type: "object";
|
|
215
|
+
readonly properties: {
|
|
216
|
+
readonly callId: {
|
|
217
|
+
readonly type: "string";
|
|
218
|
+
readonly description: "The Gong call ID";
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
readonly required: readonly ["callId"];
|
|
222
|
+
};
|
|
223
|
+
}, {
|
|
224
|
+
readonly name: "export_call_markdown";
|
|
225
|
+
readonly description: "Export a call as formatted markdown with YAML frontmatter, AI summary, and optionally the full transcript. Use format=\"summary\" for metadata and AI insights only, or format=\"full_transcript\" (default) to include the complete speaker-attributed transcript with Gong timestamp links.";
|
|
226
|
+
readonly inputSchema: {
|
|
227
|
+
readonly type: "object";
|
|
228
|
+
readonly properties: {
|
|
229
|
+
readonly callId: {
|
|
230
|
+
readonly type: "string";
|
|
231
|
+
readonly description: "The Gong call ID";
|
|
232
|
+
};
|
|
233
|
+
readonly format: {
|
|
234
|
+
readonly type: "string";
|
|
235
|
+
readonly enum: readonly ["summary", "full_transcript"];
|
|
236
|
+
readonly description: "Export format: summary (metadata + AI summary only) or full_transcript (includes complete transcript). Default: full_transcript";
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
readonly required: readonly ["callId"];
|
|
240
|
+
};
|
|
241
|
+
}, {
|
|
242
|
+
readonly name: "export_summaries_csv";
|
|
243
|
+
readonly description: "Export multiple call summaries as CSV for spreadsheet analysis. Returns CSV with columns: call_id, title, date, duration_minutes, internal_participants, external_participants, ai_summary, call_outcome, topics, key_points, next_steps, gong_url";
|
|
244
|
+
readonly inputSchema: {
|
|
245
|
+
readonly type: "object";
|
|
246
|
+
readonly properties: {
|
|
247
|
+
readonly fromDate: {
|
|
248
|
+
readonly type: "string";
|
|
249
|
+
readonly description: "ISO date string for start of range";
|
|
250
|
+
};
|
|
251
|
+
readonly toDate: {
|
|
252
|
+
readonly type: "string";
|
|
253
|
+
readonly description: "ISO date string for end of range";
|
|
254
|
+
};
|
|
255
|
+
readonly limit: {
|
|
256
|
+
readonly type: "number";
|
|
257
|
+
readonly description: "Max number of calls to export (default 100)";
|
|
258
|
+
};
|
|
259
|
+
readonly participantEmail: {
|
|
260
|
+
readonly type: "string";
|
|
261
|
+
readonly description: "Filter calls by participant email address";
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
}, {
|
|
266
|
+
readonly name: "search_summaries";
|
|
267
|
+
readonly description: "Search call summaries, topics, and key points for a topic. More efficient than searching full transcripts. Use this first to identify relevant calls, then get_transcript for specific quotes.";
|
|
268
|
+
readonly inputSchema: {
|
|
269
|
+
readonly type: "object";
|
|
270
|
+
readonly properties: {
|
|
271
|
+
readonly query: {
|
|
272
|
+
readonly type: "string";
|
|
273
|
+
readonly description: "Search term to find in call summaries, topics, and key points";
|
|
274
|
+
};
|
|
275
|
+
readonly fromDate: {
|
|
276
|
+
readonly type: "string";
|
|
277
|
+
readonly description: "ISO date string for start of range";
|
|
278
|
+
};
|
|
279
|
+
readonly toDate: {
|
|
280
|
+
readonly type: "string";
|
|
281
|
+
readonly description: "ISO date string for end of range";
|
|
282
|
+
};
|
|
283
|
+
readonly limit: {
|
|
284
|
+
readonly type: "number";
|
|
285
|
+
readonly description: "Max results to return (default 50)";
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
readonly required: readonly ["query"];
|
|
289
|
+
};
|
|
290
|
+
}];
|
|
291
|
+
export type ToolName = (typeof tools)[number]['name'];
|
|
292
|
+
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;EAK/B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;EAE7B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;EAEnC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;EAEpC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;EAEtC,CAAC;AAGH,eAAO,MAAM,oBAAoB,gDAAe,CAAC;AAEjD,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAKjC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;EAKrC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;EAGxC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;EAKxC,CAAC;AAGH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAG9E,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0LR,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
package/dist/tools.js
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
// Input schemas for tool validation
|
|
3
|
+
export const ListCallsInputSchema = z.object({
|
|
4
|
+
fromDate: z.string().optional().describe('ISO date string for start of range'),
|
|
5
|
+
toDate: z.string().optional().describe('ISO date string for end of range'),
|
|
6
|
+
participantEmail: z.string().optional().describe('Filter calls by participant email address'),
|
|
7
|
+
limit: z.number().optional().describe('Max results to return'),
|
|
8
|
+
});
|
|
9
|
+
export const GetCallInputSchema = z.object({
|
|
10
|
+
callId: z.string().describe('The Gong call ID'),
|
|
11
|
+
});
|
|
12
|
+
export const GetTranscriptInputSchema = z.object({
|
|
13
|
+
callId: z.string().describe('The Gong call ID'),
|
|
14
|
+
});
|
|
15
|
+
export const GetCallSummaryInputSchema = z.object({
|
|
16
|
+
callId: z.string().describe('The Gong call ID'),
|
|
17
|
+
});
|
|
18
|
+
export const GetCallAnalyticsInputSchema = z.object({
|
|
19
|
+
callId: z.string().describe('The Gong call ID'),
|
|
20
|
+
});
|
|
21
|
+
// No input for list_users
|
|
22
|
+
export const ListUsersInputSchema = z.object({});
|
|
23
|
+
export const SearchCallsInputSchema = z.object({
|
|
24
|
+
query: z.string().describe('Search term to find in call transcripts'),
|
|
25
|
+
fromDate: z.string().optional().describe('ISO date string for start of range'),
|
|
26
|
+
toDate: z.string().optional().describe('ISO date string for end of range'),
|
|
27
|
+
limit: z.number().optional().describe('Max results to return (default 100)'),
|
|
28
|
+
});
|
|
29
|
+
export const SearchSummariesInputSchema = z.object({
|
|
30
|
+
query: z.string().describe('Search term to find in call summaries, topics, and key points'),
|
|
31
|
+
fromDate: z.string().optional().describe('ISO date string for start of range'),
|
|
32
|
+
toDate: z.string().optional().describe('ISO date string for end of range'),
|
|
33
|
+
limit: z.number().optional().describe('Max results to return (default 50)'),
|
|
34
|
+
});
|
|
35
|
+
export const ExportCallMarkdownInputSchema = z.object({
|
|
36
|
+
callId: z.string().describe('The Gong call ID'),
|
|
37
|
+
format: z.enum(['summary', 'full_transcript']).optional().describe('Export format: summary (metadata + AI summary only) or full_transcript (includes complete transcript). Default: full_transcript'),
|
|
38
|
+
});
|
|
39
|
+
export const ExportSummariesCsvInputSchema = z.object({
|
|
40
|
+
fromDate: z.string().optional().describe('ISO date string for start of range'),
|
|
41
|
+
toDate: z.string().optional().describe('ISO date string for end of range'),
|
|
42
|
+
limit: z.number().optional().describe('Max number of calls to export (default 100)'),
|
|
43
|
+
participantEmail: z.string().optional().describe('Filter calls by participant email address'),
|
|
44
|
+
});
|
|
45
|
+
// Tool definitions following MCP Tool schema format
|
|
46
|
+
export const tools = [
|
|
47
|
+
{
|
|
48
|
+
name: 'list_calls',
|
|
49
|
+
description: 'List Gong calls with optional date range and participant filters. For topic discovery, consider using search_summaries first to efficiently find relevant calls.',
|
|
50
|
+
inputSchema: {
|
|
51
|
+
type: 'object',
|
|
52
|
+
properties: {
|
|
53
|
+
fromDate: {
|
|
54
|
+
type: 'string',
|
|
55
|
+
description: 'ISO date string for start of range',
|
|
56
|
+
},
|
|
57
|
+
toDate: {
|
|
58
|
+
type: 'string',
|
|
59
|
+
description: 'ISO date string for end of range',
|
|
60
|
+
},
|
|
61
|
+
participantEmail: {
|
|
62
|
+
type: 'string',
|
|
63
|
+
description: 'Filter calls by participant email address',
|
|
64
|
+
},
|
|
65
|
+
limit: {
|
|
66
|
+
type: 'number',
|
|
67
|
+
description: 'Max results to return',
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: 'get_call',
|
|
74
|
+
description: 'Get detailed information about a specific call',
|
|
75
|
+
inputSchema: {
|
|
76
|
+
type: 'object',
|
|
77
|
+
properties: {
|
|
78
|
+
callId: {
|
|
79
|
+
type: 'string',
|
|
80
|
+
description: 'The Gong call ID',
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
required: ['callId'],
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: 'get_transcript',
|
|
88
|
+
description: 'Get the full transcript for a specific call. Use after identifying relevant calls via search_summaries or list_calls when you need exact quotes or detailed conversation flow.',
|
|
89
|
+
inputSchema: {
|
|
90
|
+
type: 'object',
|
|
91
|
+
properties: {
|
|
92
|
+
callId: {
|
|
93
|
+
type: 'string',
|
|
94
|
+
description: 'The Gong call ID',
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
required: ['callId'],
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
name: 'list_users',
|
|
102
|
+
description: 'List all Gong users',
|
|
103
|
+
inputSchema: {
|
|
104
|
+
type: 'object',
|
|
105
|
+
properties: {},
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
name: 'search_calls',
|
|
110
|
+
description: 'Search call transcripts for specific keywords or phrases. Returns matching transcript excerpts. For broad topic searches, use search_summaries which is faster. Use this when you need exact quote matches.',
|
|
111
|
+
inputSchema: {
|
|
112
|
+
type: 'object',
|
|
113
|
+
properties: {
|
|
114
|
+
query: {
|
|
115
|
+
type: 'string',
|
|
116
|
+
description: 'Search term to find in call transcripts',
|
|
117
|
+
},
|
|
118
|
+
fromDate: {
|
|
119
|
+
type: 'string',
|
|
120
|
+
description: 'ISO date string for start of range',
|
|
121
|
+
},
|
|
122
|
+
toDate: {
|
|
123
|
+
type: 'string',
|
|
124
|
+
description: 'ISO date string for end of range',
|
|
125
|
+
},
|
|
126
|
+
limit: {
|
|
127
|
+
type: 'number',
|
|
128
|
+
description: 'Max results to return (default 100)',
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
required: ['query'],
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
name: 'get_call_summary',
|
|
136
|
+
description: 'Get AI-generated summary for a call including brief, key points, highlights, and outline',
|
|
137
|
+
inputSchema: {
|
|
138
|
+
type: 'object',
|
|
139
|
+
properties: {
|
|
140
|
+
callId: {
|
|
141
|
+
type: 'string',
|
|
142
|
+
description: 'The Gong call ID',
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
required: ['callId'],
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
name: 'get_call_analytics',
|
|
150
|
+
description: 'Get call analytics including talk ratios, speaker stats, interaction metrics, and topics discussed',
|
|
151
|
+
inputSchema: {
|
|
152
|
+
type: 'object',
|
|
153
|
+
properties: {
|
|
154
|
+
callId: {
|
|
155
|
+
type: 'string',
|
|
156
|
+
description: 'The Gong call ID',
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
required: ['callId'],
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
name: 'export_call_markdown',
|
|
164
|
+
description: 'Export a call as formatted markdown with YAML frontmatter, AI summary, and optionally the full transcript. Use format="summary" for metadata and AI insights only, or format="full_transcript" (default) to include the complete speaker-attributed transcript with Gong timestamp links.',
|
|
165
|
+
inputSchema: {
|
|
166
|
+
type: 'object',
|
|
167
|
+
properties: {
|
|
168
|
+
callId: {
|
|
169
|
+
type: 'string',
|
|
170
|
+
description: 'The Gong call ID',
|
|
171
|
+
},
|
|
172
|
+
format: {
|
|
173
|
+
type: 'string',
|
|
174
|
+
enum: ['summary', 'full_transcript'],
|
|
175
|
+
description: 'Export format: summary (metadata + AI summary only) or full_transcript (includes complete transcript). Default: full_transcript',
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
required: ['callId'],
|
|
179
|
+
},
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
name: 'export_summaries_csv',
|
|
183
|
+
description: 'Export multiple call summaries as CSV for spreadsheet analysis. Returns CSV with columns: call_id, title, date, duration_minutes, internal_participants, external_participants, ai_summary, call_outcome, topics, key_points, next_steps, gong_url',
|
|
184
|
+
inputSchema: {
|
|
185
|
+
type: 'object',
|
|
186
|
+
properties: {
|
|
187
|
+
fromDate: {
|
|
188
|
+
type: 'string',
|
|
189
|
+
description: 'ISO date string for start of range',
|
|
190
|
+
},
|
|
191
|
+
toDate: {
|
|
192
|
+
type: 'string',
|
|
193
|
+
description: 'ISO date string for end of range',
|
|
194
|
+
},
|
|
195
|
+
limit: {
|
|
196
|
+
type: 'number',
|
|
197
|
+
description: 'Max number of calls to export (default 100)',
|
|
198
|
+
},
|
|
199
|
+
participantEmail: {
|
|
200
|
+
type: 'string',
|
|
201
|
+
description: 'Filter calls by participant email address',
|
|
202
|
+
},
|
|
203
|
+
},
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
name: 'search_summaries',
|
|
208
|
+
description: 'Search call summaries, topics, and key points for a topic. More efficient than searching full transcripts. Use this first to identify relevant calls, then get_transcript for specific quotes.',
|
|
209
|
+
inputSchema: {
|
|
210
|
+
type: 'object',
|
|
211
|
+
properties: {
|
|
212
|
+
query: {
|
|
213
|
+
type: 'string',
|
|
214
|
+
description: 'Search term to find in call summaries, topics, and key points',
|
|
215
|
+
},
|
|
216
|
+
fromDate: {
|
|
217
|
+
type: 'string',
|
|
218
|
+
description: 'ISO date string for start of range',
|
|
219
|
+
},
|
|
220
|
+
toDate: {
|
|
221
|
+
type: 'string',
|
|
222
|
+
description: 'ISO date string for end of range',
|
|
223
|
+
},
|
|
224
|
+
limit: {
|
|
225
|
+
type: 'number',
|
|
226
|
+
description: 'Max results to return (default 50)',
|
|
227
|
+
},
|
|
228
|
+
},
|
|
229
|
+
required: ['query'],
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
];
|
|
233
|
+
//# sourceMappingURL=tools.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,oCAAoC;AACpC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IAC9E,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kCAAkC,CAAC;IAC1E,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2CAA2C,CAAC;IAC7F,K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QAAQ,CAAC;SACrB;KACF;IACD;QACE,IAAI,EAAE,sBAAsB;QAC5B,WAAW,EAAE,oPAAoP;QACjQ,WAAW,EAAE;YACX,IAAI,EAAE,QAAiB;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE;oBACR,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,oCAAoC;iBAClD;gBACD,MAAM,EAAE;oBACN,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,kCAAkC;iBAChD;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,6CAA6C;iBAC3D;gBACD,gBAAgB,EAAE;oBAChB,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,2CAA2C;iBACzD;aACF;SACF;KACF;IACD;QACE,IAAI,EAAE,kBAAkB;QACxB,WAAW,EAAE,gMAAgM;QAC7M,WAAW,EAAE;YACX,IAAI,EAAE,QAAiB;YACvB,UAAU,EAAE;gBACV,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,+DAA+D;iBAC7E;gBACD,QAAQ,EAAE;oBACR,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,oCAAoC;iBAClD;gBACD,MAAM,EAAE;oBACN,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,kCAAkC;iBAChD;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,oCAAoC;iBAClD;aACF;YACD,QAAQ,EAAE,CAAC,OAAO,CAAC;SACpB;KACF;CACO,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Transcript formatting utilities for markdown export
|
|
3
|
+
* Adapted from the reference TranscriptFormatter pattern
|
|
4
|
+
*/
|
|
5
|
+
import type { GongCallDetails, GongCallSummary, GongTranscript } from './gong-client.js';
|
|
6
|
+
export interface CallData {
|
|
7
|
+
id: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
date?: string;
|
|
10
|
+
url?: string;
|
|
11
|
+
duration?: number;
|
|
12
|
+
summary?: string;
|
|
13
|
+
highlights?: string;
|
|
14
|
+
partyStatus?: string;
|
|
15
|
+
questionCount?: number;
|
|
16
|
+
transcriptLength?: number;
|
|
17
|
+
hasTranscript?: boolean;
|
|
18
|
+
callOutcome?: string;
|
|
19
|
+
utterances?: Array<{
|
|
20
|
+
speaker: string;
|
|
21
|
+
text: string;
|
|
22
|
+
affiliation?: 'internal' | 'external' | 'unknown';
|
|
23
|
+
timestamp?: number;
|
|
24
|
+
order?: number;
|
|
25
|
+
}>;
|
|
26
|
+
keyPoints?: string[];
|
|
27
|
+
actionItems?: string[];
|
|
28
|
+
nextSteps?: string[];
|
|
29
|
+
speakers?: string[];
|
|
30
|
+
speakerDetails?: Array<{
|
|
31
|
+
name: string;
|
|
32
|
+
affiliation: string;
|
|
33
|
+
}>;
|
|
34
|
+
topics?: string[];
|
|
35
|
+
internalCount?: number;
|
|
36
|
+
externalCount?: number;
|
|
37
|
+
participantCount?: number;
|
|
38
|
+
}
|
|
39
|
+
export declare class TranscriptFormatter {
|
|
40
|
+
/**
|
|
41
|
+
* Generate YAML frontmatter with rich metadata
|
|
42
|
+
*/
|
|
43
|
+
static generateFrontmatter(call: CallData): string;
|
|
44
|
+
/**
|
|
45
|
+
* Generate markdown body content
|
|
46
|
+
*/
|
|
47
|
+
static generateMarkdownBody(call: CallData, includeFullTranscript: boolean): string;
|
|
48
|
+
/**
|
|
49
|
+
* Generate complete markdown content (frontmatter + body)
|
|
50
|
+
*/
|
|
51
|
+
static generateCompleteMarkdown(call: CallData, includeFullTranscript: boolean): string;
|
|
52
|
+
/**
|
|
53
|
+
* Generate safe filename for exports
|
|
54
|
+
*/
|
|
55
|
+
static generateFileName(call: CallData, extension?: string): string;
|
|
56
|
+
private static extractParticipantsByAffiliation;
|
|
57
|
+
private static extractExternalEntities;
|
|
58
|
+
private static extractTopics;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Transform Gong API data into CallData format for the formatter
|
|
62
|
+
*/
|
|
63
|
+
export declare function buildCallData(callDetails: GongCallDetails, transcript: GongTranscript | null, summary: GongCallSummary | null): CallData;
|
|
64
|
+
//# sourceMappingURL=transcript-formatter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transcript-formatter.d.ts","sourceRoot":"","sources":["../src/transcript-formatter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EACV,eAAe,EACf,eAAe,EACf,cAAc,EAEf,MAAM,kBAAkB,CAAC;AAE1B,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,KAAK,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;QAClD,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC,CAAC;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB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