Skip to main content
Glama

duplicate_report

Clone an .rdl report to a new path, automatically regenerating report and data source IDs to prevent identity collisions in Power BI Report Builder.

Instructions

Clone an .rdl to a new path. When regenerate_ids=true (default), every rd:DataSourceID and any rd:ReportID is rewritten to a fresh uuid4() so Power BI Report Builder doesn't refuse to load the duplicate due to identity collision. Atomic-write convention from RDLDocument.save_as. Refuses if dst_path already exists. Returns {src, dst, regenerated_ids: list[str]}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dst_pathYes
src_pathYes
regenerate_idsNo
Behavior5/5

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

With no annotations provided, the description fully discloses the tool's behavior: cloning with ID regeneration, atomic-write, refusal on existing destination, and return value format. This is comprehensive and leaves no ambiguity.

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 concise (3 sentences + return type), front-loaded with the primary action. Every sentence adds essential information without redundancy.

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?

The description covers the tool's purpose, default behavior, failure condition, and return value. It even explains the rationale for ID regeneration. This is complete for a complex clone operation.

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?

The description adds significant meaning beyond the schema, explaining the effect of 'regenerate_ids' with specifics about UUID rewriting for DataSourceID and ReportID. It clarifies that 'dst_path' is the new path and implies 'src_path' is the source.

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 a specific verb 'clone' and resource '.rdl', clearly distinguishing it from siblings like 'backup_report' or 'create_report'. It explicitly states the action and the file type.

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 explains the default behavior of 'regenerate_ids' and why it is needed (to avoid identity collisions in Power BI Report Builder). It also mentions atomic-write convention and failure condition. While it doesn't explicitly compare to alternatives, the context is clear enough for when to use this tool.

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/mafaq229/pbirb-mcp'

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