Skip to main content
Glama
QuantConnect

QuantConnect

Official
by QuantConnect

update_file_name

Idempotent

Rename files in QuantConnect projects to organize code and maintain clarity in algorithmic trading strategies.

Instructions

Update the name of a file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorsNoList of errors with the API call.
successNoIndicate if the API request was successful.
Behavior3/5

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

The description states 'Update' which implies a mutation operation, consistent with the idempotentHint annotation. However, it doesn't add meaningful behavioral context beyond what annotations provide - no mention of permissions needed, whether the operation is reversible, what happens if the new name conflicts with existing files, or any rate limits. With annotations covering idempotency, the description adds minimal value.

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 maximally concise - a single sentence with no wasted words. It's front-loaded with the core purpose and uses straightforward language. Every word earns its place in communicating the basic function.

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 mutation tool with 4 parameters, 0% schema description coverage, and only idempotentHint annotation, the description is insufficient. While an output schema exists (which reduces the need to describe return values), the description doesn't address critical context like parameter meanings, usage scenarios, or behavioral constraints beyond the basic operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description provides zero information about parameters. With schema description coverage at 0% (the schema has no parameter descriptions), the description fails to compensate by explaining what parameters are needed, their purposes, or how they relate to the file renaming operation. This leaves all 4 parameters undocumented.

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 'Update the name of a file' clearly states the verb ('update') and resource ('name of a file'), making the purpose immediately understandable. It doesn't specifically differentiate from sibling tools like 'update_file_contents' or 'patch_file', but the focus on 'name' rather than 'contents' provides some implicit distinction.

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?

The description provides no guidance on when to use this tool versus alternatives like 'update_file_contents', 'patch_file', or 'create_file'. There's no mention of prerequisites, constraints, or specific scenarios where renaming a file is appropriate versus other file operations.

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

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