Skip to main content
Glama

Get a failed project or clip

get_failure
Read-only

Retrieve the recorded failure details for a project or clip, including stage, owner email, reason, and time, so admins can diagnose why processing stopped or rendering failed.

Instructions

Admins only: one failed project or clip (title, owner email, stage, full recorded reason, when). A clip whose project also failed is not returned — retry the project. Returns the item or null if it is gone (retried, deleted). Hosted non-admins are refused.

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": {
      "kind": "<kind>",
      "id": "<id>"
    },
    "name": "get_failure"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProject id or clip id
kindYesproject = the whole pipeline stopped; clip = one clip failed to prepare or render

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.51.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.17.0

TDQS

A4.5/5.0
Behavior4/5

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

readOnlyHint already covers the safety profile, and the description still adds real behavior: null is returned when the item is gone (retried or deleted), and clip lookups are deliberately suppressed when the parent project failed. The one gap is that it never says what the response looks like structurally (flat object vs. wrapper), though the field list partly compensates.

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?

Four short clauses, front-loaded with the access restriction and the returned-field list, then the caveat and the null case. Nothing repeats the title or wastes words; the parenthetical field list is dense but readable.

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?

With no output schema, the description carries the return contract itself (fields plus null semantics) and covers auth, the parent-failure exclusion, and the two input modes. An agent can call it and interpret the result without further information.

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% and the schema itself explains both the id field and the project/clip enum meanings, so the description only implies that the id must reference an existing failed item. Baseline 3 is appropriate since the heavy lifting is in 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?

States a specific verb-and-resource pair (retrieve one failed project or clip) and enumerates exactly what comes back: title, owner email, stage, full recorded reason, and timestamp. The 'failed' qualifier distinguishes it from the plain get_project/get_clip siblings without needing their schemas.

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

Usage Guidelines5/5

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

Explicitly restricts callers ('Admins only', 'Hosted non-admins are refused') and gives a concrete disambiguation rule with a routing action: a clip whose project also failed is not returned, so retry the project instead of looking it up here. That is a when-to-use, when-not-to-use, and alternative in one definition.

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

Deploy Server

Other Tools