Skip to main content
Glama

sysknife_grub_get_kargs

Read-onlyIdempotent

Reads the current GRUB_CMDLINE_LINUX value from /etc/default/grub to inspect kernel boot parameters without making changes.

Instructions

Read-only SysKnife action GrubGetKargs. read current GRUB_CMDLINE_LINUX from /etc/default/grub — no params; read-only

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.27.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the repeated 'read-only' phrasing adds nothing new. The genuinely useful addition is the data source path (/etc/default/grub), which tells the agent where the value comes from and that it is a local openWorldHint=false read; no return format or failure modes are described.

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 short line with the key fact (what is read, from where) up front. Minor waste from stating 'read-only' twice and restating the tool name, but nothing that harms comprehension.

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 trivial parameterless read with no output schema, the description supplies the resource, scope, source file, and safety posture. The only gap is the shape of the returned value (raw string vs parsed key/value), which is minor for such a simple action.

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?

Zero-parameter tool, so the baseline is 4. The description explicitly confirms 'no params', matching the empty schema, so there is nothing left ambiguous.

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?

States a specific verb+resource pair ('read current GRUB_CMDLINE_LINUX') and names the exact file it reads, so the agent knows precisely what it gets. The leading 'SysKnife action `GrubGetKargs`' restates the tool name, but the second clause disambiguates fully. No sibling tool covers GRUB kernel args, so it is distinguishable in context.

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?

Says 'no params; read-only', which implies it is safe to call freely, but gives no explicit when-to-use/when-not-to-use guidance or mention of alternatives (none exist among siblings). Adequate but minimal.

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