Skip to main content
Glama

Agent learning run

navig_agent_learning_run
Destructive

Analyze recent agent debug and remediation logs to identify recurring error patterns and return actionable recommendations, with optional JSON export for review.

Instructions

Analyze recent agent debug/remediation logs and return recurring error patterns with recommendations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoAnalyze logs from the last N days
exportNoExport pattern report to ~/.navig/workspace/error-patterns.json

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false and destructiveHint=true, but the description frames the tool purely as analysis-and-return, giving no hint that it mutates state or writes a report file. It also omits runtime characteristics (analysis duration, whether the export overwrites an existing error-patterns.json) that would matter for a tool flagged destructive.

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?

A single front-loaded sentence with no filler; the verb and resource lead the sentence. It is efficient, though it stops short of a second clause that could have covered the side effects the call triggers.

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?

The description hints at the return value, which matters since no output schema exists, but for a tool annotated as non-read-only and destructive it should disclose the file write and whether prior reports are overwritten. An agent can call it, but not fully predict its side effects.

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 both `days` and the `export` path are fully documented in the schema. The description adds no extra meaning about the default window or what happens on export, so the 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 verb (Analyze), a named resource (recent agent debug/remediation logs), and the output shape (recurring error patterns with recommendations). It is clearly distinct from sibling listing tools like navig_agent_remediation_list, though it never names an alternative to route against.

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?

There is no when-to-use guidance, no prerequisites, and no mention of when an agent should prefer navig_agent_remediation_list or navig_agent_status_get instead. The agent must infer the appropriate moment to call this tool entirely on its own.

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