Skip to main content
Glama

save_debug_skill

Save a debug skill to the knowledge base after resolving a new issue type. Capture symptoms, strategy, root causes, and fix patterns for reuse.

Instructions

Save a new debug skill to the knowledge base.

Call this after successfully debugging a new type of issue to capture the experience for future reuse.

Args: name: Short kebab-case name (e.g., "dma-transfer-timeout") category: Category — memory, fault, peripheral, timing, rtos, general keywords: Comma-separated keywords for search matching symptoms: Description of observable symptoms (what the user sees) strategy: Step-by-step debug strategy that worked root_causes: Common root causes for this type of issue fix_patterns: Patterns for fixing this type of issue

Returns: Confirmation with the saved file path

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
categoryYes
keywordsYes
strategyYes
symptomsYes
root_causesYes
fix_patternsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the full burden. It states the tool saves to a knowledge base and returns a confirmation, but does not disclose if it overwrites existing skills, requires authentication, or other side effects. This is acceptable for a straightforward save operation but lacks depth.

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?

The description is concise, with two focused paragraphs. The first states the purpose and usage context, and the second lists parameters in a clear Args format. There is no wasted text; every sentence serves a purpose.

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?

Given the 7 required parameters and no schema descriptions, the description covers all aspects adequately, including return value. However, it could be more complete by noting whether the tool checks for duplicate names or has any prerequisites (e.g., being connected to a debug session).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, so the description compensates by explaining each parameter, including name format ('kebab-case'), category options ('memory, fault, peripheral, timing, rtos, general'), and the purpose of keywords, symptoms, etc. This adds meaningful context beyond the schema, though some descriptions (e.g., keywords) remain brief.

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: 'Save a new debug skill to the knowledge base.' It specifies the exact resource (debug skill) and action (save), and distinguishes from siblings like list_debug_skills, get_debug_skill, and search_debug_skills by focusing on creation.

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?

The description advises when to use the tool: 'Call this after successfully debugging a new type of issue to capture the experience for future reuse.' This provides explicit context, though it does not mention when not to use or alternative tools. However, siblings do not overlap significantly.

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/YangPan2020/debugforge'

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