Skip to main content
Glama

List failed work

list_failures
Read-only

List failed projects and clips across the instance for admins, showing owner email, failure stage, cause, reason, and timestamp; filter by error text, stage, cause, or date.

Instructions

Admins only: failed projects and clips across the instance (owner email, stage, cause, reason, when); retryable = Retry can help (platform causes only). A failed project's clips are not listed separately — retry the project. Dismissed failures are hidden unless dismissed: true. Returns { items, nextCursor, total, limit, truncated }. Filter with q (substring of the error), stage, cause, since (ISO time). Hosted non-admins are refused.

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": "list_failures"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoCase-insensitive substring of the recorded error (e.g. disk, encoder, model)
causeNoplatform = this instance's fault (disk, model, encoder, timeout), retry after the fix; input = the video, link or settings (gone, private, no audio, no usable clips), retrying fails the same way; quota = the owner's plan refused it, retried by itself when their plan or limits change
limitNoPage size, default 50
sinceNoISO timestamp; only failures updated at or after this time
stageNoPipeline stage that failed
cursorNonextCursor from the previous page
dismissedNotrue = only failures cleared with dismiss_failures; default = only the ones not dismissed

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. Changed2 schema fields changedv0.43.0
    • addedInput schema / properties / cause
      Added value: +{
      +  "description": "platform = this instance's fault (disk, model, encoder, timeout), retry after the fix; input = the video, link or settings (gone, private, no audio, no usable clips), retrying fails the same way; quota = the owner's plan refused it, retried by itself when their plan or limits change",
      +  "enum": [
      +    "platform",
      +    "input",
      +    "quota"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / dismissed
      Added value: +{
      +  "description": "true = only failures cleared with dismiss_failures; default = only the ones not dismissed",
      +  "type": "boolean"
      +}
  3. Addedv0.17.0

TDQS

A4.2/5.0
Behavior4/5

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

The only annotation is readOnlyHint=true, and the description goes well beyond it: admin-only authorization with explicit refusal for hosted non-admins, the default hiding of dismissed failures, the aggregation rule that project-level failures suppress their clips, and a declared return shape. It does not state rate limits or ordering of results, which keeps it off a 5.

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?

The access constraint and scope are front-loaded, and nearly every clause carries information (permissions, defaults, aggregation, return keys, filters). It is dense to the point of being comma-heavy, but nothing is wasted or repeated.

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 seven optional parameters and no output schema, the description covers the gaps an agent would otherwise hit: authorization behavior, the dismissed default, why project clips are absent, the returned keys including nextCursor, and which parameters filter. Nothing needed 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.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all seven parameters in more detail than the description does; the description's mention of q/stage/cause/since largely restates them. The one genuine addition is tying 'retryable' to cause=platform, which links the filter to the retry tool's applicability, but that is modest added meaning over a fully documented 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?

The description names a specific resource set (failed projects and clips across the instance) and enumerates what each record carries (owner email, stage, cause, reason, when). It distinguishes itself from related operations by noting that a failed project's clips are not listed separately and that retry is the remedy for the project, and it clarifies its relationship to dismissal state and retry behavior.

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?

It states the access condition up front ('Admins only', 'Hosted non-admins are refused') and explains the retryable semantics plus the rule to retry a failed project rather than hunting for its clips. What it does not do is explicitly route an agent to a sibling lister or say when to prefer dismiss_failures instead, so it stops short of full when/when-not guidance.

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