Skip to main content
Glama

SPACEXPLORATION

Confirm attachment upload

confirm_attachment_upload
Idempotent

Finalize an out-of-band upload after the file bytes have been PUT to the presigned URL. Verifies the stored object matches what was signed (size and content-type) and marks the attachment ready. Returns the attachment snapshot with its public variant URLs. Idempotent: confirming an already-confirmed upload returns the same snapshot.

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": {
      "attachment_id": "<attachment_id>"
    },
    "name": "confirm_attachment_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
attachment_idYesThe attachment_id (ULID) returned by sign_attachment_upload. Confirm only after the file bytes have been successfully PUT to the presigned URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint false, destructiveHint false, openWorldHint true, idempotentHint true), so the bar is lower. The description still adds real value by disclosing the verification step (size and content-type match against the signed object) and the return payload (attachment snapshot with public variant URLs). The idempotency sentence largely restates idempotentHint=true, though it adds the detail that the same snapshot is returned.

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?

Three tight sentences, front-loaded with the action and its precondition, followed by behavior and return value, then the idempotency note. No filler or repetition of the tool title.

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 one-parameter finalization step with no output schema, the description covers the prerequisite, the server-side verification performed, the state change, and the shape of the returned snapshot. An agent has everything needed to call it correctly and interpret the result.

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?

There is a single parameter with 100% schema description coverage, and the schema already explains the ULID origin and the PUT precondition. The description adds no parameter-level meaning beyond the schema, so the baseline of 3 applies.

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 ('Finalize an out-of-band upload') and pins down the exact state transition: verifying the stored object against the signed size and content-type, then marking the attachment ready. It is clearly distinguishable from the sibling sign_attachment_upload, which it implicitly follows in the two-step flow.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The required precondition is stated explicitly in both description and schema: confirm only after the bytes have been successfully PUT to the presigned URL. That gives a clear when-to-use condition, but there is no explicit when-not guidance or named alternative for the failure path (e.g. what to do if verification fails, or whether to re-sign).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources