Skip to main content
Glama
EAD Factory MCP Server

EAD Factory MCP Server

Official

evidence_upload_url_create

Creates a presigned upload URL for an already-registered evidence record, letting you PUT the raw file bytes to complete the register-then-upload flow.

Instructions

Creates a fresh presigned upload URL for an already-registered evidence by evidenceId — step 2 of the register-then-upload flow (PUT the file bytes to the returned URL). Pairs with generate_evidence the way evidence_group_evidence_upload_url_create pairs with evidence_group_evidence_register. Requires: generate_evidence → evidenceId. 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>",
      "fileName": "<fileName>"
    },
    "name": "evidence_upload_url_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNameYes
evidenceIdYesMANDATORY. UUID of the evidence record. Obtain from evidence_group_evidence_register or generate_evidence.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations, which only declare this is not read-only, not idempotent, and not destructive, the description discloses that the caller must PUT the raw file bytes itself, that no Authorization header should be sent, and that composite tools add an x-amz-checksum-sha256 header. It does not mention URL expiry or whether repeated calls invalidate earlier URLs, which matters given idempotentHint=false.

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 definition is front-loaded with the action and flow position, then prerequisites, then caller responsibilities. It is information-dense but slightly long, and the parenthetical checksum detail for composite tools is useful yet marginally tangential to invoking this tool.

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 two-parameter URL-minting tool with no output schema, the description supplies the prerequisite, the exact post-call action (PUT the bytes, no auth header), and the alternative server-side upload path. The only gaps are URL lifetime and response shape, which are secondary for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 50%: evidenceId is already documented in the schema and merely reinforced here as coming from generate_evidence or evidence_group_evidence_register. The required fileName parameter is never explained — whether it is a path, a display name, or must match the uploaded object — so the description does not fully compensate for the coverage gap.

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 and resource ('Creates a fresh presigned upload URL for an already-registered evidence') and names the exact flow position ('step 2 of the register-then-upload flow'). It explicitly distinguishes itself from evidence_create_sealed, which uploads server-side, so an agent can separate the two without inspecting 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 gives an explicit prerequisite chain ('Requires: generate_evidence → evidenceId') and an explicit alternative path with its condition ('To have the server upload for you, use evidence_create_sealed with a FileInput'). The parallel with the evidence-group variant further indicates when this tool rather than its sibling applies.

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