Skip to main content
Glama

wyrm_failure_check

BEFORE trying a fix or approach, check whether it has already failed for this account. Wyrm's counter-pattern firewall surfaces past dead-ends so you don't burn tokens re-deriving a known-wrong answer.

Input Schema

NameRequiredDescriptionDefault
queryYesThe approach/fix/target you are about to try
workspaceNoProject/workspace to scope to (defaults to this connection's workspace; isolates work streams within your account)

Output Schema

NameRequiredDescriptionDefault
noteNo
countYes
queryYes
blockedYes
matchesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "blocked": {
      +      "type": "boolean"
      +    },
      +    "count": {
      +      "type": "integer"
      +    },
      +    "matches": {
      +      "items": {
      +        "properties": {
      +          "description": {
      +            "type": "string"
      +          },
      +          "scope": {
      +            "type": "string"
      +          },
      +          "target": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "scope",
      +          "target",
      +          "description"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "query": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "query",
      +    "blocked",
      +    "count",
      +    "matches"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. 'Check' and 'surfaces past dead-ends' imply a read-only, non-mutating lookup, and the token-saving intent explains why to call it, but there is no explicit statement of read-only semantics, permission needs, or rate limits.

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?

Two tight sentences, front-loaded with the imperative timing cue 'BEFORE', so the critical instruction is the first thing read. The second sentence is slightly salesy but earns its place by explaining the payoff and the tool's counter-pattern framing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the schema fully documents both parameters. What remains is a clear pre-flight purpose and trigger; only explicit sibling routing and any read-only confirmation are 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 both parameters are already documented in the schema; baseline is 3. The phrase 'for this account' loosely corresponds to the workspace scoping parameter but adds no syntax, format, or defaulting detail beyond the schema.

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?

Names a specific verb (check) and resource (past failures for a given approach), and frames it as a pre-flight lookup rather than a listing or write. It implicitly separates itself from siblings like wyrm_failure_list and wyrm_failure_record, but never names those alternatives explicitly.

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?

Gives a clear temporal trigger: 'BEFORE trying a fix or approach.' That is strong when-to-use guidance. It does not, however, name the sibling to use afterward (e.g., wyrm_failure_record to log a new dead-end) or state any when-not condition.

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