Skip to main content
Glama

Compl-AI-ance

doccontrol_upload_text

Text oder Markdown direkt in die Dokumentenablage legen und als gelenktes Dokument führen — für die Übernahme bestehender Markdown-Dokumente durch Agenten. Mit id wird es die neue Fassung eines vorhandenen Dokuments (zurück auf Entwurf). Höchstens 1 MB Text.

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": {
      "content": "<content>"
    },
    "name": "doccontrol_upload_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoOptional: neue Fassung dieses Dokuments
ownerNo
titleNo
formatNomarkdown (Vorgabe) | text
contentYesDer vollständige Text
versionNo
filenameNoOptional, sonst aus dem Titel
review_atNoJJJJ-MM-TT
descriptionNo
standard_keyNoiso_iec_27001 | iso_iec_42001 | … | both

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations the description carries the full burden. It usefully discloses that passing 'id' creates a new version and reverts the document to draft, and it states the 1 MB text cap. It omits permissions required, what happens on a fresh upload (creation), and other side effects on the controlled-document lifecycle.

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?

Three tightly packed sentences with the core action and the key 'id' behavior front-loaded, followed by the size limit. Little waste, though the dense em-dash clauses require careful reading.

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

Completeness3/5

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

For a 10-parameter mutation tool with no annotations and no output schema, the definition covers the essentials of ingestion and versioning but leaves significant gaps around permissions, creation behavior, and half the parameters. It is adequate but not complete.

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 coverage is 60%, so the description must compensate. It clarifies 'id' (new version, back to draft), 'format' (markdown default) and 'content' semantics with the 1 MB bound, but says nothing about owner, title, version, or description, leaving several parameters unexplained in either place.

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 states a specific verb and resource: placing text/Markdown directly into the document repository and managing it as a controlled document. It also names the concrete use case (importing existing Markdown documents by agents). Differentiation from siblings like doccontrol_upsert_document is not made explicit, keeping it from 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 Guidelines3/5

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

It gives a clear context of use ('for importing existing Markdown documents by agents') and explains that supplying 'id' creates a new version of an existing document. However, it never says when to prefer this over upsert_document or other siblings, and offers no exclusions.

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