Skip to main content
Glama

save_workspace_profile

Saves current project context as a named workspace profile—directory, commands, environment variables, and terminal preference—and optionally writes a Warp launch config for quick reuse.

Instructions

Save current project context as a named workspace profile (directory, commands, env vars, terminal preference). Optionally also writes a Warp-native launch config to ~/.warp/launch_configurations/ so the profile appears in Warp's launch UI.

Input Schema

NameRequiredDescriptionDefault
nameYesProfile name (e.g. 'my-swift-project')
directoryYesWorking directory for this profile
default_commandsNoArray of commonly used commands for this project
environment_varsNoEnvironment variables to set when loading this profile
terminal_preferenceNoPreferred terminal for this project (Warp, iTerm, Terminal)
include_warp_launch_configNoWhen true, also write the profile as a Warp launch config under ~/.warp/launch_configurations/<name>.yaml. Default: false. Env vars are not emitted into the launch config (Warp schema does not support them at top level).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv8.0.4

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations the description carries the full burden, and it does disclose the notable side effect: an optional file written to ~/.warp/launch_configurations/ that surfaces the profile in Warp's launch UI. It does not say where profiles themselves are persisted, whether saving a name that already exists overwrites or errors, or what is returned.

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 sentences, front-loaded with the core action and followed by the optional side effect. No filler, though the second sentence is somewhat compressed and would read better split.

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?

No output schema and no annotations, so the description must cover behavior: it covers the Warp config write but leaves open profile storage location, overwrite semantics, and return value. Adequate for the happy path but incomplete for an agent needing to know the consequences of reusing a name.

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 baseline is 3. The parenthetical list of captured fields mirrors the schema properties rather than adding semantics, and the env-var exclusion note for the Warp config is already stated in the schema.

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?

Specific verb+resource: 'Save current project context as a named workspace profile', with the captured fields enumerated in parentheses. It is distinguishable from load/delete_workspace_profile by the verb, though it never contrasts itself with the similar-sounding save_template or save_ssh_profile siblings.

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?

Usage is implied ('save current project context', optional Warp launch config) but there is no explicit when-to-use guidance, no mention of when to prefer save_template instead, and no stated preconditions such as an active project context.

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