Skip to main content
Glama
Community wflow MCP Server

Community wflow MCP Server

wf_document_rights

DestructiveIdempotent

Get or set access rights for a document using its ID; when setting, specify teams to replace current rights.

Instructions

Get or set access rights for a document

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": {
      "documentId": "<documentId>"
    },
    "name": "wf_document_rights"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNoAction to performget
rightsNoTeams with access as a JSON array of {"id": "<team UUID>"} (required for set; replaces current rights)
documentIdYesDocument ID
organizationNoOrganization workspace name (uses default if omitted)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.8/5.0
Behavior2/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 safety profile is conveyed structurally. The description adds nothing beyond that — it never says that the set mode overwrites all existing rights, that it is irreversible, or what permissions are required, even though this is the tool's most consequential behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Eight words with no filler and the resource is front-loaded, but the sizing is disproportionate for a destructive dual-mode tool — the brevity comes at the cost of any operational context.

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

Completeness2/5

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

For a destructive, irreversible rights-replacement operation with no output schema, the description should at minimum flag that set mode overwrites existing access and requires elevated permissions. None of that is present, leaving the agent to reverse-engineer behavior from annotations and parameter text.

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%, so action, rights, documentId, and organization are all documented in the schema, including the note that rights replaces current rights. The description contributes no additional parameter meaning, which is the baseline expectation when the schema does the work.

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 resource (document access rights) and the two operations (get/set), so an agent knows what the tool touches. It does not distinguish itself from the plausible sibling wf_storage_rights, which handles a different rights domain, leaving that call to inference.

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 choose this over wf_storage_rights or wf_document, and no mention of prerequisites such as needing admin/owner access. The only hint that 'set' has different requirements lives in the schema's parameter description, not the tool description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools