Skip to main content
Glama

Lovie Company Formation

Get Document

documents_get_document
Read-only

Fetch one document's metadata and its related signed/unsigned set.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "companyId": "<companyId>",
      "documentId": "<documentId>"
    },
    "name": "documents_get_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyIdYesUUID value wrapper.
documentIdYesUUID value wrapper.

Output Schema

NameRequiredDescriptionDefault
relatedNo
documentNo
signingPartiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / signingParties
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "email": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "slot": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed2 schema fields changed
    • changedOutput schema / properties / document / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "category": {
      -        "enum": [
      -          "DOCUMENT_CATEGORY_UNSPECIFIED",
      -          "DOCUMENT_CATEGORY_EMPLOYMENT",
      -          "DOCUMENT_CATEGORY_EQUITY",
      -          "DOCUMENT_CATEGORY_COMPANY",
      -          "DOCUMENT_CATEGORY_TRANSACTION",
      -          "DOCUMENT_CATEGORY_GENERAL",
      -          "DOCUMENT_CATEGORY_STATE",
      -          "DOCUMENT_CATEGORY_IRS"
      -        ],
      -        "type": "string"
      -      },
      -      "companyId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "contentSha256": {
      -        "type": "string"
      -      },
      -      "contentType": {
      -        "type": "string"
      -      },
      -      "createdAt": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "createdByUserId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "docClass": {
      -        "type": "string"
      -      },
      -      "externalRefId": {
      -        "type": "string"
      -      },
      -      "externalRefKind": {
      -        "type": "string"
      -      },
      -      "fileName": {
      -        "type": "string"
      -      },
      -      "id": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "signatureEnvelopeId": {
      -        "type": "string"
      -      },
      -      "signedAt": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "source": {
      -        "enum": [
      -          "DOCUMENT_SOURCE_UNSPECIFIED",
      -          "DOCUMENT_SOURCE_TEMPLATE",
      -          "DOCUMENT_SOURCE_PRODUCT",
      -          "DOCUMENT_SOURCE_UPLOAD",
      -          "DOCUMENT_SOURCE_USER_TEMPLATE"
      -        ],
      -        "type": "string"
      -      },
      -      "sourceDocumentId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "templateId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "templateVersion": {
      -        "type": "integer"
      -      },
      -      "title": {
      -        "type": "string"
      -      },
      -      "type": {
      -        "enum": [
      -          "DOCUMENT_TYPE_UNSPECIFIED",
      -          "DOCUMENT_TYPE_PRIMARY",
      -          "DOCUMENT_TYPE_SIGNED",
      -          "DOCUMENT_TYPE_CERTIFICATE",
      -          "DOCUMENT_TYPE_FINAL",
      -          "DOCUMENT_TYPE_SIGNATURE_IMAGE",
      -          "DOCUMENT_TYPE_ATTACHMENT"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "category": {
      +        "enum": [
      +          "DOCUMENT_CATEGORY_UNSPECIFIED",
      +          "DOCUMENT_CATEGORY_EMPLOYMENT",
      +          "DOCUMENT_CATEGORY_EQUITY",
      +          "DOCUMENT_CATEGORY_COMPANY",
      +          "DOCUMENT_CATEGORY_TRANSACTION",
      +          "DOCUMENT_CATEGORY_GENERAL",
      +          "DOCUMENT_CATEGORY_STATE",
      +          "DOCUMENT_CATEGORY_IRS",
      +          "DOCUMENT_CATEGORY_STATEMENT"
      +        ],
      +        "type": "string"
      +      },
      +      "companyId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "contentSha256": {
      +        "type": "string"
      +      },
      +      "contentType": {
      +        "type": "string"
      +      },
      +      "createdAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "createdByUserId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "docClass": {
      +        "type": "string"
      +      },
      +      "externalRefId": {
      +        "type": "string"
      +      },
      +      "externalRefKind": {
      +        "type": "string"
      +      },
      +      "fileName": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "signatureEnvelopeId": {
      +        "type": "string"
      +      },
      +      "signedAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "source": {
      +        "enum": [
      +          "DOCUMENT_SOURCE_UNSPECIFIED",
      +          "DOCUMENT_SOURCE_TEMPLATE",
      +          "DOCUMENT_SOURCE_PRODUCT",
      +          "DOCUMENT_SOURCE_UPLOAD",
      +          "DOCUMENT_SOURCE_USER_TEMPLATE"
      +        ],
      +        "type": "string"
      +      },
      +      "sourceDocumentId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "templateId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "templateVersion": {
      +        "type": "integer"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "type": {
      +        "enum": [
      +          "DOCUMENT_TYPE_UNSPECIFIED",
      +          "DOCUMENT_TYPE_PRIMARY",
      +          "DOCUMENT_TYPE_SIGNED",
      +          "DOCUMENT_TYPE_CERTIFICATE",
      +          "DOCUMENT_TYPE_FINAL",
      +          "DOCUMENT_TYPE_SIGNATURE_IMAGE",
      +          "DOCUMENT_TYPE_ATTACHMENT"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / related / items / properties / category / enum
      Previous value: -[
      -  "DOCUMENT_CATEGORY_UNSPECIFIED",
      -  "DOCUMENT_CATEGORY_EMPLOYMENT",
      -  "DOCUMENT_CATEGORY_EQUITY",
      -  "DOCUMENT_CATEGORY_COMPANY",
      -  "DOCUMENT_CATEGORY_TRANSACTION",
      -  "DOCUMENT_CATEGORY_GENERAL",
      -  "DOCUMENT_CATEGORY_STATE",
      -  "DOCUMENT_CATEGORY_IRS"
      -]New value: +[
      +  "DOCUMENT_CATEGORY_UNSPECIFIED",
      +  "DOCUMENT_CATEGORY_EMPLOYMENT",
      +  "DOCUMENT_CATEGORY_EQUITY",
      +  "DOCUMENT_CATEGORY_COMPANY",
      +  "DOCUMENT_CATEGORY_TRANSACTION",
      +  "DOCUMENT_CATEGORY_GENERAL",
      +  "DOCUMENT_CATEGORY_STATE",
      +  "DOCUMENT_CATEGORY_IRS",
      +  "DOCUMENT_CATEGORY_STATEMENT"
      +]
  3. Changed2 schema fields changed
    • changedOutput schema / properties / document / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "category": {
      -        "enum": [
      -          "DOCUMENT_CATEGORY_UNSPECIFIED",
      -          "DOCUMENT_CATEGORY_EMPLOYMENT",
      -          "DOCUMENT_CATEGORY_EQUITY",
      -          "DOCUMENT_CATEGORY_COMPANY",
      -          "DOCUMENT_CATEGORY_TRANSACTION",
      -          "DOCUMENT_CATEGORY_GENERAL"
      -        ],
      -        "type": "string"
      -      },
      -      "companyId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "contentSha256": {
      -        "type": "string"
      -      },
      -      "contentType": {
      -        "type": "string"
      -      },
      -      "createdAt": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "createdByUserId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "docClass": {
      -        "type": "string"
      -      },
      -      "externalRefId": {
      -        "type": "string"
      -      },
      -      "externalRefKind": {
      -        "type": "string"
      -      },
      -      "fileName": {
      -        "type": "string"
      -      },
      -      "id": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "signatureEnvelopeId": {
      -        "type": "string"
      -      },
      -      "signedAt": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "source": {
      -        "enum": [
      -          "DOCUMENT_SOURCE_UNSPECIFIED",
      -          "DOCUMENT_SOURCE_TEMPLATE",
      -          "DOCUMENT_SOURCE_PRODUCT",
      -          "DOCUMENT_SOURCE_UPLOAD",
      -          "DOCUMENT_SOURCE_USER_TEMPLATE"
      -        ],
      -        "type": "string"
      -      },
      -      "sourceDocumentId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "templateId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "templateVersion": {
      -        "type": "integer"
      -      },
      -      "title": {
      -        "type": "string"
      -      },
      -      "type": {
      -        "enum": [
      -          "DOCUMENT_TYPE_UNSPECIFIED",
      -          "DOCUMENT_TYPE_PRIMARY",
      -          "DOCUMENT_TYPE_SIGNED",
      -          "DOCUMENT_TYPE_CERTIFICATE",
      -          "DOCUMENT_TYPE_FINAL",
      -          "DOCUMENT_TYPE_SIGNATURE_IMAGE",
      -          "DOCUMENT_TYPE_ATTACHMENT"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "category": {
      +        "enum": [
      +          "DOCUMENT_CATEGORY_UNSPECIFIED",
      +          "DOCUMENT_CATEGORY_EMPLOYMENT",
      +          "DOCUMENT_CATEGORY_EQUITY",
      +          "DOCUMENT_CATEGORY_COMPANY",
      +          "DOCUMENT_CATEGORY_TRANSACTION",
      +          "DOCUMENT_CATEGORY_GENERAL",
      +          "DOCUMENT_CATEGORY_STATE",
      +          "DOCUMENT_CATEGORY_IRS"
      +        ],
      +        "type": "string"
      +      },
      +      "companyId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "contentSha256": {
      +        "type": "string"
      +      },
      +      "contentType": {
      +        "type": "string"
      +      },
      +      "createdAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "createdByUserId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "docClass": {
      +        "type": "string"
      +      },
      +      "externalRefId": {
      +        "type": "string"
      +      },
      +      "externalRefKind": {
      +        "type": "string"
      +      },
      +      "fileName": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "signatureEnvelopeId": {
      +        "type": "string"
      +      },
      +      "signedAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "source": {
      +        "enum": [
      +          "DOCUMENT_SOURCE_UNSPECIFIED",
      +          "DOCUMENT_SOURCE_TEMPLATE",
      +          "DOCUMENT_SOURCE_PRODUCT",
      +          "DOCUMENT_SOURCE_UPLOAD",
      +          "DOCUMENT_SOURCE_USER_TEMPLATE"
      +        ],
      +        "type": "string"
      +      },
      +      "sourceDocumentId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "templateId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "templateVersion": {
      +        "type": "integer"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "type": {
      +        "enum": [
      +          "DOCUMENT_TYPE_UNSPECIFIED",
      +          "DOCUMENT_TYPE_PRIMARY",
      +          "DOCUMENT_TYPE_SIGNED",
      +          "DOCUMENT_TYPE_CERTIFICATE",
      +          "DOCUMENT_TYPE_FINAL",
      +          "DOCUMENT_TYPE_SIGNATURE_IMAGE",
      +          "DOCUMENT_TYPE_ATTACHMENT"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / related / items / properties / category / enum
      Previous value: -[
      -  "DOCUMENT_CATEGORY_UNSPECIFIED",
      -  "DOCUMENT_CATEGORY_EMPLOYMENT",
      -  "DOCUMENT_CATEGORY_EQUITY",
      -  "DOCUMENT_CATEGORY_COMPANY",
      -  "DOCUMENT_CATEGORY_TRANSACTION",
      -  "DOCUMENT_CATEGORY_GENERAL"
      -]New value: +[
      +  "DOCUMENT_CATEGORY_UNSPECIFIED",
      +  "DOCUMENT_CATEGORY_EMPLOYMENT",
      +  "DOCUMENT_CATEGORY_EQUITY",
      +  "DOCUMENT_CATEGORY_COMPANY",
      +  "DOCUMENT_CATEGORY_TRANSACTION",
      +  "DOCUMENT_CATEGORY_GENERAL",
      +  "DOCUMENT_CATEGORY_STATE",
      +  "DOCUMENT_CATEGORY_IRS"
      +]
  4. Changed29 schema fields changed
    • addedOutput schema / properties / document / anyOf
      Added value: +[
      +  {
      +    "properties": {
      +      "category": {
      +        "enum": [
      +          "DOCUMENT_CATEGORY_UNSPECIFIED",
      +          "DOCUMENT_CATEGORY_EMPLOYMENT",
      +          "DOCUMENT_CATEGORY_EQUITY",
      +          "DOCUMENT_CATEGORY_COMPANY",
      +          "DOCUMENT_CATEGORY_TRANSACTION",
      +          "DOCUMENT_CATEGORY_GENERAL"
      +        ],
      +        "type": "string"
      +      },
      +      "companyId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "contentSha256": {
      +        "type": "string"
      +      },
      +      "contentType": {
      +        "type": "string"
      +      },
      +      "createdAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "createdByUserId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "docClass": {
      +        "type": "string"
      +      },
      +      "externalRefId": {
      +        "type": "string"
      +      },
      +      "externalRefKind": {
      +        "type": "string"
      +      },
      +      "fileName": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "signatureEnvelopeId": {
      +        "type": "string"
      +      },
      +      "signedAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "source": {
      +        "enum": [
      +          "DOCUMENT_SOURCE_UNSPECIFIED",
      +          "DOCUMENT_SOURCE_TEMPLATE",
      +          "DOCUMENT_SOURCE_PRODUCT",
      +          "DOCUMENT_SOURCE_UPLOAD",
      +          "DOCUMENT_SOURCE_USER_TEMPLATE"
      +        ],
      +        "type": "string"
      +      },
      +      "sourceDocumentId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "templateId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "templateVersion": {
      +        "type": "integer"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "type": {
      +        "enum": [
      +          "DOCUMENT_TYPE_UNSPECIFIED",
      +          "DOCUMENT_TYPE_PRIMARY",
      +          "DOCUMENT_TYPE_SIGNED",
      +          "DOCUMENT_TYPE_CERTIFICATE",
      +          "DOCUMENT_TYPE_FINAL",
      +          "DOCUMENT_TYPE_SIGNATURE_IMAGE",
      +          "DOCUMENT_TYPE_ATTACHMENT"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / document / properties
      Removed value: -{
      -  "category": {
      -    "enum": [
      -      "DOCUMENT_CATEGORY_UNSPECIFIED",
      -      "DOCUMENT_CATEGORY_EMPLOYMENT",
      -      "DOCUMENT_CATEGORY_EQUITY",
      -      "DOCUMENT_CATEGORY_COMPANY",
      -      "DOCUMENT_CATEGORY_TRANSACTION",
      -      "DOCUMENT_CATEGORY_GENERAL"
      -    ],
      -    "type": "string"
      -  },
      -  "companyId": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "contentSha256": {
      -    "type": "string"
      -  },
      -  "contentType": {
      -    "type": "string"
      -  },
      -  "createdAt": {
      -    "format": "date-time",
      -    "type": "string"
      -  },
      -  "createdByUserId": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "docClass": {
      -    "type": "string"
      -  },
      -  "externalRefId": {
      -    "type": "string"
      -  },
      -  "externalRefKind": {
      -    "type": "string"
      -  },
      -  "fileName": {
      -    "type": "string"
      -  },
      -  "id": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "signatureEnvelopeId": {
      -    "type": "string"
      -  },
      -  "signedAt": {
      -    "format": "date-time",
      -    "type": "string"
      -  },
      -  "source": {
      -    "enum": [
      -      "DOCUMENT_SOURCE_UNSPECIFIED",
      -      "DOCUMENT_SOURCE_TEMPLATE",
      -      "DOCUMENT_SOURCE_PRODUCT",
      -      "DOCUMENT_SOURCE_UPLOAD",
      -      "DOCUMENT_SOURCE_USER_TEMPLATE"
      -    ],
      -    "type": "string"
      -  },
      -  "sourceDocumentId": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "templateId": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "templateVersion": {
      -    "type": "integer"
      -  },
      -  "title": {
      -    "type": "string"
      -  },
      -  "type": {
      -    "enum": [
      -      "DOCUMENT_TYPE_UNSPECIFIED",
      -      "DOCUMENT_TYPE_PRIMARY",
      -      "DOCUMENT_TYPE_SIGNED",
      -      "DOCUMENT_TYPE_CERTIFICATE",
      -      "DOCUMENT_TYPE_FINAL",
      -      "DOCUMENT_TYPE_SIGNATURE_IMAGE",
      -      "DOCUMENT_TYPE_ATTACHMENT"
      -    ],
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / document / type
      Removed value: -"object"
    • addedOutput schema / properties / related / items / properties / companyId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / related / items / properties / companyId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / related / items / properties / companyId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / related / items / properties / companyId / type
      Removed value: -"object"
    • addedOutput schema / properties / related / items / properties / createdAt / anyOf
      Added value: +[
      +  {
      +    "format": "date-time",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / related / items / properties / createdAt / format
      Removed value: -"date-time"
    • removedOutput schema / properties / related / items / properties / createdAt / type
      Removed value: -"string"
    • addedOutput schema / properties / related / items / properties / createdByUserId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / related / items / properties / createdByUserId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / related / items / properties / createdByUserId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / related / items / properties / createdByUserId / type
      Removed value: -"object"
    • addedOutput schema / properties / related / items / properties / id / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / related / items / properties / id / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / related / items / properties / id / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / related / items / properties / id / type
      Removed value: -"object"
    • addedOutput schema / properties / related / items / properties / signedAt / anyOf
      Added value: +[
      +  {
      +    "format": "date-time",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / related / items / properties / signedAt / format
      Removed value: -"date-time"
    • removedOutput schema / properties / related / items / properties / signedAt / type
      Removed value: -"string"
    • addedOutput schema / properties / related / items / properties / sourceDocumentId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / related / items / properties / sourceDocumentId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / related / items / properties / sourceDocumentId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / related / items / properties / sourceDocumentId / type
      Removed value: -"object"
    • addedOutput schema / properties / related / items / properties / templateId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / related / items / properties / templateId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / related / items / properties / templateId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / related / items / properties / templateId / type
      Removed value: -"object"
  5. Changed12 schema fields changed
    • addedOutput schema / properties / document / properties / docClass
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / document / properties / externalRefId
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / document / properties / externalRefKind
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / document / properties / signatureEnvelopeId
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / document / properties / signedAt
      Added value: +{
      +  "format": "date-time",
      +  "type": "string"
      +}
    • changedOutput schema / properties / document / properties / source / enum
      Previous value: -[
      -  "DOCUMENT_SOURCE_UNSPECIFIED",
      -  "DOCUMENT_SOURCE_TEMPLATE",
      -  "DOCUMENT_SOURCE_PRODUCT",
      -  "DOCUMENT_SOURCE_UPLOAD"
      -]New value: +[
      +  "DOCUMENT_SOURCE_UNSPECIFIED",
      +  "DOCUMENT_SOURCE_TEMPLATE",
      +  "DOCUMENT_SOURCE_PRODUCT",
      +  "DOCUMENT_SOURCE_UPLOAD",
      +  "DOCUMENT_SOURCE_USER_TEMPLATE"
      +]
    • addedOutput schema / properties / related / items / properties / docClass
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / related / items / properties / externalRefId
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / related / items / properties / externalRefKind
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / related / items / properties / signatureEnvelopeId
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / related / items / properties / signedAt
      Added value: +{
      +  "format": "date-time",
      +  "type": "string"
      +}
    • changedOutput schema / properties / related / items / properties / source / enum
      Previous value: -[
      -  "DOCUMENT_SOURCE_UNSPECIFIED",
      -  "DOCUMENT_SOURCE_TEMPLATE",
      -  "DOCUMENT_SOURCE_PRODUCT",
      -  "DOCUMENT_SOURCE_UPLOAD"
      -]New value: +[
      +  "DOCUMENT_SOURCE_UNSPECIFIED",
      +  "DOCUMENT_SOURCE_TEMPLATE",
      +  "DOCUMENT_SOURCE_PRODUCT",
      +  "DOCUMENT_SOURCE_UPLOAD",
      +  "DOCUMENT_SOURCE_USER_TEMPLATE"
      +]
  6. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered and the description need not repeat it. The description adds that the response includes metadata plus a related signed/unsigned set, which is useful behavioral context. It says nothing about company scoping, permissions, or not-found behavior, but an output schema exists so return values are documented elsewhere.

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 or redundant restatement of the title. It is efficient, though the compressed phrase 'related signed/unsigned set' trades clarity for brevity.

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

Completeness3/5

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

The tool is simple, has a complete annotation set, a full schema, and an output schema, so most structured information an agent needs is present. The remaining gap is the undefined 'signed/unsigned set' and the absence of any scoping or failure context, leaving the description only minimally sufficient.

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 100%, with both parameters documented as UUID value wrappers, so the schema carries the burden. The description adds no meaning about what companyId scopes or how documentId relates to it. Baseline 3 is appropriate when the schema does the heavy lifting.

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 ('Fetch') and a bounded resource ('one document'), which implicitly separates it from sibling list tools like documents_list_documents. The phrase 'related signed/unsigned set' names the payload but leaves the nature of that set vague, so the agent knows what entity is retrieved but not precisely what comes with it.

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?

The singular 'one document' hints at use when a specific documentId is known, but there is no explicit when-to-use, no exclusions, and no mention of alternatives such as documents_list_documents or transaction_document_get_list_transaction_documents. The agent must infer retrieval strategy from the name alone.

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.