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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
companyIdYesUUID value wrapper.
documentIdYesUUID value wrapper.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
relatedNo
documentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
  2. 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"
      +]
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

The description adds detail beyond the readOnly annotation by specifying that it fetches both metadata and related signed/unsigned set. However, it doesn't describe any side effects, limitations, or dependencies beyond that. The annotation already indicates read-only, so the description adds some but limited behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence with a clear verb ('Fetch') and object. It's compact yet informative, mentioning both metadata and the signed/unsigned set.

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?

The description clearly states what it fetches. The 'related signed/unsigned set' hints at output semantics. It could be more explicit about what 'related' means, but for a simple read operation with two parameters and clear annotations, it's mostly complete.

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% (both parameters are described as 'UUID value wrapper'), which establishes the baseline of 3. The description doesn't add meaning to the parameters beyond their names, but the schema adequately documents them as UUID wrappers.

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 clearly states it fetches metadata and signed/unsigned sets for one document, using a specific verb ('Fetch') and object. However, it does not explicitly distinguish from sibling tools like documents_list_documents or documents_create_document, so it's clear but not fully differentiated.

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 description provides no guidance on when to use this tool versus alternatives like listing documents or updating a document. It only describes the operation without any context about selection criteria or exclusions.

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.