Skip to main content
Glama

restore

Destructive

Restores MCP server configurations from a lockfile by reinstalling each server into the target client. Environment variables are not stored and must be set manually.

Instructions

Recreate MCP server configurations from a lockfile.

Reads mcp-tap.lock from the project directory and reinstalls each server into the target MCP client config. Environment variable values are NOT stored in the lockfile, so the user must set them manually.

Args: project_path: Root directory of the project containing mcp-tap.lock. client: Target MCP client(s). Comma-separated names like "claude_desktop,cursor", "all" for every detected client, or empty to auto-detect the first available. dry_run: When True, show what would be installed without actually installing or writing config.

Returns: Restore result with per-server status, required env vars, and overall success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_pathYes
clientNo
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 include destructiveHint: true, and the description confirms the tool modifies configuration by reinstalling servers. It also discloses limitations about env vars and the dry_run option, adding value beyond 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?

The description is well-structured with a summary, docstring-style parameter details, and a returns section. It is informative but could be slightly more concise without losing clarity.

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 complexity of restoring from a lockfile with multiple clients, the description covers input parameters, behavior, and return values (per-server status, env vars, success). Output schema exists, so return description is adequate.

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

Parameters5/5

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

Schema description coverage is 0%, but the description provides detailed explanations for all three parameters: project_path (root directory), client (comma-separated names, 'all', or auto-detect), and dry_run (shows without installing). This compensates fully.

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?

The description uses specific verb 'Recreate' and resource 'MCP server configurations from a lockfile', clearly distinguishing it from siblings like configure_server or remove_server.

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?

The description states the tool reads a lockfile and reinstall servers, and explicitly notes that environment variable values are not stored, requiring manual setting. It does not explicitly state when not to use it or provide alternatives, but the context is clear.

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