Skip to main content
Glama
gleanwork

Glean MCP Server

by gleanwork

Glean 本地 MCP 服务器 Monorepo

MCP Server CI Build npm version License

[!WARNING] 我们建议使用直接集成在 Glean 中的远程 MCP 服务器,而不是此本地 MCP 服务器。远程服务器提供更无缝的体验,包括自动更新、更好的性能和简化的配置。对于本地使用,请考虑使用 Glean CLI。此本地 MCP 服务器主要用于实验和测试目的。

此 monorepo 包含 Glean 本地 MCP 服务器的软件包。有关更多详细信息,请参阅各个软件包的 README。

本地 MCP 服务器可以通过 npx 或 Docker 运行。有关 Docker 部署说明,请参阅 @gleanwork/local-mcp-server README。

贡献

请参阅 CONTRIBUTING.md 以获取开发设置和指南。

Related MCP server: MCP Boilerplate

许可证

MIT 许可证 - 有关详细信息,请参阅 LICENSE 文件

支持

Available Tools

3 tools
chatC

Chat with Glean Assistant using Glean's RAG

    Example request:

    {
        "message": "What are the company holidays this year?",
        "context": [
            "Hello, I need some information about time off.",
            "I'm planning my vacation for next year."
        ]
    }
    
ParametersJSON Schema
NameRequiredDescriptionDefault
contextNoOptional previous messages for context. Will be included in order before the current message.
messageYesThe user question or message to send to Glean Assistant.

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states the basic action ('Chat') and includes an example request, but doesn't cover critical aspects like authentication needs, rate limits, response format, or any side effects. This is inadequate for a tool with potential complexity in AI interactions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized and front-loaded with the core purpose. The example request is relevant but could be more integrated; overall, it's efficient with minimal waste, though the formatting as a code block might slightly affect readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of an AI chat tool with no annotations and no output schema, the description is incomplete. It doesn't explain what the tool returns, how errors are handled, or any behavioral traits, leaving significant gaps for the agent to understand the tool's full context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema fully documents both parameters ('message' and 'context'). The description adds minimal value beyond the schema by showing an example request, but doesn't provide additional semantic context or usage nuances. This meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Chat with Glean Assistant using Glean's RAG.' It specifies the verb ('Chat') and resource ('Glean Assistant'), but doesn't explicitly differentiate it from sibling tools like 'company_search' or 'people_profile_search', which are search-focused rather than conversational AI interactions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It lacks any mention of sibling tools or scenarios where this chat tool is preferred over search tools, leaving the agent without context for tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 3 tool updatesv1.0.0
    • First observedchat
    • First observedcompany_search
    • First observedpeople_profile_search

TDQS

B3/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: 'chat' is for conversational interaction with an assistant, 'company_search' is for finding documents and data, and 'people_profile_search' is for locating employee profiles. There is no overlap in functionality, making it easy for an agent to select the correct tool based on the task.

Naming Consistency4/5

The tool names follow a consistent snake_case pattern and are descriptive, but there is a minor deviation: 'chat' uses a simple verb, while the other two tools use a noun_noun structure (e.g., 'company_search'). This slight inconsistency does not hinder readability or predictability significantly.

Tool Count3/5

With only 3 tools, the set feels thin for a server named 'Glean MCP Server', which implies broader capabilities in information retrieval and assistance. While the tools cover chat, document search, and people search, the scope might benefit from additional tools for more granular operations or updates, making the count borderline appropriate.

Completeness3/5

The tools provide basic search and chat functionalities, but there are notable gaps. For example, there is no tool for updating or managing data (e.g., creating documents or modifying profiles), and the chat tool lacks explicit support for follow-up actions or context persistence. This limits the server's ability to handle full lifecycle operations in its domain.

Maintenance

ActivityInactive
ResponsivenessUnresponsive

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that provides AI models with structured access to external data and services, acting as a bridge between AI assistants and applications, databases, and APIs in a standardized, secure way.
    2
    -
  • A
    license
    A
    quality
    A
    maintenance
    A Model Context Protocol server that provides AI assistants with access to Microsoft Teams, enabling interaction with teams, channels, chats, and organizational data through Microsoft Graph APIs.
    19
    1,292 npm
    143
    MIT