Skip to main content
Glama

rename_layer

Rename an existing layer and update all entities on it to the new name.

Instructions

Rename an existing layer. Any entities on the old layer are updated to the new layer name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
new_nameYes
old_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that entities on the old layer are reassigned to the new name, but omits permissions, error conditions, undo behavior, and what happens if the old layer is missing or the new name conflicts.

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 sentences, front-loaded with the action and followed by the key side effect. No wasted words.

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?

Covers the core action and one important side effect for a simple two-parameter mutation. However, with no annotations and no output schema, it should say more about failure modes, constraints, and layer-name rules to be fully complete.

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 description coverage is 0%, so the description must compensate, but it only implicitly maps 'old layer' and 'new layer name' to old_name and new_name. It provides no constraints, validation rules, or naming conventions.

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 (rename) and resource (layer) and describes the effect on entities. It does not explicitly distinguish this tool from rename_raster_layer or clarify vector vs. raster layers, so it falls short of a 5.

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 explicit when-to-use guidance, no alternatives, and no prerequisites are given. The description only implies the tool's usage by naming the action.

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