Skip to main content
Glama

get_transcripts

Retrieve speaker-attributed, timestamped transcripts for specified Gong.io sales calls to analyze conversation data and review call details.

Instructions

Retrieve full transcripts for specified calls. Returns speaker-attributed, timestamped transcript text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
callIdsYesArray of call IDs to retrieve transcripts for

Implementation Reference

  • Core handler function implementing the get_transcripts tool logic by calling the Gong API endpoint /v2/calls/transcript.
    async getTranscripts(callIds: string[]): Promise<TranscriptsResponse> { const body = { filter: { callIds, }, }; return this.request<TranscriptsResponse>('POST', '/calls/transcript', body); }
  • Input schema defining the parameters for the get_transcripts tool.
    inputSchema: { type: "object", properties: { callIds: { type: "array", items: { type: "string" }, description: "Array of call IDs to retrieve transcripts for", }, }, required: ["callIds"], },
  • src/index.ts:85-100 (registration)
    Tool registration in the listTools handler, providing name, description, and schema.
    { name: "get_transcripts", description: "Retrieve full transcripts for specified calls. Returns speaker-attributed, timestamped transcript text.", inputSchema: { type: "object", properties: { callIds: { type: "array", items: { type: "string" }, description: "Array of call IDs to retrieve transcripts for", }, }, required: ["callIds"], }, },
  • MCP server tool execution handler (dispatcher) for get_transcripts, which calls the core GongClient implementation.
    case "get_transcripts": { const callIds = args?.callIds as string[]; if (!callIds?.length) { throw new Error("callIds is required and must be a non-empty array"); } const result = await gong.getTranscripts(callIds); return { content: [ { type: "text", text: JSON.stringify(result, null, 2), }, ], }; }
  • TypeScript interface for the output response structure of getTranscripts.
    export interface TranscriptsResponse { requestId: string; records: { cursor?: string; totalRecords: number; currentPageSize: number; currentPageNumber: number; }; callTranscripts: CallTranscript[]; }

Latest Blog Posts

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/JustinBeckwith/gongio-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server