Skip to main content
Glama

common-add-item-version-by-id

Create a new language version of a Sitecore content item by copying from an existing version. Specify source and target languages, handle children recursively, and control field copying behavior.

Instructions

Creates a version of the item (by its id) in a new language based on an existing language version.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe id of the item to add version for.
languageNoLanguage that will be used as source language. If not specified the current user language will be used.
targetLanguageNoLanguage that should be created.
recurseNoProcess the item and all of its children.
ifExistNoAppend
ifNoSourceVersionNoSkip
doNotCopyFieldsNoCreates a new version in the target language but does not copy field values from the original language.
ignoredFieldsNoList of fields that should not be copied over from original item.
databaseNoThe database containing the item (defaults to the context database).
Behavior2/5

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

With no annotations provided, the description carries full burden but only states the basic action. It doesn't disclose whether this is a safe operation, what permissions are needed, whether it's reversible, or any side effects (like affecting children when 'recurse' is true). The description lacks behavioral context beyond the minimal functional statement.

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 a single, efficient sentence that states the core purpose without fluff. However, it could be more front-loaded with key behavioral information given the complexity of the tool, but it's appropriately concise for its length.

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 9-parameter mutation tool with no annotations and no output schema, the description is inadequate. It doesn't cover the tool's behavior, error conditions, return values, or important details like how 'recurse' affects children or the implications of 'ifExist' choices. The description fails to compensate for the lack of structured metadata.

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 78%, so the schema already documents most parameters well. The description adds no parameter-specific information beyond implying language versioning. It doesn't explain parameter interactions (e.g., how 'ifExist' and 'ifNoSourceVersion' affect behavior) or provide examples, so it meets the baseline for high schema coverage.

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?

The description clearly states the verb ('Creates a version') and resource ('item'), specifying it's for adding a language version based on an existing one. It distinguishes from siblings like 'common-remove-item-version-by-id' but doesn't explicitly differentiate from 'common-add-item-version-by-path' beyond the ID vs path parameter difference.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives like 'common-add-item-version-by-path' or other versioning tools. The description implies it's for language version creation but doesn't mention prerequisites, typical use cases, or when to choose this over other methods.

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

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