Skip to main content
Glama

learn_lesson

Record animation insights gained from reviewing your own output so future scenes automatically improve. Capture lessons like timing, squash, or weight fixes for reuse.

Instructions

Record an insight from reviewing your own output (e.g. 'squash 0.8 looks rubbery; 0.4 reads better for a heavy ball'). Lessons are shown in every later scene_context so future work improves.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lesson": "<lesson>"
    },
    "name": "learn_lesson"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
sceneNo
lessonYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose the key behavioral trait: the lesson persists and reappears in every later scene_context, which tells the agent this is a durable side effect, not a one-off note. It omits whether lessons are global or scene-scoped, and whether repeated lessons dedupe or overwrite.

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?

Two sentences, front-loaded with the action, and the concrete example earns its space by clarifying the intended granularity of a lesson. Slightly long parenthetical but no wasted framing.

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

Completeness3/5

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

No annotations and no output schema, so the description must do all the work; it covers persistence and where lessons surface but leaves scope semantics (global vs per-scene), tag behavior, and expected confirmation unaddressed for a 3-parameter write tool.

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 0% across three parameters, and only the required `lesson` field is implied (via the example). The `tags` and `scene` parameters — which likely control retrieval scope — are never mentioned, so an agent gets no guidance on whether a lesson applies globally or to one scene.

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?

Uses a specific verb ("Record") with a concrete object ("an insight from reviewing your own output") and grounds it with a worked example about squash. This distinguishes it from generic note tools like add_note or add_peg, though it never explicitly contrasts with them.

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?

Implies the usage condition — capture a lesson after reviewing your own output — but gives no explicit when-not guidance and never names a sibling (add_note, feedback, knowledge) it should be preferred over, leaving the agent to infer the boundary.

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