Skip to main content
Glama

Rename a document

rename_document
Destructive

Change only the title of an owned document in any supported format, including imported originals. Requires the current content revision. Preserves original file revision, reader URL, publication and access settings; stale revision is rejected.

Input Schema

NameRequiredDescriptionDefault
idYes
titleYes
expectedRevisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Adds substantial information beyond the annotations: what is preserved (original file revision, reader URL, publication and access settings) and the failure mode (stale revision is rejected), which explains the non-idempotent, concurrency-checked behavior. It does not reconcile destructiveHint=true or say whether the rename is recorded/applied as a new revision, so it stops short of full disclosure.

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 sentences, no filler, front-loaded with the action and scope before prerequisites and preservation guarantees. Every sentence 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?

For a single-field mutation with no output schema, it covers prerequisite, preservation semantics, and the rejection case, while annotations carry the safety profile. Missing only minor details such as whether the change bumps the revision or how an invalid title is handled.

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

Parameters4/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 carry the load, and it does explain expectedRevision ('requires the current content revision', stale values rejected) and implies id by 'owned document'. The id format and the title's 160-char bound are left entirely to the schema, so compensation is partial.

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?

States a precise verb+resource ('Change only the title of an owned document') and immediately scopes it against the general-purpose sibling by saying only the title changes, in any supported format including imported originals. An agent can distinguish this from update_document without opening either schema.

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?

Gives clear preconditions: the document must be owned and the caller must supply the current content revision. The 'only the title' scoping implicitly routes other edits to update_document, but that alternative is never named, so usage is inferred rather than stated.

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