Skip to main content
Glama
mohamedarif-m

IBM Content Services MCP Server

create_document

Creates a document in the content repository with specified properties, including class, metadata, and file attachments. Requires prior retrieval of class identifiers and property descriptions.

Instructions

PREREQUISITES IN ORDER: To use this tool, you MUST call two other tools first in a specific sequence.

  1. determine_class tool to get the class_identifier.

  2. get_class_property_descriptions to get a list of valid properties for the given class_identifier

Description: Creates a document in the content repository with specified properties.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
class_identifierNoThe class identifier for the document. If not provided, defaults to "Document".
idNoThe unique GUID for the document. If not provided, a new GUID with curly braces will be generated.
document_propertiesNoProperties for the document including name, content, mimeType, etc.
file_in_folder_identifierNoThe identifier or path of the folder to file the document in. This always starts with "/".
checkin_actionNoCheck-in action parameters. CheckinMinorVersion should always be included.
file_pathsNoOptional list of file paths to upload as the document's content.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. It does not disclose side effects (e.g., check-in behavior, auto-classification), required permissions, or what happens to existing documents. The prerequisites are helpful but not behavioral.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description includes a bold prerequisites section and a one-sentence summary, but the structure is somewhat redundant (two 'Description:' labels). It could be more concise by integrating the prerequisites into a single directive.

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

Completeness2/5

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

Despite the output schema, the description lacks details about default behaviors (e.g., defaults for class_identifier and id generation) and the overall creation flow. It feels incomplete for a tool with 6 parameters.

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 the input schema already documents all parameters. The description adds no extra meaning beyond the schema, which is adequate but not exceptional.

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 clearly states the action ('Creates a document in the content repository with specified properties'), which identifies the verb and resource. It distinguishes from sibling tools like create_folder, but could be more specific about the underlying system.

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 explicitly lists prerequisites in order (determine_class, get_class_property_descriptions), guiding the agent on when and how to prepare. It does not explicitly state when not to use the tool, but the prerequisites provide strong context.

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/mohamedarif-m/filenet-mcp-localfile'

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