# Glean MCP for AI Agents AI Agent Connect

> Glean is the enterprise search MCP that lets you query your company's entire knowledge base through any AI agent. It connects to your corporate SaaS apps like Jira, Confluence, and Slack, allowing you to pull specific records, get AI-generated answers from internal docs, and manage your knowledge index. Stop hunting through dozens of tabs; just ask your agent to find what you need.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_09DpmuoHpy04gE3mAUE0JxB62zuz4ktFq1xXnc9L/ai-agent-connect
- **Tags:** enterprise-search, unified-search, people-discovery, ai-qa, knowledge-base, data-indexing

## Description

Connect your corporate knowledge base to your AI agent to get answers from every corner of your workspace. Most people spend half their day hunting through dozens of open tabs, trying to remember which app holds the latest project status or the current travel policy. It is a tedious cycle of copy-pasting and asking coworkers for links that were already sent in a Slack thread three weeks ago. This Connector changes that by letting your agent do the digging for you. It pulls from your company's SaaS apps, like Jira, Confluence, and Slack, to find the specific information you need in seconds. You can ask for summaries of internal docs, find colleagues with specific skills, and even help manage how your company's knowledge index stays updated. It turns your scattered corporate data into a conversational resource that actually works. This is a key part of the Vinkius catalog because it handles the complex permissions and data structures for you, letting you stay in your flow while your agent does the heavy lifting. You no longer have to be the person who spends an hour looking for a file; you just get the answer.

## Tools

### autocomplete
Traces your search prefixes to predict the exact page or destination you want. It helps you navigate your workspace.

### chat
AI chat

### check_glean_status
Verify connectivity

### delete_document
Removes specific documents from your index to stop the AI from finding outdated info. It helps keep your results clean.

### get_collection
Get collection details

### get_document
Get document details

### index_document
Routes new text properties into your corporate search logic to keep your knowledge fresh. Use this to add new docs.

### list_collections
List collections

### search_by_datasource
g., Confluence, Slack, Google Drive).

Search in specific datasource

### search_people
Generates a JSON payload to find colleagues based on their specific roles and skills. It is great for internal networking.

### search
Search across all content

### bulk_index_documents
Bulk index documents

## Prompt Examples

**Prompt:** 
```
What's the policy for business travel?
```

**Response:** 
```
Based on the Employee Handbook in Confluence, our business travel policy allows for $50/day in meal reimbursements and requires all flights to be booked via the Corporate Portal at least 2 weeks in advance.
```

**Prompt:** 
```
Who is the lead for the mobile app?
```

**Response:** 
```
The mobile app lead is **Alice Smith** (Mobile Lead). 

She is listed in the directory with the following skills:
* React Native
* Swift
* Kotlin

Would you like me to find her Slack handle or recent activity?
```

**Prompt:** 
```
Find the Q2 hiring plan.
```

**Response:** 
```
I found 3 documents across Google Drive and Confluence related to the Q2 hiring plan. 

The most relevant is **'Final Hiring Plan Q2'** (ID: doc_abc).

Would you like me to get an AI-generated summary of its contents?
```

## Capabilities

### Pull specific CRM records from your company's SaaS apps
Your agent can grab specific records from your corporate software to give you the data you need immediately.

### Get AI-generated answers based on your internal documentation
The agent reads your internal files and summarizes them into direct answers instead of just providing links.

### Filter search results by specific apps like Slack or Jira
You can tell your agent to only look in specific places like Jira or Slack to narrow down your results.

### Find colleagues by their specific skills and roles
Search your company directory to find the right people based on their actual skills and job titles.

### Manage ongoing chat threads while keeping track of the history
Your agent can maintain a continuous conversation about your company data while remembering previous context.

### Upload new text files to your company's search index
Add new documentation directly into your company's search logic to keep your information fresh.

### Predict which page you're looking for based on a partial search
The agent can guess the correct destination page even when you only type in a few letters.

