Skip to main content
Glama

InspectAgents

Search AI Failures

search_failures
Read-onlyIdempotent

Search the InspectAgents database of documented, source-cited AI chatbot and agent failures. Use it when you need real incidents as evidence (e.g. prompt injection or hallucination cases), filtered by keyword, category, severity or year. Returns the total match count and up to limit incidents with id, title, company, date, category, severity, description, impact, cost and prevention steps.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_failures"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoFilter by year of incident (e.g. 2024)
limitNoMaximum number of results to return (default 10, max 50)
queryNoFree-text search across title, company, description, and impact
categoryNoFilter by failure category
severityNoFilter by severity level

Output Schema

NameRequiredDescriptionDefault
totalYesNumber of incidents matching the filters
failuresYes
returnedYesNumber of incidents in this response

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description earns credit beyond that by disclosing the database's sourcing discipline (documented, source-cited) and the aggregate-plus-page result pattern (total match count alongside up to limit incidents), which matters for how an agent should consume results.

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?

Two sentences, front-loaded with purpose and the when-to-use trigger before the filter list. The trailing enumeration of returned fields is somewhat redundant given the tool has an output schema, but it is compact enough not to be wasteful.

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

Completeness5/5

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

For a five-parameter, all-optional search tool with an output schema, the description covers scope, trigger, filter axes and result shape. Nothing needed to invoke it correctly is missing.

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 every filter (year, limit, query, category, severity) is already documented including enum values and the default/max on limit. The description only restates the filter axes at a high level and adds no syntax or matching-behavior detail beyond the schema.

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?

States a specific verb (Search) and a well-defined resource (a database of documented, source-cited AI chatbot and agent failures), plus the dimensions it can be filtered on. It is clearly a search tool distinct from an id-lookup like get_failure, but it never explicitly names a sibling or states the boundary between them.

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?

"Use it when you need real incidents as evidence" gives a clear situational trigger and even supplies example query types (prompt injection, hallucination). There is no when-not guidance and no explicit pointer to alternatives such as get_failure for pulling a single record.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.