Skip to main content
Glama

wave_edit_file

Opens a specified file for editing in Wave Terminal, requiring a confirmation call and approved=true to execute.

Instructions

Open a file for editing in Wave Terminal. First call returns a confirmation; pass approved=true to execute. Requires the Seashell Helper block.

Input Schema

NameRequiredDescriptionDefault
fileYesAbsolute path to the file to edit
tab_idYesTab ID where the editor block will open
approvedNoSet to true to confirm and execute

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.5

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden and discloses the important confirmation workflow and helper-block prerequisite. It does not describe error behavior or full side effects, but it gives the key behavioral context an agent needs before invoking it.

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 core action, followed by the confirmation rule and prerequisite. There is no wasted language.

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

Completeness4/5

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

For a tool with no annotations and no output schema, the description adequately covers the action, approval flow, and prerequisite. It stops short of explaining file existence requirements, failure modes, or the exact confirmation response, but it is largely complete.

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 100%, so the schema already documents file, tab_id, and approved. The description reinforces the approved workflow but adds little parameter meaning beyond the schema text, so the baseline 3 is appropriate.

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 and resource: opening a file for editing in Wave Terminal. It is clear what the tool does, though it does not explicitly distinguish itself from the sibling wave_view_file.

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

Usage Guidelines4/5

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

It explains the two-step usage flow: the first call returns a confirmation and approved=true executes. It also states the Seashell Helper block prerequisite, but it does not name alternatives or when not to use this tool.

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