Skip to main content
Glama

Dismiss failed work

dismiss_failures
Idempotent

Clear admin-only failures that will not be retried from the failure list by filter or IDs, with an option to restore dismissed items.

Instructions

Admins only: clear failures nobody will retry (a bad link, no audio) from list_failures. Only the admin list changes: the owner's project keeps its error and its own Retry, and failing again lists it again; restore: true brings them back. By filter (as list_failures) or ids; cap 50 per call, call again while nextCursor is set. Returns { changed, skipped, nextCursor }. Writes an admin event failures.dismissed. 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": "dismiss_failures"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoSame error substring as list_failures
idsNoDismiss these rows instead of the current filter
causeNoSame cause filter as list_failures
limitNoMax items this call, default 50
sinceNoSame since filter as list_failures
stageNoSame stage filter as list_failures
restoreNotrue = bring dismissed failures back into the list

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.43.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say idempotentHint=true and destructiveHint=false; the description adds the substantive behavior: scope is limited to the admin list, the owner's project keeps its error and its own Retry, re-failure relists the row, restore undoes it, an admin event failures.dismissed is written, and hosted non-admins are refused. That is exactly the reversible, permission-gated semantics an agent needs and it is consistent with the non-destructive annotation.

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?

Front-loaded with the hard gate ('Admins only') and packed into three dense sentences with no filler, including the return shape and write side effect. The semicolon-chained clauses ('failing again lists it again; restore: true...') make it slightly telegraphic to parse, which costs a point.

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 supplies the return shape { changed, skipped, nextCursor }, the pagination loop, permission requirements, admin-event side effect, and reversibility. Nothing material is missing for correctly calling a 7-parameter mutation 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 description coverage is 100%, so the schema already documents q, cause, stage, since, ids, limit, and restore. The description mostly restates that the filters mirror list_failures and that restore reverses the action, adding little syntax or format detail beyond the structured fields; baseline 3 applies.

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 (clear/dismiss) and resource (failures) and immediately scopes it: 'failures nobody will retry (a bad link, no audio) from list_failures.' That phrasing separates it from retry_failures without needing to name it explicitly, and from list_failures as the read-only counterpart.

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?

Gives explicit when-to-use ('nobody will retry'), when-not (retryable failures stay with retry_failures), a reversal path ('restore: true brings them back'), a selection mode ('By filter ... or ids'), and a batching rule ('cap 50 per call, call again while nextCursor is set'). Little is left to inference.

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