Skip to main content
Glama
stevereiner
by stevereiner

checkin_document

Check in an edited document to Alfresco to update its content, optionally adding a comment, renaming the file, or marking a major version.

Instructions

Check in a document after editing using Alfresco REST API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commentNo
node_idYes
new_nameNo
file_pathNo
major_versionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv1.2.0
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / comment / title
      Removed value: -"Comment"
    • removedInput schema / properties / file_path / title
      Removed value: -"File Path"
    • removedInput schema / properties / major_version / title
      Removed value: -"Major Version"
    • removedInput schema / properties / new_name / title
      Removed value: -"New Name"
    • 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?

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions using the Alfresco REST API, which adds implementation context, but it does not disclose what happens to the checked-out state, whether the document is locked/unlocked, how versioning works, or what the response contains. For a mutation tool, this is a significant gap.

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?

The description is a single concise sentence that is easy to scan and front-loads the action. It earns its place by adding the 'after editing' context and the Alfresco REST API detail, though it could be slightly more informative without becoming verbose.

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?

Given the tool has five parameters, no annotations, and an output schema, the description is too thin. It does not explain the check-in workflow (e.g., that it typically follows checkout_document), the role of file_path, or the meaning of major_version. An agent would need to inspect the schema and output schema to understand basic semantics, which the description should provide.

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%, so the description must compensate for the five parameters. It does not explain the meaning of node_id, comment, new_name, file_path, or major_version, nor how they interact (e.g., whether file_path is required for content updates). The description adds no parameter-level value beyond the schema's bare names.

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 in') and resource ('a document'), and the phrase 'after editing' gives the operation's context. It clearly distinguishes from siblings like checkout_document and cancel_checkout, though it doesn't explicitly name them.

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 description implies the tool is used after editing a document, which is a clear usage context. However, it does not explicitly state when not to use it or mention alternatives like cancel_checkout for discarding changes, leaving some inference to the agent.

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