Skip to main content
Glama

perf_verify

Detect and correct hallucinations and fabricated facts in LLM-generated text using multi-channel verification (web search, NLI, cross-reference). Returns corrected output with structured diff.

Instructions

Detect and repair hallucinations, fabricated facts, and unsupported claims in LLM-generated text. Uses multi-channel verification (web search, NLI models, cross-reference) — not just another LLM check. Returns corrected text with structured diff. Use before presenting AI content to users or writing to databases. Provide source_context for best accuracy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesThe LLM-generated text to verify and correct.
source_contextNoSource material the content was generated from. Enables cross-reference verification.
sensitivityNo'strict' for medical, legal, financial content. Default: 'standard'.
return_diffNoReturn structured diff of original vs corrected spans. Default: true.
Behavior4/5

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

No annotations are provided, so the description carries full responsibility. It discloses multi-channel verification (web search, NLI, cross-reference) and states it returns corrected text with structured diff. It doesn't mention potential downsides like latency but provides adequate transparency for a non-destructive tool.

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

Conciseness5/5

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

The description is concise and front-loaded with the core purpose. Every sentence adds meaningful information, with no unnecessary words or repetition.

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

Completeness4/5

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

Given the tool's complexity (4 parameters, no output schema, no annotations), the description covers purpose, usage, verification method, and parameter tips. It lacks detailed return format information, but the mention of 'structured diff' provides some guidance.

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?

All parameters have schema descriptions (100% coverage). The description adds value by explaining the rationale for source_context ('enables cross-reference verification') and highlighting sensitivity levels. It provides context beyond the schema.

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: detecting and repairing hallucinations in LLM-generated text. It uses specific verbs ('detect and repair') and resources, and distinguishes itself from siblings by mentioning multi-channel verification methods.

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

Usage Guidelines4/5

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

The description advises when to use the tool ('before presenting AI content to users or writing to databases') and recommends providing source_context for best accuracy. It lacks explicit exclusions or comparisons to siblings, but the context is clear.

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/Perf-Technology/perf-mcp'

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