Skip to main content
Glama

docugen_list_projects

List the DocuGen projects this API key can reach, with the account and the key (name and prefix) in use. Call it first to find the project id that matches the repository you are working on; if the projects are not the ones you expect, the key belongs to another account. When the key lacks permissions, apiKey.unavailableTools lists the tools it hides and the permission each one needs: the user adds that permission to this key in DocuGen (API keys, Edit permissions), with no new key to swap; the MCP client may need to reconnect to list the tools it gained.

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": "docugen_list_projects"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoOptional case-insensitive filter on the project name

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that results are auth-scoped to the key, that an apiKey.unavailableTools field enumerates hidden tools and their required permissions, and the remediation path (add permission to the existing key, no key swap, client may need reconnect). It leaves out result ordering/pagination and any explicit statement that the call is a safe read, which are the remaining gaps.

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?

Front-loads the core action and scope in the first clause, then the ordering instruction, then the permission diagnostic. Despite being three sentences, every one carries actionable information with no filler.

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 one-parameter list tool with no output schema, the description covers what is returned at a high level (projects, account, key name/prefix) and covers the main failure mode. Missing only return shape detail such as item fields or pagination, which an agent could reasonably want.

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% and the single optional 'query' parameter is fully documented in the schema as a case-insensitive name filter. The description adds no further meaning about filtering, so this sits at the baseline.

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?

States a specific verb and resource ('List the DocuGen projects') plus an explicit scope ('this API key can reach') and names what comes back (the account and the key name/prefix). This clearly separates it from docugen_get_project (single project) and docugen_create_project without needing to open 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 Guidelines4/5

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

Gives explicit sequencing guidance — 'Call it first to find the project id that matches the repository you are working on' — and explains the diagnostic case where returned projects don't match expectations. It stops short of naming alternatives such as docugen_get_project for fetching a known id, so it is strong context rather than a full when/when-not map.

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