Skip to main content
Glama

rename

Destructive

Move a topic to a new id and automatically rewrite every wiki link pointing to it, including prefix links. Blocks duplicate ids and returns the count of updated links.

Instructions

Move a topic and rewrite wiki links that pointed to it.

Also rewrites prefix links: renaming scratch/archive/scratch/ fixes [[scratch/x]] links. Refuses if new_id already exists. Returns the count of rewritten links so the model knows the blast radius.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
new_idYesDestination topic id
old_idYesExisting topic id to move

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Beyond the destructiveHint annotation, the description discloses multiple behavioral traits: rewrites wiki links, handles prefix links with an example, refuses if new_id exists, and returns the count of rewritten links. This is rich, actionable context.

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 three sentences, with the core purpose front-loaded. The second sentence adds a concrete example, and the third covers constraints and return value—every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the operation, edge cases (prefix links, existing new_id), and return value. With an output schema present, there's no need to explain the count format. It's complete for a two-parameter tool.

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 100%, so the schema already documents both parameters. The description adds context about the overall operation but doesn't elaborate on parameter specifics beyond what the schema provides. Baseline 3 is appropriate.

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 clearly states 'Move a topic and rewrite wiki links that pointed to it,' giving a specific verb and resource. It also distinguishes the tool from siblings like write, edit, and delete by emphasizing the link-rewriting aspect.

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

Usage Guidelines4/5

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

The description gives clear context for when to use the tool (moving a topic and updating links) without explicitly naming alternatives. It doesn't provide exclusions or compare to siblings, but the unique behavior of rewriting links implies its specific use case.

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/garland3/basic-memory-mcp'

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