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

EAD Factory MCP Server

Official

evidence_group_close

Close an evidence group to seal it, trigger qualified timestamping, and prevent adding more evidence. Use after all evidence files have been uploaded.

Instructions

Seals (closes) an evidence group, triggering qualified timestamping — after this, no more evidence can be added. Use only after every evidence registered in the group has had its file bytes uploaded to the presigned URL from evidence_group_evidence_register. Requires: evidence_group_create → evidenceGroupId, evidence_case_file_create → caseFileId, and the current evidencesCount. ASYNC: the group transitions OPEN → CLOSING → CLOSED; poll evidence_group_get until status is CLOSED before generating a report. Prefer the evidence_create_sealed composite tool for a new group — it registers, uploads, closes, and waits for CLOSED in one call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
caseFileIdYesMANDATORY. UUID of the parent case file. Obtain from evidence_case_file_create.
evidencesCountYes
collectMetadataNo
evidenceGroupIdYesMANDATORY. UUID of the evidence group. Obtain from evidence_group_create.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
Behavior5/5

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

The annotation indicates non-read-only (readOnlyHint=false) but no destructive flag. The description goes beyond annotations by revealing the async state machine (OPEN → CLOSING → CLOSED), the need to poll evidence_group_get, and the irreversible consequence ('no more evidence can be added'). This adds valuable behavioral context not present in annotations.

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 information-dense but every sentence earns its place: main action, precondition, required inputs, async behavior, and alternative tool. It is well-structured and front-loaded with the core purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of the tool (state transitions, prerequisites, async polling), the description covers all essential aspects: what happens, when to use, what to do after invocation (poll until CLOSED), and a simpler alternative. The presence of an output schema reduces the need to explain return values, so this is complete.

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 50% (only caseFileId and evidenceGroupId have descriptions). The description adds meaning for evidencesCount as 'the current evidencesCount' and explains the provenance chain for the IDs. However, collectMetadata is not mentioned at all, leaving its semantics unexplained. Overall, the description partially compensates for the schema gaps.

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 clearly states the action: 'Seals (closes) an evidence group, triggering qualified timestamping — after this, no more evidence can be added.' This is a specific verb+resource and distinguishes from siblings like evidence_group_discard or evidence_group_update by emphasizing the sealing aspect.

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?

Explicit usage conditions are given: 'Use only after every evidence registered in the group has had its file bytes uploaded to the presigned URL from evidence_group_evidence_register.' It also names an alternative ('Prefer the evidence_create_sealed composite tool') and lists required dependencies, providing clear when-to-use and when-to-avoid guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/g-digital-by-Garrigues/EAD-Factory-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server