Skip to main content
Glama

Save command to history

termix_terminal_history_save_command_history

Store a command in a host's history for later retrieval and reference.

Instructions

Save command to history. Saves a command to the command history for a specific host.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostIdNo
commandNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already indicate readOnlyHint=false, so the write nature is known. However, the description adds no behavioral context: it does not say whether the command is appended, overwritten, or deduplicated, nor what happens on duplicate or invalid hostId. For a write tool, this is a significant gap beyond the annotations.

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?

The description is short (two sentences) but somewhat redundant, repeating 'Save command to history' before elaborating. It is concise but not tightly structured; the first sentence adds little beyond the title.

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

Completeness2/5

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

For a simple write tool with 2 parameters and no output schema, the description is too thin. It does not mention behavior on duplicates, error conditions, or how it relates to other history tools (e.g., termix_hosts_get_command_history). The agent would need to guess at expected behavior and parameter usage.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It only implies hostId via 'specific host' and command via 'command', but gives no format, constraints, or whether parameters are required. Both parameters are optional in the schema, and the description does not clarify this oddity. Meaning added is minimal.

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 states the verb 'save' and the resource 'command to history' for a specific host, which is clear and distinct from sibling tools like get_command_history and delete_specific_command_history. It is not a tautology and conveys the core action, though it does not explicitly name alternatives.

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?

The description provides no guidance on when to use this tool versus alternatives. It does not mention prerequisites, when to choose it over other history tools, or any conditions that would make it appropriate. The agent is left to infer usage from the name alone.

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