Skip to main content
Glama

reflect

Returns a Markdown draft of new conventions from recent lessons, enabling the orchestrator to curate and apply each line. Deterministic aggregation of stored signals without LLM calls.

Instructions

Return a Markdown draft of new AGENTS.md conventions from recent lessons.

The orchestrator curates which lines to apply by calling set_convention() for each. The agent itself does no LLM calls — the draft is a deterministic aggregation of stored signals (category breakdown, frequently-recurring tags, never-recalled lessons, top-referenced).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNoIf true (default), return the draft without side effects. The agent never auto-writes AGENTS.md; this tool only ever returns a Markdown proposal for the orchestrator to curate.
min_countNoMinimum tag-cluster mentions to surface as a candidate convention.
lookback_nNoNumber of recent lessons to consider (1..500).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description discloses key behaviors: deterministic, no LLM calls, no auto-writes, and side-effect-free when dry_run is true. It sets clear expectations about what the tool does and doesn't do.

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?

The description is concise (3-4 sentences), front-loaded with the core purpose, and provides context on orchestration and determinism without wasted words.

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?

Given the tool has three parameters fully documented in the schema, an output schema exists, and the description covers purpose and behavior, the context is quite complete. Slight lack of explicit usage scenarios prevents a perfect score.

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%, so baseline is 3. The description does not add additional meaning beyond the schema descriptions for the three parameters.

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 it returns a Markdown draft of new AGENTS.md conventions from recent lessons, using a specific verb and resource. It distinguishes from siblings like set_convention (which applies) and get_conventions (which retrieves existing).

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

Usage Guidelines4/5

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

The description indicates that the orchestrator curates lines by calling set_convention(), implying this tool is for generating a draft to be curated, not for direct modification. It provides clear context but lacks explicit exclusions or a full alternatives 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/cbuntingde/smart-agent'

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