Skip to main content
Glama
g-digital-by-Garrigues

EAD Factory MCP Server

Official

evidence_group_delete_bulk

DestructiveIdempotent

Permanently deletes SEVERAL evidence groups of one case file in one call. Destructive — prefer evidence_group_discard for a single group, and never delete sealed groups that back issued reports.

Instructions

Permanently deletes SEVERAL evidence groups of one case file in one call. Destructive — prefer evidence_group_discard for a single group, and never delete sealed groups that back issued reports. Requires: caseFileId + the evidenceGroupIds to delete (evidence_group_search to find them).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYes
requestIdYesMANDATORY. UUID you generate yourself to identify THIS bulk request — it is not obtained from any other tool, and it is NOT a notification request id. The upstream API does not document what it does with the value; send a fresh UUID per batch.
caseFileIdYesMANDATORY. UUID of the parent case file. Obtain from evidence_case_file_create.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.4.0
    • changedInput schema / properties / requestId / description
      Previous value: -"UUID of the notification request. Obtain from notification_request_create."New value: +"MANDATORY. UUID you generate yourself to identify THIS bulk request — it is not obtained from any other tool, and it is NOT a notification request id. The upstream API does not document what it does with the value; send a fresh UUID per batch."
  2. First observedv1.3.1

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the description builds on that with a specific warning that permanently deleting sealed groups is unsafe due to issued reports. It adds a concrete restriction beyond the annotations though it does not elaborate on idempotency (already hinted) or partial-failure behavior. The warning about sealed reports is a meaningful extra context.

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?

The description is three purposeful sentences: it states the action, delivers a warning, and lists required inputs with a discovery pointer. It has no filler, front-loads the key distinction, and uses succinct imperative guidance ('never delete sealed groups') without redundancy.

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?

The description gives sufficient context for a destructive bulk operation: it covers purpose, scoping, warnings, and how to locate inputs. However, it omits the mandatory `requestId` from its explicit required-input list; though the schema defines it, an agent relying on the description could miss a required parameter. The absent output schema is not a problem for a delete operation, but the missing requirement in the prose is a small gap.

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?

With 67% schema description coverage, the description still maps 'evidenceGroupIds' to the `ids` parameter and explicitly references the search tool to find them. It also restates that caseFileId is required, but it fails to mention the required 'requestId' though that is fully defined in the schema. The description adds value for the otherwise undocumented `ids` parameter but doesn't fully cover all required parameters.

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?

The description states a specific verb ('deletes') plus the resource ('SEVERAL evidence groups of one case file') in a single call. It distinguishes itself from the sibling evidence_group_discard (single group) and evidence_group_delete_bulk by explicitly contrasting with the singular alternative, so an agent can select it without opening schemas.

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

Usage Guidelines5/5

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

It explicitly says 'prefer evidence_group_discard for a single group' and 'never delete sealed groups that back issued reports,' which provides clear when-to-use and when-not-to-use direction. It also tells the agent to use evidence_group_search to find the group IDs, closing the loop on how to prepare inputs.

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

Deploy Server

Other Tools