Skip to main content
Glama

kernel_code_skill_get

Retrieve the saved script of a code skill to review its logic or reuse it as a starting point for a new skill.

Instructions

Read the script of a saved code skill, to check it or to start a new one from 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": {
      "name": "<name>"
    },
    "name": "kernel_code_skill_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe skill's name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the full behavioral load. "Read" implies a non-destructive operation, and "the script" tells the agent what comes back, which is the most important behavioral fact here. It does not say what happens if the name is unknown or if the skill has no script, leaving error behavior undefined.

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?

One sentence, front-loaded with the action and its object, with no filler. The trailing purpose clause is slightly loose, since "start a new one from it" does not make clear whether that is done elsewhere, but nothing is wasted.

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?

For a single-parameter read tool with no output schema and no annotations, the description covers the action, the target, and the returned content. The main remaining gap is failure behavior for an unknown skill name, which is minor at this complexity level.

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?

There is one parameter with 100% schema coverage, so the schema already documents that `name` identifies the skill. The description only implies via "a saved code skill" that the name must reference an existing skill; it adds no syntax or naming-convention details. 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 gives a concrete verb and resource: it reads the script belonging to a saved code skill, which distinguishes it from the save, delete and list siblings. It does not explicitly name those siblings or state that it targets one skill only, but the purpose is unambiguous.

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?

It gives two use cases: inspecting an existing script, and using it as a starting point for a new one. That is genuine context for when to call it, but it says nothing about when not to call it, whether the skill must already exist, or which sibling to use for related tasks.

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