Skip to main content
Glama

rename

Rename a node, or move it to another section (a move is a rename: income.rent → income.costs.rent). Every formula that referenced it is rewritten in the same op. A section path renames the whole section.

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": {
      "model": "<model>",
      "name": "<name>",
      "to": "<to>"
    },
    "name": "rename"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
nameYes
modelYesModel uid (`model_…`), from model_list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-idempotent, non-destructive mutation, and the description adds genuinely new behavioral context beyond them: every formula referencing the renamed node is rewritten in the same operation, and a section path renames the entire section. That cascade/blast-radius information is exactly what an agent needs before invoking a mutation. It stops short of stating failure modes, reversibility, or return content.

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?

Three compact sentences, front-loaded with the core action and its dual meaning, with the example doing the heavy lifting on path syntax and the cascade note last. No filler or restatement of the tool name.

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?

For a 3-parameter mutation with no output schema, the definition covers the essentials: what is renamed, what a move means, and the side effect on referencing formulas. What remains unstated is the response shape, collision/error behavior, and whether a section rename can be undone — minor but real gaps for a non-idempotent mutation.

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?

Schema coverage is only 33% — only `model` is documented, and it already points to model_list. The description compensates partially: the worked example shows that `name` and `to` are dot-separated paths and that a path containing a section segment performs a move, plus that a section path targets a whole section. It still never explicitly defines `name` as the current full path versus a leaf identifier, so the gap is narrowed but not closed.

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 states a specific verb and resource ('Rename a node'), then immediately broadens the scope with 'or move it to another section' and a concrete path example (`income.rent` → `income.costs.rent`). It also covers the section-level case, so an agent knows exactly what object class this operates on without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The definition clarifies an important semantic equivalence (a move is a rename), which effectively tells the agent not to look for a separate 'move' tool. However, it never names an alternative or states when to prefer a different operation (e.g. add_nodes plus delete) nor any preconditions. Usage is implied rather than prescribed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources