Skip to main content
Glama

get_failure_mode

Retrieve the complete structured record of an AI failure mode by its unique ID slug, enabling detailed analysis of specific issues like hallucination or sycophancy.

Instructions

Retrieve the full structured record for a single failure mode by its ID slug (e.g. 'citation-hallucination', 'sycophancy').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe failure mode ID slug, e.g. 'citation-hallucination'
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It states it retrieves a 'full structured record' but does not disclose behavior for missing IDs, error handling, or any side effects. For a simple read operation, this is acceptable but not fully transparent.

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?

Single sentence, no wasted words. Perfectly concise for the tool's simplicity.

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?

Given the simple tool structure (1 required parameter, no output schema, no nested objects), the description is complete. It tells what it returns and how to invoke it. No additional information is necessary.

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?

The input schema already has 100% coverage with a description for the single 'id' parameter. The description repeats the example but adds no new meaning beyond the schema. Baseline 3 is appropriate.

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 action ('Retrieve'), the resource ('full structured record for a single failure mode'), and the identifier ('by its ID slug'). This distinguishes it from sibling tools like list_categories or search_failure_modes, which operate on collections or use search.

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 implies usage when you have a specific ID slug and want a single record. It does not explicitly state when not to use it (e.g., for listing all modes), but the context from sibling tools and the wording 'by its ID slug' provides adequate guidance.

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/elyngved/failmodes-mcp'

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