Skip to main content
Glama
This connector has been deprecated

Connector is incorrectly listed. Official connector is https://glama.ai/mcp/connectors/com.markupbase.mcp/markup-base

publish_version

Idempotent

Publish an immutable source version to an artifact owned by this principal and remap preserved thread anchors. expectedLatestVersionId must match the current latest version, or be null for the first version, so concurrent work is never overwritten. Returns the new version plus carried, outdated, and failed comment-remapping counts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesComplete Markdown or sanitized HTML source for the new immutable version.
documentIdYesID of the artifact containing the target resource.
idempotencyKeyYesStable unique key for this intended change; reuse only to retry the same inputs.
expectedLatestVersionIdYesCurrent latest version ID, or null only when publishing the first version.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionYesMetadata for one immutable artifact version.
commentsYes

TDQS

A4.7/5.0
Behavior5/5

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

Beyond annotations (idempotentHint, readOnlyHint), the description discloses important behaviors: immutability of the source version, remapping of preserved thread anchors, the concurrency check to prevent overwriting, and the return counts (carried, outdated, failed). This adds substantial behavioral context.

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, each informative: purpose, concurrency constraint, and return value. No filler or redundancy. The most important information is front-loaded in the first sentence.

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?

Despite having an output schema, the description still summarizes the return type (new version plus counts). It covers key operational aspects: immutability, ownership, concurrency safety, and remapping. The tool is complex, but the description, combined with schema and annotations, provides a complete picture.

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?

The input schema already has 100% coverage with detailed descriptions. The description adds extra meaning for expectedLatestVersionId by explaining the concurrency rule (must match current latest or null for first version), which goes beyond the schema's 'Current latest version ID' phrasing. This justifies a score above the baseline of 3.

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?

The description uses a specific verb ('publish') and resource ('immutable source version to an artifact owned by this principal'), clearly stating what the tool does. It also distinguishes itself from siblings like create_document or get_document by focusing on publishing a version and remapping thread anchors.

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 provides clear context for use: it is for publishing a new version, with a concurrency guard via expectedLatestVersionId. It does not explicitly name alternatives or when-not-to-use, but the context is unambiguous given sibling tools.

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.

TDQS

A4.7/5.0
Disambiguation5/5

Each tool targets a distinct action and resource: document operations, version publishing, review workflow, and thread management are clearly separated. No two tools overlap in purpose, and descriptions reinforce their unique roles.

Naming Consistency5/5

Tool names consistently follow a verb_noun pattern (create_document, list_threads, publish_version, etc.). The single exception, whoami, is a conventional command and does not disrupt the overall consistency.

Tool Count5/5

12 tools is well within the ideal range for a document review and commenting server. Each tool covers a necessary operation without redundancy, and the count feels proportionate to the domain.

Completeness5/5

The tool surface covers the full lifecycle: document creation/reading/listing, version publishing, review request/assignment/completion, comment threads with add/reply/status updates, and identity lookup. No obvious missing operations for the stated purpose.

Resources