Skip to main content
Glama

search_lessons

Read-only

Search promoted lessons to retrieve corrective actions, prevention rules, gates, and next harness fixes for avoiding repeated failures.

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 already mark the tool as readOnlyHint=true, so the description adds minimal behavioral context beyond listing result fields. It does not contradict annotations, but also doesn't reveal any additional behavioral traits (e.g., pagination, authentication needs).

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?

The single sentence is concise and front-loaded with the verb 'search'. However, listing many result fields sequentially could be better structured (e.g., bullet points) for readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the absence of an output schema and medium complexity (4 parameters, some nested), the description should provide more detail on return structure or behavior. It only hints at what is shown but not how results are formatted or paginated.

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?

With 75% schema description coverage (three out of four parameters have descriptions), the description adds no extra meaning. It does not explain the 'category' parameter, which lacks a description in the schema, leaving a gap that the description should have filled.

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 tool's action ('search promoted lessons') and the specific fields shown in results ('corrective actions, lifecycle state, etc.'), which distinguishes it from siblings like 'retrieve_lessons' and 'search_thumbgate'.

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. The description does not mention any prerequisites, exclusions, or when not to use it, leaving the agent to infer context from the sibling list.

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