Skip to main content
Glama

apply_stack

Destructive

Install a group of MCP servers from a built-in stack name or a YAML file. Preview installation with dry_run before making changes.

Instructions

Install a group of MCP servers from a stack definition.

Stacks are shareable profiles that bundle multiple MCP servers together. Use a built-in stack name or a path to a .yaml file.

Built-in stacks: data-science, web-dev, devops. Use dry_run=True to preview what would be installed without making changes.

Args: stack: Built-in stack name (e.g. "data-science") or path to .yaml file. clients: Target MCP client(s). Same as configure_server. scope: "user" or "project". Same as configure_server. project_path: Project directory path. Required when scope="project". dry_run: If True, only show what would be installed without installing.

Returns: Result with: stack_name, servers_total, servers_installed, servers_failed, per_server_results, and any env_vars_needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stackYes
clientsNo
scopeNouser
project_pathNo
dry_runNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations provide destructiveHint: true. The description confirms installation action and highlights dry_run=True for preview without changes. Adds details about return values (per-server results, env_vars_needed). No contradiction with annotations.

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?

Well-structured with a clear introductory sentence, explanation of stacks, and a clean list of arguments. Each sentence adds value. Not overly verbose, though slightly longer than necessary for a tool with many parameters.

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

Completeness5/5

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

Given the tool's complexity (5 parameters, destructive action, output schema), the description covers all aspects: purpose, usage, parameters, dry run capability, and return structure. No missing information for an agent to use the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so description compensates. Clearly explains each parameter: stack (built-in name or .yaml path), clients and scope ('Same as configure_server'), project_path (required when scope='project'), and dry_run (preview without changes). Adds meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states 'Install a group of MCP servers from a stack definition.' The verb 'install' and resource 'group of MCP servers' are specific. The concept of stacks (shareable profiles) distinguishes it from sibling tools like configure_server or list_installed.

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?

Explains that stacks are shareable profiles and mentions built-in stacks (data-science, web-dev, devops) and the option to use a .yaml file. Provides context for when to use each. However, does not explicitly state when not to use this tool or suggest alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/felipestenzel/mcp-tap'

If you have feedback or need assistance with the MCP directory API, please join our Discord server