Skip to main content
Glama
stevereiner
by stevereiner

checkout_document

Checks out a document in Alfresco to lock it for editing and prevent others from making changes until it is checked back in.

Instructions

Check out a document for editing using Alfresco REST API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_idYes
download_for_editingNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv1.2.0
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / download_for_editing / title
      Removed value: -"Download For Editing"
    • removedInput schema / properties / node_id / title
      Removed value: -"Node Id"
    • removedOutput schema / properties / result / title
      Removed value: -"Result"
    • removedOutput schema / title
      Removed value: -"_WrappedResult"
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are present, so the description carries the full burden of behavioral disclosure. 'Check out' implies a state-changing mutation, but the description does not disclose that the document becomes locked/checked-out, that a follow-up checkin or cancel_checkout is required, or what effect download_for_editing has on the workflow. This is a significant gap for a mutating operation.

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 the action stated first; every word earns its place except the mild filler tail 'using Alfresco REST API', which adds little for an agent selecting a tool. It is concise without being under-specified to the point of tautology.

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?

Although an output schema exists (so return values need not be explained), the description omits the operational lifecycle: what checkout does to the document state, the purpose of download_for_editing, and the relationship to checkin_document/cancel_checkout. For a state-changing tool with no annotations, this leaves too much to inference.

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 0%, and the description compensates with nothing. Neither node_id nor the ambiguous download_for_editing boolean is explained; 'for editing' only loosely echoes the parameter name without defining its meaning, default behavior, or why an agent would set it to false.

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 ('Check out') and resource ('a document for editing'), making the core purpose immediately clear. It semantically contrasts with the sibling tools checkin_document and cancel_checkout, though the distinction is implicit rather than named. The 'using Alfresco REST API' clause is implementation detail but does not obscure the purpose.

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?

The phrase 'for editing' provides clear context for when this tool is appropriate, and the sibling set implies the checkout→edit→checkin/cancel workflow. However, the description never explicitly states when to use this versus checkin_document or cancel_checkout, nor does it mention any prerequisites or exclusions.

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