Skip to main content
Glama
ChemInventory MCP Server

ChemInventory MCP Server

by niclas-gr

rename_file

Destructive

Rename a ChemInventory file by providing its file ID and new file name, including the extension.

Instructions

Rename a file.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "file_id": "<file_id>",
      "file_name": "<file_name>"
    },
    "name": "rename_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYes
file_nameYesNew name including extension

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and openWorldHint=false, so the agent knows this mutates state and stays within a closed system. The description adds nothing beyond that: it does not say whether an existing name collides, whether the extension must be preserved, what permissions are needed, or whether the old name is recoverable (it is not). No annotation contradiction, but no added value either.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The sentence is short but that brevity reflects under-specification rather than efficiency; there is no front-loaded scope, constraints, or outcome statement to justify the minimal 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?

An output schema exists, so return values need not be explained, but for a destructive mutation with a partially documented schema the description should at minimum cover name-collision behavior, the extension rule, and the effect on any links to the file. None of that is present.

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

Parameters2/5

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

Schema coverage is only 50%: file_name is documented ("New name including extension") while file_id has no description at all. The description text mentions no parameters and therefore does nothing to compensate for the undocumented file_id or to reinforce the extension requirement.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Rename a file." is effectively a restatement of the tool name rename_file, with no detail about scope, target object type, or how it differs from the sibling rename_file_category. An agent cannot tell from this text whether it operates on files, categories, or both.

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 when-to-use guidance, no prerequisites, and no pointer to the related rename_file_category sibling. The only implied guidance is that the operation concerns a file, which the name already conveys.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.