Skip to main content
Glama

Teach

localnest_teach

Create durable behavior rules that automatically surface in future tasks. Set coding standards, preferences, or workflow rules to persist across sessions.

Instructions

Teach the agent a durable behavior rule. Stores a high-importance feedback memory that auto-surfaces in agent_prime when future tasks match the instruction domain. Use this to set persistent preferences, coding standards, or workflow rules that should apply across sessions. Teach memories can be listed (kind=feedback), updated, or deleted via existing memory CRUD tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instructionYes
importanceNo
tagsNo
nestNo
branchNo
scopeNo
terseNoverbose
response_formatNojson

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
metaYes
Behavior4/5

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

Discloses that it stores a high-importance feedback memory that auto-surfaces in relevant tasks and can be listed/updated/deleted. No annotation contradictions; readOnlyHint=false and destructiveHint=false are consistent with a mutating but non-destructive store operation.

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?

Concise two-sentence description plus a third sentence on CRUD management. Front-loaded with the core verb and resource ('Teach the agent a durable behavior rule'). Every sentence adds value.

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 8 parameters including a nested scope object, the description lacks coverage for most parameters. Output schema exists but is not referenced. The description explains the high-level behavior but not the configuration knobs, leaving agents underinformed.

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 0% schema description coverage, the description adds minimal parameter information. Only 'instruction' and 'importance' are hinted; tags, nest, branch, scope, terse, and response_format are completely unexplained. The description should clarify these optional parameters for effective use.

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?

Clearly states 'teach a durable behavior rule' and distinguishes from sibling memory tools by emphasizing high-importance feedback that auto-surfaces in agent_prime. Examples like persistent preferences and coding standards further clarify purpose.

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?

Provides explicit use cases: 'set persistent preferences, coding standards, or workflow rules'. Implicitly differentiates from general memory tools by noting that teach memories can be managed via existing CRUD tools, though no explicit when-not-to-use is given.

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/wmt-mobile/localnest'

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