Skip to main content
Glama

get_lean_practice_drill

Retrieve a structured Lean 4 practice exercise with starter code, progressive hints, and a zero-install browser playground link to practice proofs without setup.

Instructions

Fetch a structured Lean 4 practice exercise with starter code, progressive hints, and a zero-install browser playground link.

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

Input Schema

NameRequiredDescriptionDefault
idNoOptional specific drill ID (equality-rewrite, and-commutativity, or-commutativity, nat-add-zero-left).
levelNoOptional difficulty filter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden, and it does usefully describe what comes back: starter code, progressive hints, and a zero-install playground link. It says nothing about behavior when an unknown id is passed, when id and level conflict, or what happens when both parameters are omitted, all of which affect how an agent should call it.

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?

A single front-loaded sentence that packs the action, the resource, and the returned artifacts with no filler or redundancy.

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 low-risk read with two fully-documented optional parameters and no output schema, the description covers the essential value proposition and the shape of the result. The remaining gap is the unspecified default/fallback when no filters are supplied, which is a modest but real omission.

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%, including an enum and a list of valid drill IDs, so the baseline of 3 applies. The description adds no meaning beyond the schema; it does not explain the interaction between id and level or what the default selection is when neither is provided.

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 a specific verb ("Fetch") and a specific resource ("a structured Lean 4 practice exercise") and enumerates what the payload contains (starter code, progressive hints, playground link). It is clearly distinguishable in substance from siblings like audit_lean_proof or explain_lean_tactic, though it never names or contrasts them explicitly.

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

Usage Guidelines2/5

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

The description gives no when-to-use or when-not-to-use guidance and never references an alternative tool or the conditions that select one. It also omits the practically important case of calling with no arguments versus supplying id or level, so an agent must infer all routing decisions from the schema alone.

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