Skip to main content
Glama
EAD Factory MCP Server

EAD Factory MCP Server

Official

notification_document_upload_url_create

Creates a new presigned URL for an existing notification document attachment when its upload link expires, so you can PUT the file bytes to the returned URL.

Instructions

Creates a fresh presigned upload URL for a document attachment already registered via notification_document_add — needed only when the uploadLinks url that call returned has expired. Requires: notification_request_create → requestId, and the attachment's id as attachmentId (the fileId in notification_document_add's uploadLinks). 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). No MCP tool uploads notification attachments, so this PUT is always yours.

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": {
      "requestId": "<requestId>",
      "attachmentId": "<attachmentId>"
    },
    "name": "notification_document_upload_url_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileSizeNo
requestIdYesUUID of the notification request. Obtain from notification_request_create.
attachmentIdYesMANDATORY. UUID of the attachment. Obtain from notification_document_add.

Output Schema

NameRequiredDescriptionDefault
urlNo
expirationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A4.8/5.0
Behavior5/5

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

The annotations only declare the generic non-read-only, non-idempotent, non-destructive profile; the description adds the material behavior that this tool returns a URL but performs no upload, that the caller must PUT raw bytes with no Authorization header, and that a checksum header is expected. That two-phase contract is exactly the kind of information annotations cannot convey and is essential to avoid a partial upload.

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 most decision-relevant fact (refresh-only, expired URL) is front-loaded, followed by prerequisites and then the upload contract. It is dense and slightly parenthesis-heavy, but nearly every clause carries operational meaning; only minor trimming of the 'composite tools also send…' aside is possible.

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?

With an output schema present, return-value detail is unnecessary, and the description covers the prerequisites, the identifier mapping, and the post-call PUT responsibility. For a 3-parameter tool in a multi-step flow, nothing an agent needs to invoke it correctly is missing.

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 67%: requestId and attachmentId are described in the schema, but fileSize is not. The description adds real value by mapping attachmentId to 'the fileId in notification_document_add's uploadLinks', disambiguating two similarly named identifiers, though it says nothing about fileSize or whether it is required for the presigned URL.

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 names a specific verb and resource ('Creates a fresh presigned upload URL for a document attachment') and immediately scopes it against the sibling that already does the first-time registration (notification_document_add). An agent can distinguish this refresh-only tool from the original add call without inspecting any 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?

It states the precise triggering condition ('needed only when the uploadLinks url that call returned has expired') and the prerequisite chain (notification_request_create → requestId, notification_document_add → attachmentId). This is explicit when-to-use guidance tied to named alternatives rather than inferred context.

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