Skip to main content
Glama

vebhost_write_file

Записать или создать текстовый файл. Появляется новая версия, старая остаётся для отката. Содержимое проходит проверку рисков.

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": {
      "slug": "<slug>",
      "path": "<path>",
      "content": "<content>"
    },
    "name": "vebhost_write_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoЗаметка к версии
pathYes
slugYes
contentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With zero annotations the description carries the full burden, and it does disclose two substantive traits: a new version is created and the old one is retained for rollback, and content passes risk checks. It omits consequences of a failed risk check, permission/auth requirements, and whether an existing file is overwritten or rejected — important gaps for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action, then the versioning consequence, then the validation note. No filler; every sentence contributes a distinct fact.

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?

For a mutation tool with no annotations, no output schema, and three required undocumented parameters, the definition covers versioning and risk validation but leaves failure behavior, overwrite semantics, and path resolution unstated. It is adequate but not complete enough to call confidently without inspecting the schema further.

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 coverage is 25% and only 'note' has a field description; the three required parameters (slug, path, content) are undocumented in both schema and description. The description says nothing about how path resolves relative to slug, whether directories are auto-created, or encoding/format constraints, so it does not compensate for the coverage gap.

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 gives a concrete verb and resource in 'Записать или создать текстовый файл', which is far more specific than the tool name alone and clearly separates it from read/delete siblings implied by the naming. It stops short of naming an alternative tool or stating the scope the file lives in, so the differentiation is inferred rather than stated.

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?

No guidance on when to use this versus other write-capable siblings such as the apply/publish/update tools, and no prerequisites or exclusions. The agent is told what it does but not when to reach for it.

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