Skip to main content
Glama

clone_work_item

Clone an Azure DevOps work item into a new item of the same type, copying all fields and preserving parent links. Override fields as needed.

Instructions

Clone a work item into a new item of the same type, addressed by URL or ID.

Copies all fields from the source, applies optional overrides, and preserves the parent link. Does not close the source.

Caveat — work board ≠ code repo: passing a bare numeric ID resolves the org/project from the cached repository context, which can land on the wrong organization when the work board lives in a different tenant than any of the discovered code repos. Prefer passing a full work-item URL — clones created in the wrong tenant are unrecoverable without manual cleanup.

Args: source_work_item_url_or_id: A full Azure DevOps work-item URL or a numeric work-item ID for the source. field_overrides: Optional dict of fields to override in the clone. working_directory: Optional path for repository-context resolution when using a numeric ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
source_work_item_url_or_idYes
field_overridesYes
working_directoryYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

No annotations provided, but the description fully discloses behavior: copies all fields, applies overrides, preserves parent link, does not close source, and warns about caveats. Output schema covers return values.

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?

Well-structured, front-loaded purpose, then caveat, then args. Each sentence adds value with no redundancy. Appropriate length.

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?

Output schema exists, so return values covered. Input and behavior explained well, including caveats. Missing error conditions or handling of missing source, but overall complete for a clone tool.

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?

With 0% schema description coverage, the description adds meaning for all three parameters: explains URL vs ID for source, optional override dict, and working directory for context resolution. Could list example field overrides.

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 states 'Clone a work item into a new item of the same type', which is a specific verb and resource. It clearly distinguishes from siblings like create_work_item and update_work_item.

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?

Provides explicit guidance on using URL vs numeric ID and warns about tenant resolution issues with numeric IDs. Lacks explicit when-not-to-use or alternative tools, but 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/grimlor/ado-workflows-mcp'

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