Skip to main content
Glama

rename_document

Rename a document by updating its title within a specified workspace. Use it for document titles only; rename tasklist tasks with rename_task instead.

Instructions

Rename a document. NOTE: Do NOT use this for tasks in tasklists - use rename_task instead.

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": {
      "workspace": "<workspace>",
      "documentId": "<documentId>",
      "newTitle": "<newTitle>"
    },
    "name": "rename_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
newTitleYesNew title for the document
workspaceYesWorkspace path/name
documentIdYesDocument ID or path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of disclosure, and it says nothing beyond the name implying mutation. It does not state permission or workspace access requirements, whether the old title is lost, whether the rename propagates to links/references, or what a successful call returns.

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 short sentences, zero filler: the core action is front-loaded and the caveat follows immediately. There is no redundant restatement of the tool name or title.

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?

For a simple three-parameter mutation with no annotations and no output schema, the description is minimally adequate — the exclusion note is valuable, but permission requirements and the effect of renaming on existing references are left unexplained. It is complete enough to select the tool but not to predict its side effects.

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 description coverage is 100%, so all three parameters (newTitle, workspace, documentId) are already documented in the schema. The description adds no formatting, length, uniqueness, or path-resolution detail beyond that, 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?

The description opens with a specific verb and resource ("Rename a document"), which unambiguously identifies the operation. It also carves out one sibling (rename_task) by name, but gives no differentiation from the many other document-mutating siblings in the list, 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 Guidelines4/5

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

It gives an explicit exclusion — do not use for tasks in tasklists — and names the tool to use instead, which is exactly the kind of routing guidance an agent needs. It stops short of 5 because it never states the positive condition (i.e. that this is the tool for renaming regular documents and pages), leaving that to inference.

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