Skip to main content
Glama
WebCenter Content MCP Server

WebCenter Content MCP Server

by JohnRSim

wcc_doc_write

Destructive

Upload a new document or file revision, or update document metadata without re-uploading the binary in WebCenter Content.

Instructions

Write to a document in WebCenter Content. Two modes:

  • new-revision — upload a new file revision. Requires filePath + a dDocName ref.

  • metadata-only — change metadata without re-uploading the binary. Accepts either ref shape.

Metadata is supplied as a string→string map; only the supplied keys are touched. Existing fields not listed remain unchanged.

The filePath is validated against the server's PathPolicy in stdio / Electron mode. In hosted (SaaS) mode this tool is disabled — filesystem uploads are not available; the caller would need a different ingest path.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
okYes
dIDYesInternal revision id. The tool resolves it via a follow-up metadata read; it may still be empty immediately after `new-document` if the document is in conversion — resolve later via `wcc_doc_get`.
modeYes
dDocNameYes
dRevisionIDYesRevision identifier. Same resolution caveat as `dID` for a freshly-created document.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A4.1/5.0
Behavior4/5

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

With destructiveHint=true and openWorldHint=true already declared, the description adds real context: metadata is a partial update where unlisted fields are preserved, and filePath is canonicalised through the server's PathPolicy. It also discloses the environment-dependent disablement in SaaS mode, which no annotation conveys. It stops short of saying whether a revision upload is recoverable or how versioning behaves, which matters given the destructive hint.

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

Conciseness4/5

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

Front-loaded with the purpose, then bulleted modes, then update semantics, then environment constraints — a sensible order with little filler. The "Two modes" framing is compact but wrong, which costs it a point; otherwise nearly 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?

For a destructive multi-mode write tool, the description covers mode selection, partial-update semantics, path validation, and the hosted-mode disablement. An output schema exists, so return values need not be explained. The only gap is the unmentioned new-document mode, which the schema still exposes via its const enum.

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 100%, so the baseline is 3, but the description adds a mode-to-parameter mapping the schema does not state in prose (new-revision requires filePath plus a dDocName ref; metadata-only accepts either ref shape). It does not mention createPrimaryMetaFile or createAlternateMetaFile at all, leaving those to the schema.

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 ("Write to a document in WebCenter Content") and then enumerates the write modes with their required inputs, which is well beyond a tautology. However it declares "Two modes" when the schema actually defines three (new-revision, new-document, metadata-only), so the stated purpose under-describes the tool's capability. No sibling is named, so it does not differentiate against wcc_doc_lifecycle or wcc_doc_storage.

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 clearly routes between modes: use new-revision to upload a binary, metadata-only to change fields without re-uploading. It also gives a strong negative condition — the tool is disabled in hosted/SaaS mode and the caller must find a different ingest path. That exclusion is valuable, but the alternative is left vague ("a different ingest path") with no named sibling.

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