Skip to main content
Glama

Lean Directory

Search Lean Directory tools

search_tools

Search the Lean Directory registry of Lean 4 libraries for Solana by text, tier or category. Core entries were built and kernel-checked by this registry's CI; ecosystem entries are indexed from GitHub and were not built here.

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

Input Schema

NameRequiredDescriptionDefault
tierNo
queryNoMatched against slug, package name and summary.
categoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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 add real value by disclosing that core entries were built and kernel-checked by this registry's CI while ecosystem entries were only indexed from GitHub. It says nothing about result count limits, ordering, pagination, or whether results are cached, so an agent cannot predict the response 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 sentences, fully front-loaded: the action and facets come first and the trust caveat follows. Every clause carries information an agent needs; there is no filler.

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 parameterless-required, read-only search with no output schema, this is close to complete — purpose, facets and provenance are covered. What remains missing is enough detail to anticipate results, such as result limits or whether filters are ANDed.

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

Parameters4/5

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

Schema coverage is only 33%, and the description compensates by giving meaning to the tier values (core vs ecosystem provenance) that the raw enum does not convey, and by framing query and category as search facets. The 'community' tier value is never explained, leaving one enum branch undocumented in both schema and description.

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 (search) plus the concrete resource (Lean Directory registry of Lean 4 libraries for Solana) and the three facets it can be searched by. It doesn't name a sibling such as get_tool to draw the boundary between searching and fetching a known entry, so it stops short of a 5.

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?

Usage is implied — you come here to discover libraries by text, tier or category — and the tier explanation helps an agent interpret results. There is no explicit when-to-use versus get_tool guidance and no statement of what happens with zero parameters or how multiple filters combine.

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.