## Use Cases

### Policy Retrieval
An HR rep asks for the Remote Work Policy and gets a 3-bullet point summary from Confluence instead of a link to a 50-page PDF.

### Skill Scouting
A manager asks Who knows about Python? and gets a list of 4 engineers with their Slack handles and specific experience levels.

### Project Status
A dev asks for the Q3 Roadmap and the agent pulls the latest status from a Jira board and summarizes the blockers.

### Onboarding
A new hire asks How do I request a laptop? and gets the exact link to the internal request form and the current shipping timeline.

## Benefits

- Stop switching tabs by using search_docs to find info across Jira, Confluence, and Slack in one go.
- Get instant summaries of internal policies using get_answer to save time on manual reading.
- Keep your data fresh by using index_document to add new documentation directly to your company's search.
- Find the right teammate quickly with search_people to see who has the specific skills you need.
- Navigate your workspace faster with autocomplete to jump to the right page from just a few letters.
- Clean up your data by using delete_document to remove old files that might confuse your AI.

## How It Works

The bottom line is you get a conversational front end for your entire corporate knowledge base.

1. Subscribe to this Connector and grab your API Token from your Glean Admin settings.
2. Provide your company's domain and token to your AI client.
3. Start asking questions about your company's internal data.

## Frequently Asked Questions

**Does Glean MCP work with my existing company account?**
Yes, it connects directly to your current Glean instance using your API token. This means your agent gets access to the exact same data and permissions you already have.

**Can I search across Slack and Jira at the same time?**
Yes, the Connector allows your agent to pull data from multiple SaaS apps simultaneously. You can ask a single question and get results from across your entire workspace.

**How do I add new documents to the search?**
You can use the indexing tools to route new text directly into your corporate search logic. This ensures your AI agent is always working with the most recent information.

**Can the AI give me actual answers instead of just providing links?**
Yes, it can fire RAG mechanisms to return summarized AI blocks based on your data. It will read the documents for you and provide a direct answer in the chat.

**Is my company data secure?**
The Connector uses your existing Glean permissions, so the AI only sees what you are already allowed to access. It follows your company's established security boundaries.

**How do I remove a document from the AI's memory?**
You can use the deletion tools to permanently remove an indexed file. This is helpful for removing outdated documents that might confuse your AI's answers.

**Can my agent get direct AI answers based on my company's data via Glean?**
Yes. Use the 'get_answer' tool. It fires Glean's internal RAG mechanisms to retrieve a pure AI-generated response distilled from your indexed company knowledge flawlessly.

**How do I search for experts in my company by their skills via chat?**
Use the 'search_people' tool. The agent will retrieve information from your corporate active directory, matching user profiles, skills, and names to help you find the right colleague natively.

**Can I index my own custom documents in Glean through the agent?**
Absolutely. Use the 'index_document' tool. Provide a JSON object defining the ID, Title, and text content. The agent will route the payload into Glean's search logic synchronously.

**Can I search across multiple data sources like Confluence, Slack, and Google Drive simultaneously?**
Yes! The `search` tool queries all connected data sources in a single request. If you want to narrow results to a specific platform, use `search_by_datasource` with the datasource name (e.g., 'Confluence', 'Slack', 'Google Drive'). Use `autocomplete` to get intelligent suggestions as you refine your query.

**Can I ask the Glean AI assistant questions about my organization's knowledge?**
Yes. The `chat` tool sends a natural language question to Glean's AI assistant, which generates an answer grounded in your organization's indexed knowledge — including documents, wikis, Slack conversations, and Jira tickets. This is ideal for getting synthesized answers rather than just search results.

**Can I index custom documents into Glean programmatically?**
Yes. Use `index_document` to add a single document with a JSON payload containing title, body, URL, and metadata. For large batches, use `bulk_index_documents` to index multiple documents in one request. Use `delete_document` to remove outdated content and `get_document` to verify indexing status.