Skip to main content
Glama

Migrate a project's agent config

migrate_project
Destructive

Convert a project's existing agent instructions and MCP configuration into target tool configs for Claude, Codex, Cursor, or Gemini, previewing changes by default before writing files.

Instructions

Generate target-tool config files from the project's existing instructions and MCP config. DRY RUN by default: returns the plan. Files are written only when write=true; existing files are skipped unless overwrite=true (Gemini settings.json is merged).

Input Schema

NameRequiredDescriptionDefault
dirYesAbsolute path of the project root
fromNoWhich tool's config to use as the sourceauto
linkNonone
writeNo
targetsYes
overwriteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the destructiveHint annotation by disclosing that the default is a dry run returning a plan, that files are only touched when write=true, that existing files are skipped unless overwrite=true, and that Gemini settings.json is merged rather than replaced. That is exactly the behavioral context an agent needs before a potentially destructive call.

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?

Two sentences, front-loaded with the action and immediately followed by the safety-critical default. Every clause carries information; nothing is padded.

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 destructive-by-annotation mutation tool with no output schema, the description covers the essential safety contract and the merge edge case. Remaining gaps are the unexplained link/source semantics and no signal about what the returned plan looks like.

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 coverage is only 33%, yet the description explains write and overwrite thoroughly and flags the merge exception. However, the 'link' parameter (none/symlink/import) and 'from' source selection get no explanation in either schema or description, leaving real gaps.

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?

States a specific verb and resource: generate target-tool config files from the project's existing instructions and MCP config. That is clearly a whole-project migration, distinct from the narrower feel of convert_rules or convert_mcp_config, but the description never names those siblings to confirm the boundary.

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 by the dry-run-by-default framing (call it to preview a migration), but there is no explicit when-to-use-this-vs-alternatives guidance despite three plausible sibling tools. The write/overwrite conditions describe safe invocation rather than tool selection.

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