Skip to main content
Glama

Rename a pattern

fl_pattern_rename
Idempotent

Rename a pattern by its 1-based index, restoring the old name with a single rollback step when needed.

Instructions

Rename a pattern. One rollback step: restores the old name.

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": {
      "index": "<index>",
      "name": "<name>"
    },
    "name": "fl_pattern_rename"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesNew pattern name.
indexYes1-based pattern index.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive, and the description adds genuinely new behavioral context: the operation is reversible in a single rollback step and what that rollback restores (the old name). It does not say what happens on an invalid index or a name collision, which is the remaining gap.

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?

Two very short sentences with zero waste, and the core action is front-loaded ahead of the rollback note. Every clause earns its place.

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?

An output schema exists, so return values need not be described, and the two required params are fully documented in the schema. The reversible-operation note fills the main behavioral question an agent would have; only error/conflict handling is unaddressed.

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

Parameters3/5

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

With 100% schema description coverage on both parameters (name as 'New pattern name', index as '1-based pattern index'), the schema carries the semantics. The description adds no further meaning about parameter constraints or edge cases, so the baseline 3 applies.

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?

States a specific verb+resource pair, 'Rename a pattern', which is unambiguous about both the action and the object. It does not differentiate from sibling rename operations such as fl_playlist_rename_track, but the resource word 'pattern' does most of that work.

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?

There is no when-to-use guidance, no prerequisite (e.g. pattern must exist / be selected), and no mention of alternatives or when not to use it. The verb is clear enough that an agent can infer intent, but the description provides no routing help.

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

Deploy Server

Other Tools