Skip to main content
Glama

Move contract

clm_move_contract
Destructive

File in a visible folder or unfile (folderId:null), never delete. Inherited access may be lost; return needs contract/destination edit and current-folder access. Lost access may reassign scheduled emails to contract owner.

Input Schema

NameRequiredDescriptionDefault
idYesID
folderIdYesFolder ID; null: root

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • removedInput schema / properties / folderId / anyOf
      Removed value: -[
      -  {
      -    "format": "uuid",
      -    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / folderId / description
      Added value: +"Folder ID; null: root"
    • addedInput schema / properties / folderId / format
      Added value: +"uuid"
    • addedInput schema / properties / folderId / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • addedInput schema / properties / id / description
      Added value: +"ID"
    • removedInput schema / properties / id / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "folderId": {
      -      "anyOf": [
      -        {
      -          "allOf": [
      -            {
      -              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -              "type": "string"
      -            },
      -            {
      -              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -              "type": "string"
      -            }
      -          ],
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "id": {
      -      "allOf": [
      -        {
      -          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -          "type": "string"
      -        },
      -        {
      -          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -          "type": "string"
      -        }
      -      ],
      -      "description": "Contract UUID",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "id",
      -    "folderId"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, and the description goes beyond them by naming the actual side effects: inherited access may be lost, scheduled emails may be reassigned to the contract owner, and restoring the move requires both edit rights and access to the current folder. It also pre-empts a misread of the destructive flag by clarifying the contract itself is never deleted. Minor gap: no mention of response or failure behavior when the destination folder is inaccessible.

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?

Three short sentences with the core action and the null case front-loaded, then consequences. The semicolon-compressed phrasing ('return needs contract/destination edit and current-folder access') is dense and slightly telegraphic, costing some readability, but nothing is redundant.

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

Completeness4/5

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

For a two-parameter mutation with no output schema, the description covers the essential risk surface: access loss, scheduled-email reassignment, and the conditions required to reverse the move. What remains unstated — pagination or return payload, and behavior on invalid or inaccessible destination folders — is modest for a tool of this complexity.

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 coverage is 100% and the schema already documents folderId as 'null: root', so the description's parenthetical restates existing structured information. The one piece of added meaning is the 'visible folder' qualifier, implying the target must be one the caller can see, which is genuinely new but brief.

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 and resource pair ('File in a visible folder or unfile (folderId:null), never delete'), which clearly delimits the operation as a folder-assignment move rather than a deletion or metadata edit. It does not name any sibling tool explicitly, so an agent must still infer the boundary against clm_update_contract or clm_move_folder from tool names alone.

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?

It gives concrete conditions for the unfiling case ('folderId:null') and warns about return requirements, but never states when to prefer this tool over clm_update_contract or how it differs from clm_move_folder. Usage is implied by the described mechanics rather than by explicit routing 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.