Skip to main content
Glama

set_document_visibility

DestructiveIdempotent

Ein Dokument der Wissensbasis auf 'extern' (darf nach außen) oder 'intern' stellen. Wirkt beim nächsten Suchaufruf.

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": {
      "document_id": "<document_id>",
      "visibility": "<visibility>"
    },
    "name": "set_document_visibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
visibilityYesNeue Sichtbarkeit: extern (darf nach aussen) oder intern
document_idYesDokument-ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / document_id / description
      Added value: +"Dokument-ID"
    • addedInput schema / properties / visibility / description
      Added value: +"Neue Sichtbarkeit: extern (darf nach aussen) oder intern"
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the write profile is covered. The description adds one genuinely new behavioral fact: the change takes effect on the next search call, i.e. it is not immediately visible to search. It does not say whether existing external links, shares, or permissions are affected by the switch, which matters for a destructive toggle.

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?

Two short sentences with no filler: the first states the action and its two states, the second states the observable consequence. Front-loaded and efficient, though the second sentence is elliptical enough that its meaning relies on the reader knowing what a 'Suchaufruf' is.

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 two-parameter, destructive, idempotent mutation with no output schema, the description covers the action and the propagation delay but omits permission prerequisites and the effect on already-indexed or previously shared content. Adequate to call correctly, incomplete for predicting consequences.

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% and the enum values 'intern'/'extern' are already documented with their meanings in the schema. The description restates the same gloss and adds no extra guidance, such as defaults or what each state means for access rights, so the baseline 3 applies.

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 specific verb (set) and resource (document in the knowledge base) plus the two target states 'extern' and 'intern', with a gloss on what each means. An agent can tell this apart from create/delete/update_document siblings without opening the schema, though it never explicitly contrasts itself with update_document, which may also touch visibility.

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

Usage Guidelines2/5

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

There is no when-to-use vs when-not-to-use guidance and no alternatives named, even though update_document exists and plausibly overlaps. The only contextual remark is about propagation timing, not about when this tool is the right choice.

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.