Skip to main content
Glama

Update document folder

update_document_folder
Idempotent

Update a document folder by id (only provided fields).

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": {
      "id": "<id>"
    },
    "name": "update_document_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
nameNo
visibilityNo
descriptionNo
parent_folder_idNo
target_tenant_idNoPlatform super-admins only: operate on this tenant instead of your own.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=true, so the safety profile is covered. The description adds useful PATCH semantics ("only provided fields"), clarifying that omitted fields are untouched. It says nothing about permission requirements, what happens to descendant documents, or whether a folder can be reparented into its own subtree.

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?

One short, front-loaded sentence with no filler or repetition. It is efficient, though the brevity comes at the cost of the missing detail noted elsewhere rather than being optimally balanced.

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 six-parameter mutation tool with no output schema and thin schema descriptions, the definition is under-specified on the reparenting and visibility semantics. What it does say (id-keyed partial update) is correct and sufficient for the simplest invocation, but not for the risky ones.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 17%, with the single documented parameter being target_tenant_id, so the description carries most of the burden and fails to. It does not explain allowed visibility values, the meaning of parent_folder_id as a move operation, or any constraints on name/description, leaving five of six parameters unexplained in both places.

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 gives a specific verb and resource ("Update a document folder") plus the lookup key ("by id"), so an agent immediately knows this mutates an existing folder. It does not name or differentiate against siblings such as create_document_folder, delete_document_folder, or move_document, so it falls 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 Guidelines2/5

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

There is no guidance on when to use this versus move_document, create_document_folder, or delete_document, and no stated prerequisites. The parenthetical "only provided fields" implies partial-update usage but is not framed as when-to-use guidance.

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