groundlens-mcp
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| groundlens_checkA | Check whether an LLM response was drawn from its source. Grounding, not truth. This is the main tool. It automatically selects the right method:
Both are deterministic — same inputs always produce the same score. No model in the scoring path. Scoring is embedding geometry. IMPORTANT — how to report the result. A passing check means the response
ENGAGED ITS SOURCE. It does NOT mean the facts are correct. A plausible wrong
fact stated in the right frame (right topic, right terminology, one wrong
number or date) will pass. Do not tell the user a passing check means the
answer is "verified", "accurate" or "not hallucinated". Always surface the
Args: params (CheckInput): The question, response, and optional context. Returns:
str: JSON with a plain-language CHECK (Supported / Partly supported / Not
supported by the document, or Looks grounded / Partly grounded / Not
grounded), score, level, method, message, Examples: - "Did this ChatGPT answer actually come from our policy document?" → provide question + response + the policy document as context - "Did this answer engage its source at all?" → provide question + response (no context needed) |
| groundlens_sgiA | Check whether an LLM response engaged a source document (SGI). Provenance, not truth. SGI (Semantic Grounding Index) measures whether the response engaged with the provided context or stayed anchored to the question. This is the method to use for RAG pipeline verification — did the model actually use the retrieved documents? The score is a ratio: dist(response, question) / dist(response, context). A high ratio means the response moved toward the context. A low ratio means it stayed near the question (possibly ignored the context). IMPORTANT: this measures PROVENANCE. An answer that borrows the source's
vocabulary and structure but changes one figure will pass. Surface the
Args: params (SGIInput): The question, source context, and LLM response. Returns: str: JSON with a plain-language CHECK, the SGI score, and the two distances. Examples: - Verifying a RAG chatbot used the retrieved documents - Checking if a summary is faithful to the source text - Auditing whether context was ignored in a customer support bot |
| groundlens_dgiA | Coarse context-free grounding signal, for when no source is available (DGI). DGI (Directional Grounding Index) compares the question-to-response displacement against the direction typical of answers written from a source. No context is needed, so it works for open-ended chat and general Q&A. IMPORTANT: this is the weakest signal here and it has a measured ceiling. With
authorship held constant it reaches AUROC 0.606, and the ceiling of the entire
embedding-similarity class is about 0.68. It is a ranking signal for triage,
not a detector, and it is not a risk verdict. Prefer Args: params (DGIInput): The question and LLM response. Returns:
str: JSON with a plain-language CHECK, the DGI score, the magnitude,
Examples: - Ranking a batch of chat answers so a reviewer starts with the worst - Screening outputs when no source document exists |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/groundlens-dev/groundlens-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server