Skip to main content
Glama

Kiescy Documents

Publish a document

publish_document

Two steps. 1) Call without confirmation_token: returns what will change, warnings and a one-time token (valid 15 minutes, for this exact version). Show that to the user and ask for an explicit yes. 2) Only after the user says yes, call again with the token. If the site requires approval in Kiescy, this submits the document for review instead. Use language to publish a saved translation.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "type": "<type>"
    },
    "name": "publish_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes
languageNo
confirmation_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With annotations already declaring readOnly=false, destructive=false and openWorld=true, the description adds real behavioral context: a one-time token valid 15 minutes bound to this exact version, and that the first call is a non-mutating preview. It does not say whether a published document goes live publicly, whether publishing can be undone (rollback_document exists), or what errors an expired/reused token produces.

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?

Numbered steps front-load the two-call protocol, and the remaining sentences cover the approval branch and the translation path without filler. Every sentence carries an imperative an agent must act on.

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 3-parameter mutation tool with no output schema, it describes what the preview call returns but never what the confirmed call returns, and it omits failure modes (expired or reused token). The core protocol is nonetheless complete enough to call the tool correctly.

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 parameter meaning, and it does for two of three: `confirmation_token` is one-time, 15-minute, version-scoped and required on the second call, and `language` publishes a saved translation. The `type` enum is left unexplained beyond its self-evident values.

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 names a concrete verb+resource (publish a document) and immediately explains the tool's actual mechanics: a dry-run call returning changes, warnings and a token, then a confirmed call that executes. It does not name a sibling (e.g. preview_document or rollback_document) to sharpen the boundary, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit when/when-not guidance: call without token first, show results and get an explicit yes, only then call with the token. It also states the alternate outcome (submitted for review rather than published) when approval is required, and points out the `language` path for translations.

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