Skip to main content
Glama
EAD Factory MCP Server

EAD Factory MCP Server

Official

evidence_multipart_upload_start

Starts a multipart upload session for a large evidence file and registers the evidence, returning the upload ID needed to track the upload.

Instructions

Starts a MULTIPART upload session for a large evidence file and REGISTERS the evidence itself (returns the upload id). Use when a single presigned PUT is not enough for the file size. Mint a NEW evidenceId: do not register it first — an id that already exists answers 409 evidence_already_exist (seen live on INT, 2026-11-28). Send testimony and requiredTestimonyProviders by provider name, as in evidence_group_evidence_register. Who uploads: this server exposes neither the per-part upload links nor the step that completes a multipart upload, so a multipart upload cannot be finished through MCP tools. For a file the server can ingest (up to MCP_FILE_MAX_BYTES), use evidence_create_sealed with a FileInput file instead.

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": {
      "evidenceId": "<evidenceId>",
      "fileName": "<fileName>",
      "createdBy": "<createdBy>",
      "title": "<title>",
      "capturedAt": "<capturedAt>",
      "testimony": "<testimony>"
    },
    "name": "evidence_multipart_upload_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
fileNameYes
metadataNo
createdByYes
testimonyYes
capturedAtYes
caseFileIdNoMANDATORY. UUID of the parent case file. Obtain from evidence_case_file_create.
evidenceIdYesMANDATORY. UUID of the evidence record. Obtain from evidence_group_evidence_register or generate_evidence.
evidenceGroupIdNoMANDATORY. UUID of the evidence group. Obtain from evidence_group_create.
requiredTestimonyProvidersNo

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.5.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "data"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changedv1.4.0
    • changedInput schema / properties / capturedAt / pattern
      Previous value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"New value: +"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
  3. First observedv1.3.1

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, idempotentHint=false, destructiveHint=false; the description goes well beyond them by disclosing the registration side effect, the 409 evidence_already_exist failure mode for a pre-existing id, and the critical limitation that the per-part links and completion step are not exposed so the upload cannot be finished via MCP. That last point materially changes whether an agent should call this at all, and it is consistent with the non-read-only, non-idempotent annotations.

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?

Purpose and the blocking limitation are front-loaded and each sentence carries operational weight. The parenthetical '(seen live on INT, 2026-11-28)' is provenance noise that could be trimmed, and the description is on the long side, but nothing else is filler.

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?

For a 10-parameter mutation tool with nested testimony objects, it covers the decisive facts: what gets created, what the return value is, the conflict condition, and the fact that the multipart flow cannot be completed through MCP. An output schema exists, so it correctly does not spend words describing the response body.

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 description coverage is low (30%) across 10 parameters, and the description compensates on the highest-risk ones: evidenceId must be freshly minted rather than already registered, and testimony/requiredTestimonyProviders are keyed by provider name following evidence_group_evidence_register. It leaves title, fileName, metadata, and capturedAt without added meaning, relying on the schema for those.

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 ('Starts a MULTIPART upload session for a large evidence file') and adds the non-obvious side effect that it also registers the evidence record and returns the upload id. It explicitly separates itself from evidence_create_sealed and evidence_group_evidence_register, so an agent can choose without opening sibling 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?

Gives a positive trigger (when a single presigned PUT is not enough for the file size), an explicit alternative (evidence_create_sealed with a FileInput file up to MCP_FILE_MAX_BYTES), and a hard precondition (mint a NEW evidenceId rather than pre-registering). When-to-use, when-not-to-use, and the alternative are all named.

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