Skip to main content
Glama
dcianciulli

DefectDojo MCP Server

by dcianciulli

close_engagement

Close an engagement in DefectDojo by providing its engagement ID to mark the engagement as completed and finalize its status.

Instructions

Close an engagement.

Args: engagement_id: The engagement ID to close

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
engagement_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden for a mutation. It says nothing about whether closing is reversible, what happens to associated tests/findings/notes, whether permissions are required, or whether the engagement is archived or hidden. For a state-changing operation with zero annotation coverage this is a significant gap.

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 two lines with no padding and the action is front-loaded. The 'Args:' block is boilerplate that partly duplicates the schema, but there is no verbose waste.

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?

An output schema exists, so return values need not be explained. But for a destructive-ish state-change tool with no annotations, the description supplies no behavioral context, no usage context, and no param detail—leaving the agent underinformed for correct invocation.

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 coverage is 0%, so the description must compensate. It only restates the parameter name ('The engagement ID to close') without adding format, source, or how to obtain a valid ID. Value beyond the schema's bare 'Engagement Id' property is essentially nil.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a verb and resource ('Close an engagement'), which is clear at a surface level. However, it gives no indication of what 'close' actually means relative to siblings like delete_engagement or update_engagement, so the agent must infer the distinction. The semantics of the state change are left undefined.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

Provides no when-to-use guidance, no preconditions, and no alternatives. An agent looking at close_engagement, delete_engagement, update_engagement, and get_engagement gets nothing telling it which to pick. The one-line description-equivalent is purely nominal.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.