Skip to main content
Glama
DollhouseMCP

DollhouseMCP

Official

sync_portfolio

Sync local portfolio elements with GitHub using additive, mirror, or backup modes to manage content across repositories while maintaining data safety with preview options.

Instructions

Sync ALL elements in your local portfolio with your GitHub repository. By default uses 'additive' mode which only adds new items and never deletes (safest). Use 'mirror' mode for exact sync (with deletion confirmations). Use 'backup' mode to treat GitHub as backup source. ALWAYS run with dry_run:true first to preview changes. For individual elements, use 'portfolio_element_manager' instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directionNoSync direction: 'push' (upload to GitHub), 'pull' (download from GitHub), or 'both' (bidirectional sync). Defaults to 'push'.
modeNoSync mode: 'additive' (default, only adds new items, never deletes), 'mirror' (makes exact match, requires confirmation for deletions), 'backup' (GitHub as backup, only pulls missing items locally). Defaults to 'additive' for safety.
forceNoWhether to force sync even if there are conflicts. Use with caution as this may overwrite changes. In 'mirror' mode, this skips deletion confirmations.
dry_runNoShow what would be synced without actually performing the sync. RECOMMENDED to run with dry_run:true first to preview changes.
confirm_deletionsNoIn 'mirror' mode, require explicit confirmation for each deletion. Defaults to true unless force:true is set.
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behavioral traits: the default 'additive' mode as safest (never deletes), 'mirror' mode requires deletion confirmations, and 'backup' mode treats GitHub as a backup source. It also advises dry-run usage for safety. However, it lacks details on error handling, rate limits, or authentication requirements, which are relevant for a sync operation.

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?

The description is appropriately sized and front-loaded, starting with the core purpose. Every sentence adds value: explaining modes, giving safety advice, and directing to alternatives. There is no wasted text, and the structure flows logically from general to specific guidance.

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?

Given the complexity of a sync tool with 5 parameters and no annotations or output schema, the description does well to cover purpose, usage guidelines, and key behaviors. It addresses safety with dry-run advice and mode explanations. However, it lacks details on output format, error cases, or authentication needs, which are minor gaps in an otherwise comprehensive description.

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 schema already documents all parameters thoroughly. The description adds minimal parameter semantics beyond the schema, such as emphasizing 'additive' as the default for safety and recommending dry_run usage. This meets the baseline of 3, as the schema does the heavy lifting, but the description provides some contextual reinforcement.

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 clearly states the verb ('sync') and resource ('ALL elements in your local portfolio with your GitHub repository'), making the purpose specific. It distinguishes from sibling 'portfolio_element_manager' by specifying this is for bulk operations versus individual elements, providing clear differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool versus alternatives: it states 'ALWAYS run with dry_run:true first to preview changes' and 'For individual elements, use 'portfolio_element_manager' instead.' This includes both procedural advice and a clear alternative tool, covering when-not scenarios effectively.

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/DollhouseMCP/mcp-server'

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