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

NameRequiredDescriptionDefault
fieldsNo
companyIdYesUUID value wrapper.
templateSlugNo

Output Schema

NameRequiredDescriptionDefault
documentIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / fields / maxItems
      Added value: +100
  2. 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"
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations declare openWorldHint=false and destructiveHint=false, so safety is partly covered. The word 'finished' adds some value (implies a finalized, non-draft artifact), but the description says nothing about preconditions (template must exist, required permissions) or whether field keys must match the template's expected keys. With annotations present, the bar is lower, so 3 is fair.

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 tight sentence that front-loads the verb and resource with no filler. Efficient, though its brevity is arguably the cause of the missing guidance rather than pure conciseness.

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?

An output schema exists, so return values need no explanation. However, for a creation tool with nested objects and only 33% schema coverage, missing details about template resolution, field-key expectations, and permissions leave a meaningful gap.

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%, so the description carries more burden. It does name all three concepts ('company', 'template slug', 'field values'), which maps to companyId, templateSlug, and fields, but adds no format detail (key/value pairing, item limits, UUID wrapper). It partially compensates but not fully.

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?

States a specific verb and resource ('Create a finished document') plus the mechanism ('from a template slug and field values'). This implicitly distinguishes it from documents_create_from_user_template, though the differentiation is not called out explicitly.

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 is only implied through the 'from a template slug' qualifier; there is no explicit when-to-use or when-not-to-use guidance despite several nearby siblings (documents_create_from_user_template, documents_resolve_template_prefill, document_template_resolve_template). An agent must infer the selection rule.

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.