Skip to main content
Glama

failure_reason

Understand why a job failed. FREE - lookup job failures or get failure code reference.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobIdNoxportalx job ID to look up failure details
failure_codeNoAny failure code to explain (e.g., 'RATE_LIMIT_429')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full burden. It mentions 'FREE' (a cost trait) and implies read-only via 'lookup' and 'reference', but it does not explicitly state that it is a safe read operation, what happens with no parameters, return format, or error behavior.

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 extremely concise: two short clauses that front-load the main purpose. Every word earns its place, including the value-add 'FREE'.

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?

Given the simple dual-mode nature, the description covers the primary use cases but leaves gaps: no mention of expected output, no guidance on what happens if both or neither parameter is provided, and no explicit read-only note (since annotations are absent). This is minimally acceptable for a simple lookup tool.

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 coverage is 100%, so both parameters are already described. The description adds a slight mapping: jobId for 'lookup job failures' and failure_code for 'get failure code reference', but this largely mirrors the schema. No additional syntax, examples, or relationships are provided.

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?

The description clearly states the tool's purpose: 'lookup job failures or get failure code reference', with specific resources (job failures, failure code reference) and two distinct modes. The initial verb 'Understand' is vague, but the rest clarifies. It doesn't explicitly differentiate from sibling tools, though none appear similar.

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 usage is implied: use this tool to understand job failures or get a failure code reference. The word 'FREE' hints at a cost advantage, but there is no explicit when-to-use vs alternatives, nor exclusions or alternative tool references.

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.

Resources