Skip to main content
Glama

Lovie Company Formation

Get User Template

documents_get_user_template
Read-only

Fetch one user-uploaded template including Vision-detected fillable fields.

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>",
      "templateId": "<templateId>"
    },
    "name": "documents_get_user_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyIdYesUUID value wrapper.
templateIdYesUUID value wrapper.

Output Schema

NameRequiredDescriptionDefault
templateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / template / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "analysisError": {
      -        "type": "string"
      -      },
      -      "analysisStatus": {
      -        "enum": [
      -          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_UNSPECIFIED",
      -          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_PENDING",
      -          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_READY",
      -          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_FAILED"
      -        ],
      -        "type": "string"
      -      },
      -      "companyId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "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"
      -          }
      -        ]
      -      },
      -      "detectedCategory": {
      -        "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"
      -      },
      -      "detectedDocClass": {
      -        "type": "string"
      -      },
      -      "fields": {
      -        "items": {
      -          "properties": {
      -            "choices": {
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "defaultValue": {
      -              "type": "string"
      -            },
      -            "description": {
      -              "type": "string"
      -            },
      -            "key": {
      -              "type": "string"
      -            },
      -            "label": {
      -              "type": "string"
      -            },
      -            "required": {
      -              "type": "boolean"
      -            },
      -            "source": {
      -              "type": "string"
      -            },
      -            "type": {
      -              "enum": [
      -                "DOCUMENT_FIELD_TYPE_UNSPECIFIED",
      -                "DOCUMENT_FIELD_TYPE_STRING",
      -                "DOCUMENT_FIELD_TYPE_DATE",
      -                "DOCUMENT_FIELD_TYPE_NUMBER",
      -                "DOCUMENT_FIELD_TYPE_TEXT"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "fileName": {
      -        "type": "string"
      -      },
      -      "id": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "title": {
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "analysisError": {
      +        "type": "string"
      +      },
      +      "analysisStatus": {
      +        "enum": [
      +          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_UNSPECIFIED",
      +          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_PENDING",
      +          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_READY",
      +          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_FAILED"
      +        ],
      +        "type": "string"
      +      },
      +      "boxes": {
      +        "items": {
      +          "properties": {
      +            "cover": {
      +              "type": "boolean"
      +            },
      +            "height": {
      +              "type": "number"
      +            },
      +            "id": {
      +              "type": "string"
      +            },
      +            "key": {
      +              "type": "string"
      +            },
      +            "kind": {
      +              "enum": [
      +                "USER_TEMPLATE_BOX_KIND_UNSPECIFIED",
      +                "USER_TEMPLATE_BOX_KIND_VALUE",
      +                "USER_TEMPLATE_BOX_KIND_SIGNATURE",
      +                "USER_TEMPLATE_BOX_KIND_DATE"
      +              ],
      +              "type": "string"
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "maxLen": {
      +              "type": "integer"
      +            },
      +            "options": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "pageIndex": {
      +              "type": "integer"
      +            },
      +            "pdfFieldName": {
      +              "type": "string"
      +            },
      +            "required": {
      +              "type": "boolean"
      +            },
      +            "slot": {
      +              "type": "string"
      +            },
      +            "source": {
      +              "type": "string"
      +            },
      +            "type": {
      +              "type": "string"
      +            },
      +            "width": {
      +              "type": "number"
      +            },
      +            "x": {
      +              "type": "number"
      +            },
      +            "y": {
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "companyId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "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"
      +          }
      +        ]
      +      },
      +      "detectedCategory": {
      +        "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"
      +      },
      +      "detectedDocClass": {
      +        "type": "string"
      +      },
      +      "fields": {
      +        "items": {
      +          "properties": {
      +            "choices": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "defaultValue": {
      +              "type": "string"
      +            },
      +            "description": {
      +              "type": "string"
      +            },
      +            "key": {
      +              "type": "string"
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "required": {
      +              "type": "boolean"
      +            },
      +            "source": {
      +              "type": "string"
      +            },
      +            "type": {
      +              "enum": [
      +                "DOCUMENT_FIELD_TYPE_UNSPECIFIED",
      +                "DOCUMENT_FIELD_TYPE_STRING",
      +                "DOCUMENT_FIELD_TYPE_DATE",
      +                "DOCUMENT_FIELD_TYPE_NUMBER",
      +                "DOCUMENT_FIELD_TYPE_TEXT"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "fileName": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "pages": {
      +        "items": {
      +          "properties": {
      +            "height": {
      +              "type": "number"
      +            },
      +            "rotate": {
      +              "type": "integer"
      +            },
      +            "width": {
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "previousVersionId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "status": {
      +        "enum": [
      +          "COMPANY_USER_TEMPLATE_STATUS_UNSPECIFIED",
      +          "COMPANY_USER_TEMPLATE_STATUS_LEGACY",
      +          "COMPANY_USER_TEMPLATE_STATUS_DRAFT",
      +          "COMPANY_USER_TEMPLATE_STATUS_READY",
      +          "COMPANY_USER_TEMPLATE_STATUS_ONE_TIME"
      +        ],
      +        "type": "string"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "version": {
      +        "type": "integer"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed1 schema field changed
    • changedOutput schema / properties / template / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "analysisError": {
      -        "type": "string"
      -      },
      -      "analysisStatus": {
      -        "enum": [
      -          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_UNSPECIFIED",
      -          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_PENDING",
      -          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_READY",
      -          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_FAILED"
      -        ],
      -        "type": "string"
      -      },
      -      "companyId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "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"
      -          }
      -        ]
      -      },
      -      "detectedCategory": {
      -        "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"
      -      },
      -      "detectedDocClass": {
      -        "type": "string"
      -      },
      -      "fields": {
      -        "items": {
      -          "properties": {
      -            "choices": {
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "defaultValue": {
      -              "type": "string"
      -            },
      -            "description": {
      -              "type": "string"
      -            },
      -            "key": {
      -              "type": "string"
      -            },
      -            "label": {
      -              "type": "string"
      -            },
      -            "required": {
      -              "type": "boolean"
      -            },
      -            "source": {
      -              "type": "string"
      -            },
      -            "type": {
      -              "enum": [
      -                "DOCUMENT_FIELD_TYPE_UNSPECIFIED",
      -                "DOCUMENT_FIELD_TYPE_STRING",
      -                "DOCUMENT_FIELD_TYPE_DATE",
      -                "DOCUMENT_FIELD_TYPE_NUMBER",
      -                "DOCUMENT_FIELD_TYPE_TEXT"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "fileName": {
      -        "type": "string"
      -      },
      -      "id": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "title": {
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "analysisError": {
      +        "type": "string"
      +      },
      +      "analysisStatus": {
      +        "enum": [
      +          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_UNSPECIFIED",
      +          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_PENDING",
      +          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_READY",
      +          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_FAILED"
      +        ],
      +        "type": "string"
      +      },
      +      "companyId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "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"
      +          }
      +        ]
      +      },
      +      "detectedCategory": {
      +        "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"
      +      },
      +      "detectedDocClass": {
      +        "type": "string"
      +      },
      +      "fields": {
      +        "items": {
      +          "properties": {
      +            "choices": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "defaultValue": {
      +              "type": "string"
      +            },
      +            "description": {
      +              "type": "string"
      +            },
      +            "key": {
      +              "type": "string"
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "required": {
      +              "type": "boolean"
      +            },
      +            "source": {
      +              "type": "string"
      +            },
      +            "type": {
      +              "enum": [
      +                "DOCUMENT_FIELD_TYPE_UNSPECIFIED",
      +                "DOCUMENT_FIELD_TYPE_STRING",
      +                "DOCUMENT_FIELD_TYPE_DATE",
      +                "DOCUMENT_FIELD_TYPE_NUMBER",
      +                "DOCUMENT_FIELD_TYPE_TEXT"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "fileName": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "title": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. Changed1 schema field changed
    • changedOutput schema / properties / template / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "analysisError": {
      -        "type": "string"
      -      },
      -      "analysisStatus": {
      -        "enum": [
      -          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_UNSPECIFIED",
      -          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_PENDING",
      -          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_READY",
      -          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_FAILED"
      -        ],
      -        "type": "string"
      -      },
      -      "companyId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "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"
      -          }
      -        ]
      -      },
      -      "detectedCategory": {
      -        "enum": [
      -          "DOCUMENT_CATEGORY_UNSPECIFIED",
      -          "DOCUMENT_CATEGORY_EMPLOYMENT",
      -          "DOCUMENT_CATEGORY_EQUITY",
      -          "DOCUMENT_CATEGORY_COMPANY",
      -          "DOCUMENT_CATEGORY_TRANSACTION",
      -          "DOCUMENT_CATEGORY_GENERAL"
      -        ],
      -        "type": "string"
      -      },
      -      "detectedDocClass": {
      -        "type": "string"
      -      },
      -      "fields": {
      -        "items": {
      -          "properties": {
      -            "choices": {
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "defaultValue": {
      -              "type": "string"
      -            },
      -            "description": {
      -              "type": "string"
      -            },
      -            "key": {
      -              "type": "string"
      -            },
      -            "label": {
      -              "type": "string"
      -            },
      -            "required": {
      -              "type": "boolean"
      -            },
      -            "source": {
      -              "type": "string"
      -            },
      -            "type": {
      -              "enum": [
      -                "DOCUMENT_FIELD_TYPE_UNSPECIFIED",
      -                "DOCUMENT_FIELD_TYPE_STRING",
      -                "DOCUMENT_FIELD_TYPE_DATE",
      -                "DOCUMENT_FIELD_TYPE_NUMBER",
      -                "DOCUMENT_FIELD_TYPE_TEXT"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "fileName": {
      -        "type": "string"
      -      },
      -      "id": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "title": {
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "analysisError": {
      +        "type": "string"
      +      },
      +      "analysisStatus": {
      +        "enum": [
      +          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_UNSPECIFIED",
      +          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_PENDING",
      +          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_READY",
      +          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_FAILED"
      +        ],
      +        "type": "string"
      +      },
      +      "companyId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "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"
      +          }
      +        ]
      +      },
      +      "detectedCategory": {
      +        "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"
      +      },
      +      "detectedDocClass": {
      +        "type": "string"
      +      },
      +      "fields": {
      +        "items": {
      +          "properties": {
      +            "choices": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "defaultValue": {
      +              "type": "string"
      +            },
      +            "description": {
      +              "type": "string"
      +            },
      +            "key": {
      +              "type": "string"
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "required": {
      +              "type": "boolean"
      +            },
      +            "source": {
      +              "type": "string"
      +            },
      +            "type": {
      +              "enum": [
      +                "DOCUMENT_FIELD_TYPE_UNSPECIFIED",
      +                "DOCUMENT_FIELD_TYPE_STRING",
      +                "DOCUMENT_FIELD_TYPE_DATE",
      +                "DOCUMENT_FIELD_TYPE_NUMBER",
      +                "DOCUMENT_FIELD_TYPE_TEXT"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "fileName": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "title": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  4. Changed3 schema fields changed
    • addedOutput schema / properties / template / anyOf
      Added value: +[
      +  {
      +    "properties": {
      +      "analysisError": {
      +        "type": "string"
      +      },
      +      "analysisStatus": {
      +        "enum": [
      +          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_UNSPECIFIED",
      +          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_PENDING",
      +          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_READY",
      +          "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_FAILED"
      +        ],
      +        "type": "string"
      +      },
      +      "companyId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "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"
      +          }
      +        ]
      +      },
      +      "detectedCategory": {
      +        "enum": [
      +          "DOCUMENT_CATEGORY_UNSPECIFIED",
      +          "DOCUMENT_CATEGORY_EMPLOYMENT",
      +          "DOCUMENT_CATEGORY_EQUITY",
      +          "DOCUMENT_CATEGORY_COMPANY",
      +          "DOCUMENT_CATEGORY_TRANSACTION",
      +          "DOCUMENT_CATEGORY_GENERAL"
      +        ],
      +        "type": "string"
      +      },
      +      "detectedDocClass": {
      +        "type": "string"
      +      },
      +      "fields": {
      +        "items": {
      +          "properties": {
      +            "choices": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "defaultValue": {
      +              "type": "string"
      +            },
      +            "description": {
      +              "type": "string"
      +            },
      +            "key": {
      +              "type": "string"
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "required": {
      +              "type": "boolean"
      +            },
      +            "source": {
      +              "type": "string"
      +            },
      +            "type": {
      +              "enum": [
      +                "DOCUMENT_FIELD_TYPE_UNSPECIFIED",
      +                "DOCUMENT_FIELD_TYPE_STRING",
      +                "DOCUMENT_FIELD_TYPE_DATE",
      +                "DOCUMENT_FIELD_TYPE_NUMBER",
      +                "DOCUMENT_FIELD_TYPE_TEXT"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "fileName": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "title": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / template / properties
      Removed value: -{
      -  "analysisError": {
      -    "type": "string"
      -  },
      -  "analysisStatus": {
      -    "enum": [
      -      "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_UNSPECIFIED",
      -      "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_PENDING",
      -      "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_READY",
      -      "COMPANY_USER_TEMPLATE_ANALYSIS_STATUS_FAILED"
      -    ],
      -    "type": "string"
      -  },
      -  "companyId": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "contentType": {
      -    "type": "string"
      -  },
      -  "createdAt": {
      -    "format": "date-time",
      -    "type": "string"
      -  },
      -  "createdByUserId": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "detectedCategory": {
      -    "enum": [
      -      "DOCUMENT_CATEGORY_UNSPECIFIED",
      -      "DOCUMENT_CATEGORY_EMPLOYMENT",
      -      "DOCUMENT_CATEGORY_EQUITY",
      -      "DOCUMENT_CATEGORY_COMPANY",
      -      "DOCUMENT_CATEGORY_TRANSACTION",
      -      "DOCUMENT_CATEGORY_GENERAL"
      -    ],
      -    "type": "string"
      -  },
      -  "detectedDocClass": {
      -    "type": "string"
      -  },
      -  "fields": {
      -    "items": {
      -      "properties": {
      -        "defaultValue": {
      -          "type": "string"
      -        },
      -        "description": {
      -          "type": "string"
      -        },
      -        "key": {
      -          "type": "string"
      -        },
      -        "label": {
      -          "type": "string"
      -        },
      -        "required": {
      -          "type": "boolean"
      -        },
      -        "source": {
      -          "type": "string"
      -        },
      -        "type": {
      -          "enum": [
      -            "DOCUMENT_FIELD_TYPE_UNSPECIFIED",
      -            "DOCUMENT_FIELD_TYPE_STRING",
      -            "DOCUMENT_FIELD_TYPE_DATE",
      -            "DOCUMENT_FIELD_TYPE_NUMBER",
      -            "DOCUMENT_FIELD_TYPE_TEXT"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "fileName": {
      -    "type": "string"
      -  },
      -  "id": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "title": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / template / type
      Removed value: -"object"
  5. Added

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral fact beyond that: the response includes Vision-detected fillable fields, which tells the agent what it gets back and why it might call this. It says nothing about permissions, scoping to companyId, or failure when the template is not found.

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 zero filler. It is efficient, though the clipped phrasing ("including Vision-detected fillable fields") reads as an afterthought appended to the core action.

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

Completeness4/5

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

For a read-only single-resource getter with an output schema and full parameter documentation, the description covers the essentials: what is fetched and one notable payload characteristic. Missing sibling routing is a gap but not a correctness risk given the fully documented schema and safe annotations.

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 companyId and templateId documented as UUID value wrappers, so the schema already does the work. The description adds no meaning about either parameter — notably it does not explain why companyId is required to fetch a user template, which is the one piece of semantics the schema cannot convey.

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?

"Fetch one user-uploaded template" gives a specific verb and resource with an explicit cardinality ("one"), which implicitly separates it from list operations. It does not name any sibling (e.g., documents_list_user_templates or documents_resolve_template_prefill), so the distinction relies on inference rather than explicit contrast.

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, when-not-to-use, or alternative guidance at all. The only signal is the phrase "Fetch one," which implies retrieval of a single known template but leaves the agent to guess why it would choose this over list or resolve-prefill siblings.

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.