Skip to main content
Glama

websex_file

Run the file utility from the WebSex binary toolkit in an engagement namespace to identify file types; executes argv tokens directly without shell parsing.

Instructions

Run file from the WebSex binary toolkit. The container executes file directly with the supplied argv tokens; shell parsing is never used. Runs from the selected engagement namespace; use relative paths for engagement artifacts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stdinNo
argumentsYes
engagement_idYes
working_directoryNo.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that the binary is invoked with argv tokens and that shell parsing is never used, which is meaningful behavioral context. However, it omits auth requirements, error behavior, and execution constraints beyond the namespace scoping.

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?

Two tight sentences, front-loaded with what the tool runs before the operational caveats. No filler, though the middle clause on argv tokens slightly interrupts the flow of the scoping guidance.

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

Completeness3/5

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

An output schema exists, so return values needn't be explained. Still, for a 4-parameter execution tool with zero schema coverage and no annotations, the description should say more about the stdin parameter and why this differs from the generic execute siblings; what it has is adequate but incomplete.

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 0%, so the description must compensate for four undocumented parameters. It maps 'arguments' to argv tokens and implies working_directory via relative-path guidance, but says nothing about the 'stdin' parameter or the format expected by engagement_id, leaving real gaps.

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: 'Run file from the WebSex binary toolkit,' and clarifies that the container executes `file` directly. An agent can infer this is the Unix file-identification utility, but the description never distinguishes it from the generic siblings websex_execute, websex_bash, or websex_python.

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?

It gives environment context ('runs from the selected engagement namespace; use relative paths for engagement artifacts') but offers no when-to-use, when-not-to-use, or alternative guidance against the many execution siblings. The agent must guess why it should pick websex_file over websex_execute.

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