Skip to main content
Glama

Rapier

Set collaboration controls

document.set_policy
Destructive

Sets the person's choice of FREE, CHECK, ASK or read-only on this workspace version.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
postureNo
documentYesThe MCP document capability from rapier.open. Keep it private and pass it to later calls.
readOnlyNo
editorKeyYesThe editor key from the Apps UI resource, held by the host and editor alone.
decisionIdYes
expectedVersionYes
expectedRevisionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
causeNo
reasonNo
outcomeYes
documentNoThe MCP document capability from rapier.open. Keep it private and pass it to later calls.
reviewIdNo
documentIdNo
representationNo
documentRevisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=false, so the safety profile is conveyed by structured data, not the description. The description adds no behavioral context beyond that: it never explains that expectedRevision/expectedVersion guard against stale writes (concurrency semantics), that decisionId ties the call to a prior decision, or that the write is irreversible despite destructiveHint. It merely restates mutation implied by the name.

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?

A single front-loaded sentence with no filler. The ALL-CAPS posture values are a minor style choice but the sentence is efficient and puts the action first.

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?

This is a destructive mutation with five required parameters including two concurrency tokens and a decision identifier, yet the description says nothing about the optimistic-concurrency contract, the meaning of decisionId, or what a successful call changes. Although an output schema exists so return values needn't be described, the mutation semantics and required-parameter relationships remain undocumented.

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 only 29%, so the description should compensate, and it does so only partially: 'FREE, CHECK, ASK or read-only' clarifies the posture enum and readOnly boolean. The remaining five parameters (document, editorKey, expectedRevision, expectedVersion, decisionId) are unexplained in both schema and description, leaving the concurrency and capability-handling semantics opaque.

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?

States a specific verb (sets) and the resource being controlled (collaboration posture/read-only on a workspace version), and enumerates the actual posture values FREE/CHECK/ASK, which maps concretely to the posture enum and readOnly boolean. It does not differentiate itself from siblings with overlapping decision semantics such as document.review_decide, document.compare_decide, or document.commit, so an agent cannot tell from the text alone which of these to pick.

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 guidance, no prerequisites, and no mention of any alternative tool. The agent is left to infer that this is invoked after a decision/negotiation flow, which is never stated.

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.