Skip to main content
Glama

explain_lean_tactic

Retrieve concise Lean 4 tactic cheat-sheet entries with before/after goal states and minimal runnable examples to clarify tactic behavior.

Instructions

Get a concise Lean 4 tactic cheat-sheet entry with before/after goal states and a minimal runnable example.

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

Input Schema

NameRequiredDescriptionDefault
tacticNoTactic name (e.g., rw, intro, constructor, induction, simp). Omit to list all available tactics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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 burden, and it does disclose the shape of what comes back (goal-state before/after plus a runnable example), which is real value given there is no output schema. It says nothing about behavior for unknown or misspelled tactic names, rate limits, or whether results are cached/static.

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?

One front-loaded sentence with zero filler: the verb, the resource, and the payload contents are all stated immediately. Nothing is repeated from the title or schema.

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 simple single-optional-parameter lookup tool with full schema coverage and no output schema, the description covers what an agent needs to decide and call it. The remaining gaps (no-tactic list behavior surfaced in prose, fallback for unknown tactics) are minor given the tool's simplicity.

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%, and the single optional 'tactic' parameter is fully documented in the schema, including the omit-to-list-all behavior. The description adds no extra meaning about the parameter, so the baseline 3 is appropriate.

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?

Specific verb plus resource: it states it returns a Lean 4 tactic cheat-sheet entry, and it goes further to say the entry includes before/after goal states and a minimal runnable example. That makes the tool clearly distinct from siblings such as audit_lean_proof or visualize_proof_outline, though it never explicitly says so.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use or when-not-to-use guidance, and no named alternative among the siblings. Usage is strongly implied by the purpose (look up a tactic when you need a quick reference), and the list-all behavior lives in the schema rather than the description, so this is adequate but thin.

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