Skip to main content
Glama

sysknife_get_sysctl

Read-onlyIdempotent

Read a Linux kernel parameter (sysctl) by dotted key, or omit the key to dump all parameters, for read-only inspection.

Instructions

Read-only SysKnife action GetSysctl. read a kernel parameter (sysctl) — param: key (optional, dotted e.g. 'net.ipv4.ip_forward'; omit to dump all); read-only

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.27.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so safety is fully covered; the description's repeated 'read-only' adds nothing. The one piece of genuine behavioral content is 'omit to dump all', which tells the agent the default scope of the call. No information about output shape or failure modes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loaded, but it wastes space on redundancy: 'Read-only SysKnife action GetSysctl' and the trailing '; read-only' restate the same fact twice and echo the tool name. Stripping that duplication would leave a tighter, more informative sentence.

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 simple single-purpose read tool with no output schema, the definition covers purpose, the optional key parameter, and the no-key default. The main omission is what the returned data looks like (single value vs. full sysctl table), which the agent must infer from 'dump all'.

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 input schema declares no properties at all (additionalProperties: true), so the description is the only source of parameter information — and it delivers: it names `key`, marks it optional, gives the dotted format with a concrete example ('net.ipv4.ip_forward'), and explains the omit-to-dump-all semantics. That is substantial added meaning over an empty schema.

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 and resource: 'read a kernel parameter (sysctl)', which clearly separates it from the many other sysknife_get_* siblings that read different resources (disk usage, memory, mounts, etc.). The dotted-key example makes the resource concrete, though it never explicitly contrasts itself with any named sibling.

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 does give one real usage rule: pass a dotted key to read one parameter, or omit it to dump all. That is implied guidance for the two modes, but there is no mention of prerequisites, permissions, or when another tool (e.g. sysknife_get_host_state) would be preferable.

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