Skip to main content
Glama

Search Lessons

search_lessons
Read-only

Search promoted lessons to discover corrective actions, lifecycle state, prevention rules, gates, and next harness fixes. Filter results by category or tags for targeted insights.

Instructions

Search promoted lessons and show the corrective actions, lifecycle state, prevention rules, gates, and next harness fixes linked to each result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoSearch query. Leave empty to list the most recent lessons.
limitNoMaximum results to return (default 10)
categoryNo
tagsNoRequire all tags to be present on a lesson
Behavior3/5

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

Annotations only indicate readOnlyHint=true. Description adds that it returns linked details and filters to promoted lessons. However, it omits behavioral traits like pagination, ordering, or whether the search is fuzzy/exact.

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?

Single sentence, no wasted words, front-loaded with the core action. Every part contributes meaning.

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 search tool with 4 optional parameters and no output schema, the description adequately sets expectations about returned linked data. Minor gaps: no mention of result order or pagination, but these are common defaults.

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

Parameters2/5

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

Schema description coverage is 75% (3 of 4 parameters described). The tool description does not add any semantic value beyond the schema; it fails to explain the meaning of the 'category' enum or 'tags' array in the context of lessons.

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?

The description clearly states the verb 'Search' and the specific resource 'promoted lessons', and lists the associated linked data (corrective actions, lifecycle state, etc.), distinguishing it from sibling tools like 'retrieve_lessons' which likely return simpler results.

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?

No guidance on when to use this tool versus alternatives (e.g., retrieve_lessons, infer_lesson_from_history). There is no mention of context, prerequisites, or when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IgorGanapolsky/ThumbGate'

If you have feedback or need assistance with the MCP directory API, please join our Discord server