Skip to main content
Glama

solari_write_file

Write a text file into the guest.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "sessionId": "<sessionId>",
      "path": "<path>",
      "content": "<content>"
    },
    "name": "solari_write_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
contentYes
sessionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing: no word on whether an existing file at the path is overwritten, whether parent directories are created, what encoding is assumed, or what permissions/auth are needed. Only the bare mutation nature is implied by 'Write'.

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?

A single short sentence with no wasted words and the action front-loaded, but the brevity here reflects under-specification rather than disciplined conciseness. There is no structure to speak of beyond the one clause.

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?

Although the tool is operationally simple (three required string params), the absence of annotations, 0% schema coverage, and no output schema leave critical facts unstated: overwrite behavior, target session semantics, error/return shape. An agent could call it, but could easily destroy an existing file or fail on path assumptions.

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% for all three parameters, and the description does not compensate: it never mentions sessionId (which session/guest target), path (absolute vs relative, directories), or content (size limits, encoding). 'Text file' gives only a hint about the content parameter.

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 specific verb ('write') and resource ('a text file') and scopes it to 'the guest', which implicitly separates it from solari_read_file and the browser/command siblings. What 'the guest' means (a VM/container managed by Solari) is never defined, so the object of the action stays somewhat abstract.

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 when-to-use guidance, no statement of prerequisites (e.g. whether a session must be connected first), and no mention of alternatives such as solari_exec for writing files via shell. The agent must infer everything about invocation context.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources