Skip to main content
Glama
openl-tablets

OpenL MCP Server

Official

Copy Project File

openl_copy_project_file

Copy a file to a new project-relative path with automatic folder creation. Staged in working copy; commit with save tool. Ideal for duplicating rules or test sets.

Instructions

Copy a file within a project to a new project-relative path. Maps to POST /projects/{projectId}/file-copy. Intermediate destination folders are created automatically. There is NO overwrite option — if destinationPath already exists the call fails with HTTP 409; choose a different destination or delete the existing file first. The copy is staged in the working copy — commit it with openl_save_project. Use 'branch' to pin the project's branch. Use this to scaffold a new module from an existing one or clone a test set.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
branchNoBranch the project must be on for this operation. Ignored when blank. Fails if the repository has no branches or the project is on another branch. Omit for repository 'local' and non-branch repositories.
projectIdYesProject ID returned by backend. Use the exact 'projectId' value from openl_list_projects() response without modification or reformatting.
sourcePathYesProject-relative path of the source file (e.g. 'rules/Model.xlsx').
destinationPathYesProject-relative destination path (e.g. 'rules/Model-copy.xlsx'). Intermediate folders are created automatically.
response_formatNoResponse format: 'json' for structured data, 'markdown' for human-readable (default), 'markdown_concise' for brief summary (1-2 paragraphs), 'markdown_detailed' for full details with contextmarkdown
Behavior5/5

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

The description discloses key behaviors beyond annotations: no overwrite option (HTTP 409), automatic intermediate folder creation, staging in working copy requiring commit, and branch pinning behavior. Given the openWorldHint annotation, this provides sufficient transparency.

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 (4 sentences) and front-loaded with the core purpose. Every sentence adds valuable information: purpose, REST mapping, auto-creation, no-overwrite, staging, branch usage, and use cases. No fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description does not explain the success response or failure modes beyond the 409. It also omits what happens if sourcePath does not exist or if permissions are insufficient. While adequate for many use cases, it could be more complete for a mutation tool with openWorldHint.

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?

Schema coverage is 100%, so baseline is 3. The description adds meaning for destinationPath (auto-create, no overwrite) and branch (pinning to project's branch), which goes beyond the schema descriptions. Response_format is not elaborated but the enum covers it.

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 tool copies a file within a project to a new project-relative path, using a specific verb and resource. It distinguishes from siblings by providing use cases ('scaffold a new module from an existing one or clone a test set') and implicitly contrasts with move/write via the 'copy' action.

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 when to use the tool (scaffolding/cloning) and includes critical constraints (no overwrite, need to commit, branch pinning). It does not explicitly compare to sibling tools like move or write, but the usage context is clear enough for an AI agent.

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/openl-tablets/openl-mcp'

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