Skip to main content
Glama

generate_document_package

Gera o pacote documental completo de um engajamento de compliance (até 18 documentos PDF com marca, capa selada e rodapé numerado) a partir de um EngagementDossier. Slots sem lastro são OMITIDOS e reportados em manifest.gaps — nada é fabricado. Documentos de pesquisa (handoff jurídico, tese) são attach-only. Marcas disponíveis: listadas no schema do dossiê. O schema do dossiê é servido por GET /v1/schema do docgen.

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": {
      "dossier": "<dossier>"
    },
    "name": "generate_document_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
dossierYesEngagementDossier conforme strix/engagement/v1. Campos: engagement (obrigatório), privacy_score, ropa, subprocessors, dpia, gap_register, governance, one_pager, retention_schedule, attachments[].
includeZipNoSe true, retorna o zip do pacote em base64 (payload grande). Padrão false: retorna apenas o manifesto com documentos, gaps e placeholders.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 the omission policy ('Slots sem lastro são OMITIDOS e reportados em manifest.gaps — nada é fabricado'), the attach-only treatment of research documents, and the file/format characteristics of the output. It omits auth requirements, rate limits, and failure modes, keeping 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense but front-loaded: purpose, then omission policy, then attach-only rule, then where to obtain the schema. Every sentence carries operational information, with only mild redundancy between the brand note and the schema-fetch note.

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 tool taking a complex nested dossier with no annotations and no output schema, the description covers the key behaviors: what is generated, what is omitted, what is reported in manifest.gaps, and where the input contract lives. It leaves return-shape details largely to the schema, which is acceptable given the reference to the manifest.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaningful guidance beyond the schema by telling the agent that the dossier schema is served via GET /v1/schema and that available brands are enumerated there — critical for constructing the nested dossier object correctly. It doesn't clarify includeZip beyond what the schema already says.

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 description names a specific verb and resource ('Gera o pacote documental completo de um engajamento de compliance') and quantifies the output ('até 18 documentos PDF com marca, capa selada e rodapé numerado'), so an agent knows exactly what is produced. It does not explicitly contrast itself with siblings such as generate_dpia or generate_lgpd_kit, so it stops 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 Guidelines3/5

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

Usage is implied by the input requirement (an EngagementDossier) and the note that research documents are attach-only, which signals scope boundaries. However, there is no explicit 'use this instead of X' routing against the many sibling generate_* tools, and no stated prerequisites beyond where to fetch the dossier schema.

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