Skip to main content
Glama

Lovie Company Formation

Create Document From User Template

documents_create_from_user_template

Create a finished document by filling a company user-uploaded template with collected field values. Does not modify the original upload.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsNo
companyIdYesUUID value wrapper.
userTemplateIdYesUUID value wrapper.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
documentIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / documentId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / documentId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / documentId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / documentId / type
      Removed value: -"object"
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only include openWorldHint=false and destructiveHint=false. The description adds a meaningful behavioral guarantee—'Does not modify the original upload'—which is not fully implied by the annotations. This reassures agents about the non-destructive nature of the operation while acknowledging it creates a new artifact.

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 two short, front-loaded sentences with no filler. The primary action appears first, and the behavioral note about not modifying the original upload earns its place as important additional context.

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 moderate-complexity creation tool with an output schema present, the description covers the core purpose and a key safety guarantee. It could mention when fields may be omitted or how this relates to alternatives like documents_create_document, but the existing text, together with schema and annotations, is sufficient for correct invocation in most cases.

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?

The schema describes companyId and userTemplateId only as 'UUID value wrapper,' and the fields array has no description, leaving 67% coverage. The description adds useful meaning by clarifying that userTemplateId refers to a company user-uploaded template and that fields represent collected field values, but it does not detail the key/value structure or required behavior beyond what the schema shows.

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

Purpose5/5

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

The description states a specific verb and resource: create a finished document by filling a company user-uploaded template with collected field values. It clearly differs from a generic document-creation tool by emphasizing the template origin and explicitly noting that the original upload is not modified.

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

Usage Guidelines4/5

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

The description clearly conveys the intended use case: generating a finished document from an existing user-uploaded template using collected field values. It does not name alternatives or exclusions, but the context is sufficiently clear to guide selection among sibling document tools.

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.