Skip to main content
Glama

kernel_agents_learning_audit

Trace a lesson's origin and spread—who learned it, which run it came from, and every run it influenced—so you can assess impact before correcting or deactivating it.

Instructions

Where a lesson came from and how far it went: who learned it and from which run, every run that carried it since (agent, outcome, own or shared), and the lessons those runs produced. Use it when a lesson looks wrong, to see what it may have influenced before deactivating or correcting it.

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": {
      "learning_id": "<learning_id>"
    },
    "name": "kernel_agents_learning_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRuns to list (default 20)
learning_idYesLesson id (agent_learnings)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.2

TDQS

A3.9/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does well by disclosing the returned content: source run, every downstream run with agent/outcome/own-or-shared classification, and derived lessons. It stops short of stating read-only-ness explicitly or noting the default limit of 20 against the phrase 'every run,' a small inaccuracy an agent might trip on.

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 provenance/influence summary is front-loaded into one dense sentence, with usage guidance following immediately. The parenthetical '(agent, outcome, own or shared)' efficiently conveys return shape. Slightly long but no sentence is wasteful.

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?

With no output schema, the description must convey what comes back, and it outlines the three tiers of returned data well. The one gap is not clarifying pagination ('every run' vs. a default limit of 20), which could mislead about completeness of results.

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 coverage is 100%, so both parameters are already documented (learning_id as 'Lesson id (agent_learnings)', limit as 'Runs to list (default 20)'). The description adds conceptual meaning by explaining that runs enumerated are those 'that carried it since,' but supplies no format or syntax detail beyond the schema, so baseline 3 applies.

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?

The description states a specific resource and operation: tracing a lesson's provenance ('who learned it and from which run') and downstream influence ('every run that carried it since'). This is a distinct audit role vs the generic audit siblings like kernel_audit_changes or kernel_audit_logs, though it never names a sibling to sharpen the contrast, so it stops short of a 5.

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?

Gives a concrete trigger: 'Use it when a lesson looks wrong,' and a purpose-driven workflow — inspect what it may have influenced 'before deactivating or correcting it.' It doesn't explicitly name an alternative tool or state when NOT to use it, which keeps it from a 5.

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

Deploy Server

Other Tools