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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
companyIdYesUUID value wrapper.
templateIdYesUUID value wrapper.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
templateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safe read nature is covered. The description adds the value of including Vision-detected fillable fields, which is useful behavioral context beyond annotations, but it doesn't discuss response format or specific field details. No contradiction found.

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 one concise sentence that front-loads the core action (fetch one template) and adds a key detail (including fillable fields). No wasted words; every element earns its place.

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?

Given the tool has only 2 parameters both amply described in schemaaine, an output schema exists to explain return values, and annotations cover safety, the description is sufficient. It names the distinguishing feature (Vision-detected fields), which adds completeness. The only minor gap is not mentioning pagination or alternatives, but these are less critical for a single-fetch tool.

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%, so both params are documented as UUID value wrappers. The description doesn't add any extra meaning beyond what the schema provides, but it references the purpose of the templateId (user-uploaded template), which aligns. The nested objects are already explained in schema.

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 the tool fetches a single user-uploaded template and includes Vision-detected fields, which is a specific resource and action. It distinguishes from siblings like documents_list_user_templates (list all) and documents_create_from_user_template (create), though it doesn't explicitly name alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies this is for retrieving a specific template with its detected fields, but it doesn't explicitly state when to use this versus listing templates or resolving templates. The context of user-uploaded templates is clear, but no exclusions or alternatives are named.

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.