Skip to main content
Glama

Lovie Company Formation

Create Document

documents_create_document

Create a finished document for a company from a template slug and field values.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsNo
companyIdYesUUID value wrapper.
templateSlugNo

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. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations provide only openWorldHint=false and destructiveHint=false, so no read-only or idempotency hints are present. The description adds the trait 'finished document,' suggesting a final, non-draft result, but it does not clarify what 'finished' implies (e.g., irreversible, signed, or fully populated) or disclose possible side effects. No contradiction with annotations.

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 entire description is a single sentence with no filler or redundant phrasing. The verb and object are front-loaded, and each phrase ('finished document,' 'template slug,' 'field values') adds a distinct piece of meaning.

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 description gives the basic purpose and the two main inputs, but lacks context about field key semantics, template sourcing, and the significance of a 'finished' document. Since an output schema exists and the input schema carries patterns, the absence of return-value details is acceptable; however, for a mutation tool with sparse annotations, more behavioral context would be needed for an agent to call it correctly and safely.

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 only 33% (only companyId has a short wrapper description). The description compensates a little by mentioning 'template slug' and 'field values,' which clarifies the roles of templateSlug and fields. However, it does not explain how field keys map to template placeholders or that companyId is a nested UUID wrapper object, leaving meaningful gaps.

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 is a precise statement of the action (create), the resource (finished document), and the inputs (template slug, field values). It distinguishes itself from the sibling documents_create_from_user_template by the explicit 'template slug' wording, so an agent can pick the right tool without opening either schema.

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?

Usage context is implied rather than stated. The phrase 'from a template slug' hints at the intended workflow, but there is no explicit guidance on when to choose this tool over the sibling documents_create_from_user_template, and no mention of prerequisites such as an existing company or resolving a template slug first.

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.