Skip to main content
Glama

Execute a file

termix_files_execute_file

Execute a file on a remote host by specifying its file path and session ID. Ideal for running scripts or binaries on managed systems.

Instructions

Execute a file. Executes a file on the remote host.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathNo
sessionIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.3/5.0
Behavior2/5

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

The description adds no behavioral context beyond what annotations already indicate. Annotations show readOnlyHint=false and destructiveHint=false, but the description does not disclose potential side effects, output behavior, or requirements. It only adds 'remote host,' which is a location clarification, not a behavioral trait.

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?

The description is concise but contains redundancy: the first sentence 'Execute a file.' exactly duplicates the title </br> The second sentence adds only the remote-host qualifier. The structure is not front-loaded with novel information, and the first sentence wastes space.

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?

For a tool that executes a file on a remote host, the description is severely incomplete. It lacks expected behavior (what does 'execute' mean? what is the output?), does not explain session requirements, and provides no parameter details. With no output schema and only vague annotations, the agent cannot safely invoke this tool.

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

Parameters1/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 for the undocumented parameters filePath and sessionId.</br> It does not — the description mentions neither parameter's meaning, format, or relationship to each other. An agent is left to guess what 'filePath' and 'sessionId' refer to.

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 a clear verb and resource: 'Execute a file' and clarifies it executes on the remote host, which distinguishes it from other file operations like read/write. However, it essentially restates the title and adds only the remote-host scope, so it doesn't fully earn a 5 by explicitly differentiating itself from sibling tools such as 'execute_snippet_host'.

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, no prerequisites (e.g., must have an active SSH session), and no mention of conditions or exclusions. The description only restates the action without providing any contextual decision support.

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