Skip to main content
Glama
EdAlXGoAm

Túnel Chat MCP

by EdAlXGoAm

Crear o modificar archivo

modificar_archivo
Destructive

Create or overwrite a file in an authorized local workspace. Optionally require local approval for the first call before writing.

Instructions

Crea o sobrescribe un archivo. La primera llamada puede generar una solicitud de aprobacion local.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modoYes
rutaYes
formatoNo
confirmarNo
contenidoYes
aprobacion_idNo
sha256_esperadoNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.1

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the safety profile is covered. The description adds one genuinely new behavioral fact – the first call may trigger a local approval request – but says nothing about the confirmar/aprobacion_id flow, reversibility, or what happens to an existing file on overwrite.

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 short sentences, front-loaded with the core action, with no filler. It is arguably too terse for a 7-parameter mutation tool, but as written every sentence carries information.

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?

For a destructive write tool with 7 undocumented parameters and no output schema, the description is far too thin. It omits the approval/confirmation mechanics hinted at by confirmar and aprobacion_id, and gives no sense of what the tool returns or how failure is signaled.

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% across 7 parameters, so the description must compensate and largely does not. Only the overwrite concept loosely maps to the 'modo' enum; ruta, contenido, formato, confirmar, aprobacion_id and sha256_esperado are left entirely unexplained.

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+resource ('crea o sobrescribe un archivo'), which clearly separates it from read/delete/copy siblings such as leer_archivo or eliminar_archivo. It does not explicitly name an alternative, but the create/overwrite scope aligned with the 'modo' enum is unambiguous.

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 indication of when to choose this tool over siblings like guardar_imagen_chatgpt or copiar_elemento, nor any prerequisites for use. The only usage-adjacent statement is the approval-request note, which describes a side effect rather than guiding selection.

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