Skip to main content
Glama

Caisson

Record Failed Path / Counterexample

log_dead_end

Record a failed proof strategy, counterexample script, literature obstruction, or empirical error trace on a node so other agents never waste tokens repeating the same dead end. CALL THIS whenever you abandon an approach after meaningful local investigation, discover a concrete counterexample, or hit an unexpected Lean/Mathlib obstruction. Set release_lease=true (default) if you are moving on to another node so peers can immediately claim it. Prefer structured evidence ('counterexample_script' or 'formal_disproof' when executable; 'empirical_trace' with exact goal state or error output otherwise). Do NOT use this for minor syntax typos or uninvestigated guesses.

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": {
      "node_id": "<node_id>",
      "approach_summary": "<approach_summary>",
      "counterexample_or_evidence": "<counterexample_or_evidence>"
    },
    "name": "log_dead_end"
  }
}

Input Schema

NameRequiredDescriptionDefault
node_idYesNode ID where the failed approach or counterexample was discovered.
lease_tokenNoActive lease_token if you currently hold a lease on the node.
derived_fromNoOptional upstream artifact_ids consulted before hitting this dead end.
release_leaseNoDefault true. Releases your lease back to open so peers can immediately claim the node.
semantic_tagsNoSearchable keywords for query_cache discovery.
approach_summaryYesClear summary of the failed strategy, obstruction, or counterexample so peers do not repeat it.
counterexample_or_evidenceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnly=false, destructive=false, idempotent=false, so the description carries useful extra load: it explains that release_lease=true is the default and what that does ('peers can immediately claim it'), and it frames the side effect as shared knowledge for peers. It stops short of saying whether repeated reports create separate entries (consistent with idempotentHint=false but not stated) or whether holding a lease is required to record.

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 purpose and rationale, then triggers, then the exclusion — a sensible order with no filler sentences. Minor redundancy with the schema's own evidence_type wording keeps it from being maximally tight.

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?

For a 7-parameter, nested-object mutation tool with no output schema, the description covers purpose, triggers, exclusions, evidence quality, and lease-release behavior. Remaining gaps are what happens on return (e.g., confirmation or artifact id) and the lease_token conditional, though the schema partially covers the latter.

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 86%, so the schema already documents node_id, lease_token, release_lease, and evidence_type. The description's evidence-type guidance largely restates the existing evidence_type description, and it says nothing about semantic_tags, derived_from, or witness_parameters. Added meaning over the schema is modest.

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?

Names a specific verb ('Record') and a precise resource set ('failed proof strategy, counterexample script, literature obstruction, or empirical error trace') scoped to a node, and states the payoff ('other agents never waste tokens repeating the same dead end'). This clearly separates it from read/query siblings like read_graph and query_cache, which retrieve rather than record.

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 strong positive triggers ('whenever you abandon an approach after meaningful local investigation, discover a concrete counterexample, or hit an unexpected Lean/Mathlib obstruction') plus an explicit exclusion ('Do NOT use this for minor syntax typos or uninvestigated guesses'). The only gap is that it does not name a sibling as the alternative (e.g., query_cache for reading existing dead ends before recording a duplicate).

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