Skip to main content
Glama

recent_failures

Lists recently failed or unhelpful queries so you can reword them before retrying instead of repeating a failed search.

Instructions

Queries that recently failed on this machine (empty or rated unhelpful). Check before retrying so you reword the query instead of repeating a failed one.

Input Schema

NameRequiredDescriptionDefault
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
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 adds useful context about what counts as a failure and that results are machine-local, but omits read-only status, recency window, ordering, limit behavior, and return shape.

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?

Two tight sentences: the first defines the tool's scope and the second gives actionable workflow guidance. The parenthetical definition of failure is useful and earns its place.

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?

For a simple one-parameter tool, it covers what failure means and when to call it. However, 'recent' is unspecified and the limit/return behavior is left entirely to the schema, which is especially relevant with no annotations or output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

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

The only parameter is limit, but the description never mentions it. With 0% schema description coverage, the description does not compensate by explaining the limit's meaning or default.

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?

States the resource clearly: recently failed queries on this machine, with failure defined as empty or rated unhelpful. This distinguishes it from search/answer siblings, though it uses a noun phrase rather than an explicit verb.

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?

Explicitly recommends checking before retrying so the agent rewords instead of repeating a failed query. It gives clear usage context but does not mention when not to use it or name alternatives.

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