Skip to main content
Glama
YihonW

mcp-c4d-2025

by YihonW

Close Document

close_document

Close an open Cinema 4D document by index or name. Use force to discard unsaved changes when closing is refused; the last open document is replaced by a fresh empty one.

Instructions

Close an open document, identified by its list index (from list_documents) or name. Pass exactly one of the two. A document with unsaved changes is refused unless force:true — closing discards unsaved work without a prompt (unlike the GUI close). C4D always keeps at least one document, so closing the last one leaves a fresh empty document active.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoDocument name; errors if it matches zero or several open documents.
forceNoClose even with unsaved changes, discarding them. Default false.
indexNo0-based position in the document list (see `list_documents`).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.5.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full disclosure burden and delivers: closing discards unsaved work without a prompt (explicitly contrasted with the GUI), unsaved documents are refused unless force is set, and C4D's one-document minimum means the last close leaves a fresh empty document active. These are exactly the behavioral surprises an agent needs before invoking a destructive close.

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 dense sentences, each earning its place: action/identification, force/discard semantics, and the last-document edge case. No redundancy with the schema and no filler.

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?

For a destructive, conditional tool with three parameters and no annotations or output schema, the description covers every decision point: target selection, exclusivity, unsaved-change handling, and the edge case. Only the success-response format goes unmentioned, which is minor for a close operation.

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 coverage is 100%, so the baseline is 3, but the description adds the critical exclusivity constraint — 'Pass exactly one of the two' — that the schema's individual property descriptions cannot express, and ties index directly to list_documents output.

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 specific verb and resource — 'Close an open document' — and clearly anchors identification to list_documents output. This makes it immediately distinguishable from sibling tools like open_document, new_document, and save_document.

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 explicit invocation guidance: pass exactly one of index or name, source the index from list_documents, and use force:true as the escape hatch for unsaved changes. It does not explicitly name an alternative tool (e.g., save_document) as the when-not-to-use path, but the context is otherwise clear.

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

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/YihonW/mcp-c4d-2025'

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