Skip to main content
Glama
Knuckles-Team

Systems Manager

Sm File Operations

sm_file_operations

Manage files and logs by listing, searching, reading, writing, appending, creating, or deleting files and retrieving or tailing system logs.

Instructions

Operations for file and log management

Input Schema

NameRequiredDescriptionDefault
depthNoDepth for list_files
linesNoNumber of lines to tail
actionYesAction to perform. Must be one of: 'get_system_logs', 'tail_log_file', 'list_files', 'search_files', 'grep_files', 'manage_file'
contentNoContent to write/append
patternNoSearch pattern
filepathNoPath to file
recursiveNoRecursive search
file_actionNoAction for text editor/manage fileread

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.5

TDQS

C2.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, and it discloses nothing. The tool exposes write, append, delete and create via file_action and content, yet the description never warns that destructive operations are possible, nor does it mention permissions, reversibility, or that actions share one parameter bag with per-action argument requirements.

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

Conciseness2/5

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

Six words with no waste, but this is under-specification rather than conciseness — the single fragment is too thin to serve as the tool's contract. Nothing is front-loaded because there is nothing to front-load.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An eight-parameter multi-action tool spanning reads, searches, writes and deletes, with no annotations and no output schema, requires far more description than a single noun phrase. The description leaves the agent unable to determine which parameter combinations are valid for which action, or what any call returns.

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 description coverage is 100%, so the baseline of 3 applies: each parameter is documented in the schema, including the six valid action strings and the file_action enum. The description adds nothing beyond that — no mapping of which parameters apply to which action, which is the real ambiguity in this multi-action tool.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Operations for file and log management' merely restates the tool name's scope without stating a verb or any of the six concrete actions (get_system_logs, tail_log_file, list_files, search_files, grep_files, manage_file) that live only in the schema. An agent cannot tell from the description what discrete operations are actually available or how this differs from siblings like query_system_logs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus alternatives, despite an obvious overlap with the sibling query_system_logs and other operations tools. No prerequisites, no exclusions, no routing language of any kind.

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