Skip to main content
Glama

atl_learn

Analyzes errors using a historical fix pattern library, computes Bayesian posterior probability to match with past cases, and recommends the most likely root cause and fix.

Instructions

基于历史修复模式库的ATL似然比学习机制,分析当前错误与历史修复案例的匹配度,计算贝叶斯后验概率,推荐最可能的根因和修复方案。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
focusNo聚焦的错误关键词
errorUrlNo错误发生的URL
errorTextNo错误文本或消息
errorTypeNo错误类型(console/network/pageerror)
currentOnlyNo是否只分析当前checkpoint之后的错误,默认true
errorStatusNoHTTP状态码(网络错误时)
includeWarningsNo是否包含警告级别的错误,默认false
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses the internal process (Bayesian likelihood ratio, matching against historical patterns) and what it returns (root cause and fix recommendation). It is transparent about its analytical nature, though it does not explicitly state it is read-only.

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 description is a single, dense sentence that front-loads the key concept. While efficient, it could be slightly clearer by separating the actions. Overall, it earns its place with minimal waste.

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?

Given 7 parameters and no output schema, the description lacks details on expected output format or return value. It mentions recommendations but does not specify structure, leaving gaps for the agent.

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 baseline is 3. The description adds no parameter-specific details beyond the schema, so no extra value.

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 the tool's purpose: analyzing current errors against historical repair patterns using Bayesian probability to recommend root causes and fixes. It uses specific verbs and resource, distinguishing it from sibling tools like atl_fix (which likely applies fixes) and error_fix_suggestion.

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?

The description implies usage for error analysis, but does not explicitly state when to use this tool versus alternatives such as atl_fix or debug_investigate. No prerequisites or context are provided.

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/validpilot/ai-verify-mcp'

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