Skip to main content
Glama

shared_write

Idempotent

Write a UTF-8 file into the local shared workspace to support secure SSH server management and file transfers. Specify path and content for storage and execution.

Instructions

Write one UTF-8 file into the local shared workspace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
contentYes
full_outputNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already convey idempotency and non-destructiveness, lowering the bar. The description adds the useful detail that the file is UTF-8 encoded, but it does not disclose whether existing files are overwritten, whether directories are created, or what edge cases exist. No contradiction with annotations is present.

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?

The description is a single, front-loaded sentence with no filler words. It is appropriately concise, though it sacrifices needed parameter and behavior detail for brevity.

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?

The tool is relatively simple and has an output schema plus annotations, so the description does not need to explain return values. However, the absence of any explanation for the full_output parameter and the lack of path-related conventions leave an incomplete picture for fully correct invocation.

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 by explaining the path and content parameters. It does not mention path, content, or the full_output flag at all; the only semantic hint is that the file is UTF-8 encoded. This is insufficient for an agent to confidently interpret all three parameters.

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 clearly states the action ('Write'), the resource ('one UTF-8 file'), and the location ('local shared workspace'). It distinguishes itself from sibling read tools like shared_read and from host_* tools by emphasizing 'local', though it does not explicitly name any sibling.

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

Usage Guidelines3/5

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

The description implies usage for writing files in the local shared workspace, which gives useful context among siblings. However, it provides no explicit guidance about when to prefer this tool over alternatives, and it does not mention exclusions or conditions such as path conventions or conflicts with host transfer tools.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LusiyAvA/msaw'

If you have feedback or need assistance with the MCP directory API, please join our Discord server