Skip to main content
Glama

InspectAgents

Get Failure Details

get_failure
Read-onlyIdempotent

Get the full record of one documented AI failure by its id (ids come from search_failures, e.g. "chevrolet-car-sale"). Use it when you need to cite an incident precisely. Returns description, impact, cost, source name, source URL and prevention strategies; an unknown id returns isError with the valid ids.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe unique failure ID (e.g. "chevrolet-car-sale")

Output Schema

NameRequiredDescriptionDefault
idYesStable failure id, usable with get_failure
costYesReported cost impact, null when unknown
dateYesIncident date (YYYY-MM-DD or YYYY-MM)
titleYes
impactYes
sourceYesPublication that reported the incident
companyYes
categoryYes
severityYes
sourceUrlYesLink to the source report
preventionYesPrevention strategies
descriptionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/ idempotent/ non-destructive/ closed-world, so the safety bar is largely covered; the description adds value by enumerating returned fields (description, impact, cost, source name, source URL, prevention strategies) and disclosing the failure mode for unknown ids (isError with the valid ids). That error semantics detail is genuinely beyond what the annotations say.

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?

Three tight sentences: identity and scope first, then the usage trigger and id provenance, then return contents and error behavior. No filler or repetition of the title.

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 one-parameter read tool with an output schema and full annotations, the description covers purpose, prerequisites, return payload, and error behavior. Nothing an agent needs to call it correctly is missing.

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?

Schema coverage is 100% with a single documented id parameter, so the baseline is 3. The description adds provenance ('ids come from search_failures') and embeds a concrete example, clarifying where a valid value comes from rather than just its type.

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?

States a specific verb and resource ('Get the full record of one documented AI failure by its id'), and immediately distinguishes itself from search_failures by framing this as the single-record lookup for ids that search produces. An agent can tell it apart from its siblings without opening the schema.

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?

Gives a clear usage trigger ('use it when you need to cite an incident precisely') and routes the agent to search_failures as the source of valid ids, which establishes the prerequisite workflow. It stops short of an explicit when-not statement or naming the other siblings as alternatives.

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.