Skip to main content
Glama

Get contract

clm_get_contract
Read-onlyIdempotent

Get contract details, documents and filing: unfiled, visible folder or unavailable.

Input Schema

NameRequiredDescriptionDefault
idYesID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / id / description
      Previous value: -"Contract identifier"New 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,
      -  "definitions": {
      -    "__schema0": {
      -      "anyOf": [
      -        {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "number"
      -            },
      -            {
      -              "type": "boolean"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        {
      -          "items": {
      -            "allOf": [
      -              {
      -                "$ref": "#/definitions/__schema0"
      -              }
      -            ]
      -          },
      -          "type": "array"
      -        },
      -        {
      -          "additionalProperties": {
      -            "allOf": [
      -              {
      -                "$ref": "#/definitions/__schema0"
      -              }
      -            ]
      -          },
      -          "propertyNames": {
      -            "type": "string"
      -          },
      -          "type": "object"
      -        }
      -      ]
      -    }
      -  },
      -  "properties": {
      -    "contract": {
      -      "additionalProperties": false,
      -      "description": "Contract payload stored in Contracko",
      -      "properties": {
      -        "accessInheritance": {
      -          "enum": [
      -            "inherit",
      -            "override"
      -          ],
      -          "type": "string"
      -        },
      -        "agreementType": {
      -          "anyOf": [
      -            {
      -              "enum": [
      -                "master_agreement",
      -                "statement_of_work",
      -                "order_form",
      -                "amendment",
      -                "schedule",
      -                "policy",
      -                "standalone_contract",
      -                "other"
      -              ],
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "annualValue": {
      -          "anyOf": [
      -            {
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "autoRenewing": {
      -          "type": "boolean"
      -        },
      -        "categoryId": {
      -          "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"
      -            }
      -          ]
      -        },
      -        "childContracts": {
      -          "anyOf": [
      -            {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "agreementType": {
      -                    "anyOf": [
      -                      {
      -                        "enum": [
      -                          "master_agreement",
      -                          "statement_of_work",
      -                          "order_form",
      -                          "amendment",
      -                          "schedule",
      -                          "policy",
      -                          "standalone_contract",
      -                          "other"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "id": {
      -                    "type": "string"
      -                  },
      -                  "title": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "id",
      -                  "title"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "childCount": {
      -          "anyOf": [
      -            {
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "counterpartyNotes": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "counterpartyRelationshipType": {
      -          "anyOf": [
      -            {
      -              "enum": [
      -                "vendor",
      -                "client",
      -                "partner",
      -                "other"
      -              ],
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "createdAt": {
      -          "format": "date-time",
      -          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
      -          "type": "string"
      -        },
      -        "customFieldValues": {
      -          "additionalProperties": {
      -            "$ref": "#/definitions/__schema0"
      -          },
      -          "default": {},
      -          "propertyNames": {
      -            "type": "string"
      -          },
      -          "type": "object"
      -        },
      -        "description": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "endDate": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "entityStatus": {
      -          "anyOf": [
      -            {
      -              "anyOf": [
      -                {
      -                  "enum": [
      -                    "pending-review",
      -                    "archived"
      -                  ],
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "exclusivityDetails": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "filing": {
      -          "oneOf": [
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "kind": {
      -                  "const": "unfiled",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "kind"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "folder": {
      -                  "additionalProperties": false,
      -                  "description": "Visible folder and ancestor path, leaf last",
      -                  "properties": {
      -                    "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": "Folder UUID",
      -                      "type": "string"
      -                    },
      -                    "name": {
      -                      "description": "Folder name",
      -                      "minLength": 1,
      -                      "type": "string"
      -                    },
      -                    "parentFolderId": {
      -                      "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"
      -                        }
      -                      ]
      -                    },
      -                    "path": {
      -                      "description": "Visible ancestor path, leaf last",
      -                      "items": {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "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": "Folder UUID",
      -                            "type": "string"
      -                          },
      -                          "name": {
      -                            "description": "Folder name",
      -                            "minLength": 1,
      -                            "type": "string"
      -                          },
      -                          "parentFolderId": {
      -                            "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"
      -                              }
      -                            ]
      -                          }
      -                        },
      -                        "required": [
      -                          "id",
      -                          "name",
      -                          "parentFolderId"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    }
      -                  },
      -                  "required": [
      -                    "id",
      -                    "name",
      -                    "parentFolderId",
      -                    "path"
      -                  ],
      -                  "type": "object"
      -                },
      -                "kind": {
      -                  "const": "folder",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "kind",
      -                "folder"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "kind": {
      -                  "const": "unavailable",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "kind"
      -              ],
      -              "type": "object"
      -            }
      -          ]
      -        },
      -        "financialAnnualValue": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "financialTotalValue": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "financialValueCurrency": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "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"
      -            }
      -          ]
      -        },
      -        "governingLaw": {
      -          "anyOf": [
      -            {
      -              "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"
      -            }
      -          ],
      -          "type": "string"
      -        },
      -        "isExclusive": {
      -          "anyOf": [
      -            {
      -              "type": "boolean"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "isInNoticePeriod": {
      -          "type": "boolean"
      -        },
      -        "isOpenEnded": {
      -          "type": "boolean"
      -        },
      -        "jurisdiction": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "liabilityCapAmount": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "liabilityCapCurrency": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "liabilitySummary": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "notes": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "noticeDate": {
      -          "anyOf": [
      -            {
      -              "format": "date-time",
      -              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "noticeInstructions": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "noticePeriodUnit": {
      -          "anyOf": [
      -            {
      -              "enum": [
      -                "days",
      -                "weeks",
      -                "months",
      -                "quarters",
      -                "years"
      -              ],
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "noticePeriodValue": {
      -          "anyOf": [
      -            {
      -              "maximum": 2147483647,
      -              "minimum": -2147483648,
      -              "type": "integer"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "parentContract": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "agreementType": {
      -                  "anyOf": [
      -                    {
      -                      "enum": [
      -                        "master_agreement",
      -                        "statement_of_work",
      -                        "order_form",
      -                        "amendment",
      -                        "schedule",
      -                        "policy",
      -                        "standalone_contract",
      -                        "other"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "id": {
      -                  "type": "string"
      -                },
      -                "title": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "id",
      -                "title"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "parentContractId": {
      -          "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"
      -            }
      -          ]
      -        },
      -        "parentContractTitle": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "parties": {
      -          "default": [],
      -          "items": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "counterpartyId": {
      -                "anyOf": [
      -                  {
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "isPrimary": {
      -                "description": "Party A and Party B are primary for their roles",
      -                "type": "boolean"
      -              },
      -              "legalName": {
      -                "anyOf": [
      -                  {
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "name": {
      -                "description": "Application display name in the requested output language",
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "notes": {
      -                "anyOf": [
      -                  {
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "role": {
      -                "enum": [
      -                  "party_a",
      -                  "party_b",
      -                  "third_party"
      -                ],
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "role",
      -              "name"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "partiesSummary": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "processingStatus": {
      -          "anyOf": [
      -            {
      -              "enum": [
      -                "processing",
      -                "completed",
      -                "failed"
      -              ],
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "renewalPeriodUnit": {
      -          "anyOf": [
      -            {
      -              "enum": [
      -                "days",
      -                "weeks",
      -                "months",
      -                "quarters",
      -                "years"
      -              ],
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "renewalPeriodValue": {
      -          "anyOf": [
      -            {
      -              "maximum": 2147483647,
      -              "minimum": -2147483648,
      -              "type": "integer"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        },
      -        "startDate": {
      -          "type": "string"
      -        },
      -        "status": {
      -          "enum": [
      -            "active",
      -            "notice-given",
      -            "terminated",
      -            "expired"
      -          ],
      -          "type": "string"
      -        },
      -        "title": {
      -          "type": "string"
      -        },
      -        "updatedAt": {
      -          "format": "date-time",
      -          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
      -          "type": "string"
      -        },
      -        "visibility": {
      -          "enum": [
      -            "org",
      -            "restricted"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "title",
      -        "description",
      -        "categoryId",
      -        "status",
      -        "financialAnnualValue",
      -        "financialTotalValue",
      -        "financialValueCurrency",
      -        "startDate",
      -        "endDate",
      -        "autoRenewing",
      -        "renewalPeriodValue",
      -        "renewalPeriodUnit",
      -        "noticePeriodValue",
      -        "noticePeriodUnit",
      -        "agreementType",
      -        "parentContractId",
      -        "visibility",
      -        "accessInheritance",
      -        "counterpartyRelationshipType",
      -        "counterpartyNotes",
      -        "isExclusive",
      -        "liabilitySummary",
      -        "liabilityCapAmount",
      -        "liabilityCapCurrency",
      -        "governingLaw",
      -        "jurisdiction",
      -        "noticeInstructions",
      -        "partiesSummary",
      -        "notes",
      -        "customFieldValues",
      -        "entityStatus",
      -        "processingStatus",
      -        "folderId",
      -        "createdAt",
      -        "updatedAt",
      -        "parties",
      -        "isInNoticePeriod",
      -        "noticeDate",
      -        "isOpenEnded",
      -        "filing"
      -      ],
      -      "type": "object"
      -    },
      -    "files": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "aiSuggestionsPending": {
      -            "type": "boolean"
      -          },
      -          "extractionOutputLanguageCode": {
      -            "anyOf": [
      -              {
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "extractionStatus": {
      -            "anyOf": [
      -              {
      -                "enum": [
      -                  "processing",
      -                  "completed",
      -                  "failed"
      -                ],
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "fileGroupId": {
      -            "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"
      -          },
      -          "fileName": {
      -            "type": "string"
      -          },
      -          "fileSize": {
      -            "maximum": 2147483647,
      -            "minimum": -2147483648,
      -            "type": "integer"
      -          },
      -          "hasPreviewPdf": {
      -            "type": "boolean"
      -          },
      -          "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"
      -              }
      -            ],
      -            "type": "string"
      -          },
      -          "isImage": {
      -            "type": "boolean"
      -          },
      -          "isPdf": {
      -            "type": "boolean"
      -          },
      -          "isPrimary": {
      -            "type": "boolean"
      -          },
      -          "isText": {
      -            "type": "boolean"
      -          },
      -          "isWord": {
      -            "type": "boolean"
      -          },
      -          "mimeType": {
      -            "type": "string"
      -          },
      -          "previewPdfUrl": {
      -            "type": "string"
      -          },
      -          "sourceLanguageCode": {
      -            "type": "string"
      -          },
      -          "sourceLanguageDetectionMethod": {
      -            "type": "string"
      -          },
      -          "status": {
      -            "enum": [
      -              "draft",
      -              "effective",
      -              "superseded"
      -            ],
      -            "type": "string"
      -          },
      -          "supersededAt": {
      -            "anyOf": [
      -              {
      -                "format": "date-time",
      -                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "uploadedAt": {
      -            "format": "date-time",
      -            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
      -            "type": "string"
      -          },
      -          "versionNumber": {
      -            "maximum": 2147483647,
      -            "minimum": -2147483648,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "fileGroupId",
      -          "versionNumber",
      -          "status",
      -          "supersededAt",
      -          "extractionStatus",
      -          "sourceLanguageCode",
      -          "sourceLanguageDetectionMethod",
      -          "extractionOutputLanguageCode",
      -          "fileName",
      -          "fileSize",
      -          "mimeType",
      -          "uploadedAt",
      -          "isPrimary",
      -          "aiSuggestionsPending",
      -          "isPdf",
      -          "isWord",
      -          "isImage",
      -          "isText",
      -          "hasPreviewPdf"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    }
      -  },
      -  "required": [
      -    "contract",
      -    "files"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. First observed

TDQS

C2.5/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and closed-world, so safety is fully covered without the description. The description adds only a vague hint that the response includes documents and a filing state, and those state labels are unexplained and unparsable, adding little practical context.

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?

It is short and front-loaded, which is good, but the colon-list ending is a dangling fragment rather than a complete clause, so the brevity comes at the cost of intelligibility. No wasted sentences, but also an under-formed one.

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 get-by-id tool surrounded by many contract read siblings and with no output schema, the description should clarify what the response contains and how it differs from access, analysis and reconciliation reads. It gestures at response contents but leaves the key differentiation and the meaning of the filing states unexplained.

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?

There is a single parameter (id, uuid) with 100% schema description coverage, so the baseline of 3 applies. The description contributes no additional meaning about the identifier or what happens when it is invalid or unknown.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb+resource ('Get contract') is clear and the sentence names what is returned (details, documents, filing), but the trailing fragment 'unfiled, visible folder or unavailable' is cryptic and never explained. It does nothing to separate this tool from close siblings such as clm_get_contract_access or clm_get_contract_analysis.

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 at all: no statement of prerequisites (an existing contract id), no indication of when to prefer clm_get_contract_access or clm_get_contract_analysis, and no exclusions. The agent must infer usage purely from the name.

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.