Skip to main content
Glama

save_workspace_profile

Save a named workspace profile with the project directory, commands, environment variables, and terminal preference so you can restore a consistent project setup later.

Instructions

Save current project context as a named workspace profile (directory, commands, env vars, terminal preference)

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 (Wave, iTerm, Terminal)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.5

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden for a mutation tool. It never says whether saving overwrites an existing profile of the same name, where profiles are persisted, whether the directory must exist, or whether environment_vars are stored in plaintext — all material for a write operation.

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?

One front-loaded sentence with the verb first and zero filler. The parenthetical slightly duplicates the schema's own field list, which costs it the top mark, but the definition is efficient and scannable.

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 five-parameter mutation with a nested object (environment_vars) and no annotations or output schema, one sentence is not enough. Collision/overwrite behavior, persistence location, and expected response (success only? returns the saved profile?) are all unaddressed.

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 each of the five parameters is already documented at the field level. The description's parenthetical restates the same fields without adding format, constraint, or default information beyond the schema, so baseline 3 applies.

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?

A specific verb ('Save') plus resource ('named workspace profile'), followed by a parenthetical enumerating exactly what is captured (directory, commands, env vars, terminal preference). This clearly separates it from load_workspace_profile, list_workspace_profiles and delete_workspace_profile, though it never names those siblings explicitly.

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 phrase 'current project context' implies the moment to use it, but there is no explicit when/when-not, no mention of what happens if a profile with that name already exists, and no pointer to load_workspace_profile as the counterpart operation. Guidance is inferred from the name, not stated.

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