Skip to main content
Glama

d3p_check-hallucination

Analyze AI-generated text to detect hallucination risk using linguistic markers. Returns a confidence score and warnings to flag potential inaccuracies.

Instructions

Analyze AI-generated text for hallucination risk based on linguistic markers. Returns confidence score and warnings. Category: analysis | Cost: 10 sats | Endpoint: check-hallucination Parameters (pass as JSON string): response (string): AI-generated text to check for hallucination markers

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsNo{}

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries full burden. It mentions 'Returns confidence score and warnings' and 'Cost: 10 sats,' which adds some behavioral context. However, it does not disclose rate limits, authentication needs, error handling, or any destructive impact. It is not misleading but incomplete.

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

Conciseness3/5

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

The description is moderately concise, mixing a plain sentence with a parameter block. It is functional but could be more structured (e.g., separating usage notes from technical details). The parameter info is front-loaded but followed by repeated 'Category:' and 'Cost:' lines that add clutter.

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

Completeness3/5

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

The description covers the core function and parameter structure, and an output schema exists (from context signals), so return values need not be explained. However, it lacks details on input constraints (e.g., text length), error conditions, and whether the tool modifies state. These gaps reduce completeness for paid tool usage.

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

Parameters4/5

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

The input schema only defines a single 'params' string property with default '{}', providing no semantics. The description compensates by explaining that 'params' should contain a 'response' string field for the AI-generated text. This adds essential meaning beyond the schema, making the tool usable.

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

Purpose5/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: 'Analyze AI-generated text for hallucination risk based on linguistic markers.' It specifies the verb 'analyze' and resource 'AI-generated text for hallucination risk,' distinguishing it from sibling tools like d3p_vibe-check or d3p_emoji-sentiment, which focus on different analysis types.

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

Usage Guidelines3/5

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

The description provides no explicit when-to-use or when-not-to-use guidance. It only lists 'Category: analysis' and cost, implying it's suitable for hallucination detection but lacking exclusion criteria or alternatives. No sibling differentiation or context for when to avoid this tool.

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

Install Server

Other Tools

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/awkie1/d3p-mcp-server'

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