Skip to main content
Glama

Lovie Company Formation

List Documents

documents_list_documents
Read-only

List a company's documents, filtered by type, source, category, or template.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "documents_list_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
filterNo
pageSizeNo
pageTokenNo

Output Schema

NameRequiredDescriptionDefault
documentsNo
totalCountNo
nextPageTokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / filter / properties / category / enum
      Previous value: -[
      -  "DOCUMENT_CATEGORY_UNSPECIFIED",
      -  "DOCUMENT_CATEGORY_EMPLOYMENT",
      -  "DOCUMENT_CATEGORY_EQUITY",
      -  "DOCUMENT_CATEGORY_COMPANY",
      -  "DOCUMENT_CATEGORY_TRANSACTION",
      -  "DOCUMENT_CATEGORY_GENERAL",
      -  "DOCUMENT_CATEGORY_STATE",
      -  "DOCUMENT_CATEGORY_IRS"
      -]New value: +[
      +  "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"
      +]
    • addedInput schema / properties / filter / properties / companyRecords
      Added value: +{
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / documents / items / properties / category / enum
      Previous value: -[
      -  "DOCUMENT_CATEGORY_UNSPECIFIED",
      -  "DOCUMENT_CATEGORY_EMPLOYMENT",
      -  "DOCUMENT_CATEGORY_EQUITY",
      -  "DOCUMENT_CATEGORY_COMPANY",
      -  "DOCUMENT_CATEGORY_TRANSACTION",
      -  "DOCUMENT_CATEGORY_GENERAL",
      -  "DOCUMENT_CATEGORY_STATE",
      -  "DOCUMENT_CATEGORY_IRS"
      -]New value: +[
      +  "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"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / filter / properties / category / enum
      Previous value: -[
      -  "DOCUMENT_CATEGORY_UNSPECIFIED",
      -  "DOCUMENT_CATEGORY_EMPLOYMENT",
      -  "DOCUMENT_CATEGORY_EQUITY",
      -  "DOCUMENT_CATEGORY_COMPANY",
      -  "DOCUMENT_CATEGORY_TRANSACTION",
      -  "DOCUMENT_CATEGORY_GENERAL"
      -]New value: +[
      +  "DOCUMENT_CATEGORY_UNSPECIFIED",
      +  "DOCUMENT_CATEGORY_EMPLOYMENT",
      +  "DOCUMENT_CATEGORY_EQUITY",
      +  "DOCUMENT_CATEGORY_COMPANY",
      +  "DOCUMENT_CATEGORY_TRANSACTION",
      +  "DOCUMENT_CATEGORY_GENERAL",
      +  "DOCUMENT_CATEGORY_STATE",
      +  "DOCUMENT_CATEGORY_IRS"
      +]
    • changedOutput schema / properties / documents / items / properties / category / enum
      Previous value: -[
      -  "DOCUMENT_CATEGORY_UNSPECIFIED",
      -  "DOCUMENT_CATEGORY_EMPLOYMENT",
      -  "DOCUMENT_CATEGORY_EQUITY",
      -  "DOCUMENT_CATEGORY_COMPANY",
      -  "DOCUMENT_CATEGORY_TRANSACTION",
      -  "DOCUMENT_CATEGORY_GENERAL"
      -]New value: +[
      +  "DOCUMENT_CATEGORY_UNSPECIFIED",
      +  "DOCUMENT_CATEGORY_EMPLOYMENT",
      +  "DOCUMENT_CATEGORY_EQUITY",
      +  "DOCUMENT_CATEGORY_COMPANY",
      +  "DOCUMENT_CATEGORY_TRANSACTION",
      +  "DOCUMENT_CATEGORY_GENERAL",
      +  "DOCUMENT_CATEGORY_STATE",
      +  "DOCUMENT_CATEGORY_IRS"
      +]
  3. Changed26 schema fields changed
    • addedOutput schema / properties / documents / items / properties / companyId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / documents / items / properties / companyId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / documents / items / properties / companyId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / documents / items / properties / companyId / type
      Removed value: -"object"
    • addedOutput schema / properties / documents / items / properties / createdAt / anyOf
      Added value: +[
      +  {
      +    "format": "date-time",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / documents / items / properties / createdAt / format
      Removed value: -"date-time"
    • removedOutput schema / properties / documents / items / properties / createdAt / type
      Removed value: -"string"
    • addedOutput schema / properties / documents / items / properties / createdByUserId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / documents / items / properties / createdByUserId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / documents / items / properties / createdByUserId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / documents / items / properties / createdByUserId / type
      Removed value: -"object"
    • addedOutput schema / properties / documents / items / properties / id / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / documents / items / properties / id / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / documents / items / properties / id / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / documents / items / properties / id / type
      Removed value: -"object"
    • addedOutput schema / properties / documents / items / properties / signedAt / anyOf
      Added value: +[
      +  {
      +    "format": "date-time",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / documents / items / properties / signedAt / format
      Removed value: -"date-time"
    • removedOutput schema / properties / documents / items / properties / signedAt / type
      Removed value: -"string"
    • addedOutput schema / properties / documents / items / properties / sourceDocumentId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / documents / items / properties / sourceDocumentId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / documents / items / properties / sourceDocumentId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / documents / items / properties / sourceDocumentId / type
      Removed value: -"object"
    • addedOutput schema / properties / documents / items / properties / templateId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / documents / items / properties / templateId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / documents / items / properties / templateId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / documents / items / properties / templateId / type
      Removed value: -"object"
  4. Changed7 schema fields changed
    • changedInput schema / properties / filter / properties / source / enum
      Previous value: -[
      -  "DOCUMENT_SOURCE_UNSPECIFIED",
      -  "DOCUMENT_SOURCE_TEMPLATE",
      -  "DOCUMENT_SOURCE_PRODUCT",
      -  "DOCUMENT_SOURCE_UPLOAD"
      -]New value: +[
      +  "DOCUMENT_SOURCE_UNSPECIFIED",
      +  "DOCUMENT_SOURCE_TEMPLATE",
      +  "DOCUMENT_SOURCE_PRODUCT",
      +  "DOCUMENT_SOURCE_UPLOAD",
      +  "DOCUMENT_SOURCE_USER_TEMPLATE"
      +]
    • addedOutput schema / properties / documents / items / properties / docClass
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / documents / items / properties / externalRefId
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / documents / items / properties / externalRefKind
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / documents / items / properties / signatureEnvelopeId
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / documents / items / properties / signedAt
      Added value: +{
      +  "format": "date-time",
      +  "type": "string"
      +}
    • changedOutput schema / properties / documents / items / properties / source / enum
      Previous value: -[
      -  "DOCUMENT_SOURCE_UNSPECIFIED",
      -  "DOCUMENT_SOURCE_TEMPLATE",
      -  "DOCUMENT_SOURCE_PRODUCT",
      -  "DOCUMENT_SOURCE_UPLOAD"
      -]New value: +[
      +  "DOCUMENT_SOURCE_UNSPECIFIED",
      +  "DOCUMENT_SOURCE_TEMPLATE",
      +  "DOCUMENT_SOURCE_PRODUCT",
      +  "DOCUMENT_SOURCE_UPLOAD",
      +  "DOCUMENT_SOURCE_USER_TEMPLATE"
      +]
  5. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds nothing behavioral beyond that: no pagination semantics despite pageSize/pageToken, no default or maximum page size, no ordering, and no indication of what an empty filter returns.

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 no filler, which is the right shape for a list tool. It is arguably too terse rather than padded, so the weakness is under-specification rather than verbosity.

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

Completeness2/5

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

The tool has a nested filter object, seven sub-properties, pagination controls, and a large enum surface, but the description covers only a fraction of that. Because an output schema exists, return values need not be explained, yet the missing companyId requirement and pagination behavior are real gaps for a list tool in a crowded document tool family.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the load, and it only partially does: it names type, source, category, and template filters, which map to type, source, category, and templateId. It says nothing about companyId (listed as required in the filter), companyRecords, sourceDocumentId, pageSize, or pageToken, leaving several nested parameters undocumented anywhere.

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 ('List a company's documents') plus the available filter axes, so the agent knows this is a read/list operation scoped to one company. It does not differentiate from adjacent siblings such as documents_list_user_templates, documents_get_document, or transaction_document_get_list_transaction_documents.

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: it suggests calling this when you want documents narrowed by type, source, category, or template. There is no explicit when-not guidance, no mention that companyId is effectively mandatory for a meaningful result, and no pointer to a sibling for related tasks.

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.