---
title: "Analyze Voice KB Gaps"
description: "Trigger knowledge-base gap analysis over a voice agent's recent calls."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.speakai.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Analyze Voice KB Gaps

Use the Speak AI MCP server tool `analyze_voice_kb_gaps` to trigger knowledge-base
gap analysis over a voice agent's recent calls.

## What does it do?

Trigger knowledge-base gap analysis over a voice agent's recent calls. Requires the
OWNER or ADMIN role. Runs in the background and returns immediately: new gaps appear
in `list_voice_kb_gaps` once analysis finishes, not synchronously with this
response.

## Parameters

`analyze_voice_kb_gaps` takes 1 parameter, all of them required.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `agentId` | string | Yes | ID of the voice agent (from `list_voice_agents`) |

## Behaviour

The Speak AI MCP server publishes these behaviour hints for `analyze_voice_kb_gaps`.

- Can change data in your workspace.
- Does not delete or overwrite existing data.
- Repeating an identical call can have an extra effect.
- Stays inside Speak AI. Does not reach other systems.

## Related

- [Voice agent insights](/mcp/tools/voice-agent-intelligence/) lists the rest of the
  Voice agent insights category.
- [Tool reference](/mcp/tools/) lists every Speak AI MCP server tool.
- [MCP server](/mcp/) covers setup, supported clients, and what agents can do once
  connected.

Source: https://docs.speakai.co/mcp/tools/voice-agent-intelligence/analyze_voice_kb_gaps/index.mdx
