Skip to main content
Glama

docugen_list_documents

List the documents of a project, optionally filtered by type, status or feature group. Each row carries featureGroup: {id, name} of its feature group, or null. Archived documents are left out unless you pass includeArchived: true, which is how you find the id of something to hand to docugen_restore_document.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>"
    },
    "name": "docugen_list_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoOptional document type, such as product_description or technical_spec
statusNoOptional status, such as draft, in_review or approved
projectIdYesProject id
featureGroupIdNoOptional feature group id, from docugen_list_feature_groups: only the documents of that group
includeArchivedNoInclude archived documents in the result. Each row carries an "archived" flag so you can tell them apart. Defaults to false.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden and mostly meets it: it discloses that archived documents are excluded by default, that an 'archived' flag marks them when included, and that each row carries a featureGroup object or null. It omits ordering, pagination, and volume limits for what could be a large list, which keeps it below 5.

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?

Three sentences, front-loaded with the core operation, then return-shape detail, then the archived/restore workflow. No filler, and the most decision-relevant constraint (archived exclusion) appears before the reader has to ask about it.

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 five-parameter list tool with no annotations and no output schema, the description covers the essential behaviors: default filtering, the archived flag, and the featureGroup return shape. Pagination and result-size behavior are the remaining gap, but nothing critical to a correct first call is missing.

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 all five parameters are already documented and the baseline is 3. The description adds some meaning beyond the schema, notably the purpose behind includeArchived and the featureGroupId provenance, but it largely restates the filter set the schema already enumerates.

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 first sentence gives a specific verb and resource (list documents of a project) plus the three optional filters, so an agent can distinguish this from siblings like docugen_list_comments or docugen_get_project. It does not explicitly contrast with docugen_get_document for single-document retrieval, which is why it falls short of a 5.

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 states a concrete when-to-use case for includeArchived: true (finding an id to hand to docugen_restore_document) and points to docugen_list_feature_groups for sourcing featureGroupId. It gives no exclusion guidance, such as when to use docugen_get_document instead, but the context it provides is clear and actionable.

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.

Resources