Skip to main content
Glama
EAD Factory MCP Server

EAD Factory MCP Server

Official

evidence_temp_file_upload_url_create

Create a presigned upload URL for a temporary, unregistered file so you can stage content that another operation will reference; upload the raw bytes yourself via PUT without an Authorization header.

Instructions

Creates a presigned upload URL for a TEMPORARY file not yet registered as evidence. Use for staging content that another operation will reference; for real evidence prefer the register-then-upload flow (evidence_group_evidence_register) or the evidence_create_sealed composite, which handle registration and upload together. Who uploads: this tool only returns the presigned URL — you must PUT the raw file bytes to it yourself (no Authorization header; the composite tools also send x-amz-checksum-sha256 with the base64 SHA-256 of the file). To have the server upload for you, 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>",
      "createdBy": "<createdBy>",
      "title": "<title>",
      "capturedAt": "<capturedAt>",
      "fileName": "<fileName>",
      "testimony": "<testimony>"
    },
    "name": "evidence_temp_file_upload_url_create"
  }
}

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
urlNo
expirationNo

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": {},
      +  "properties": {
      +    "expiration": {
      +      "type": "string"
      +    },
      +    "url": {
      +      "type": "string"
      +    }
      +  },
      +  "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.1/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses that only a presigned URL is returned, that the caller must PUT raw bytes itself with no Authorization header, and that composites also send x-amz-checksum-sha256. It omits URL expiry/TTL and why repeated calls are non-idempotent (idempotentHint=false), which keeps it short of a 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?

Four sentences, all substantive, front-loaded with the definition and followed by routing guidance and the manual-PUT mechanic. The parenthetical checksum detail is dense but earns its place; nothing is redundant.

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

Completeness3/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 no explanation, and the upload mechanics are covered. But for a 10-parameter, nested-object tool with low schema coverage, the complete absence of parameter meaning (testimony, requiredTestimonyProviders, capturedAt, the ID reconciliation) leaves real gaps.

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?

Ten parameters with only 30% schema coverage and no parameter guidance in the description at all. Critically, the description frames the tool around a temporary unregistered file while the schema marks evidenceId and evidenceGroupId as MANDATORY evidence-record UUIDs, and the description never reconciles that.

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 plus a distinguishing scope: a presigned upload URL for a TEMPORARY file that is not yet registered as evidence. It names the sibling composites it is not (evidence_group_evidence_register, evidence_create_sealed), so an agent can separate it from the register-then-upload path without opening a schema.

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?

Explicitly says when to use it (staging content another operation will reference) and when not to (real evidence should go through evidence_group_evidence_register or the evidence_create_sealed composite), and gives a selection rule for server-side upload via FileInput. Alternatives and exclusions are both present.

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