Skip to main content
Glama

firefly_prepare_signed_upload

Read-onlyIdempotent

Prepares a local asset upload to a user-provided S3 or Azure presigned PUT URL. No storage is created and no data is sent until the plan is confirmed.

Instructions

Prepara transferencia de un asset local a URL PUT firmada S3/Azure aportada por el usuario. No crea almacenamiento ni envía hasta execute_plan con confirm_transfer.

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": {
      "asset_id": "<asset_id>",
      "presigned_put_url": "<presigned_put_url>"
    },
    "name": "firefly_prepare_signed_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
asset_idYes
presigned_put_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, idempotent, non-destructive, closed-world), and the description adds the critical two-phase semantics: it neither creates storage nor transmits until execute_plan with confirm_transfer. It leaves out what happens on an invalid or expired URL, and whether re-preparing the same pair is deduplicated despite idempotentHint.

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?

Two tight sentences: purpose first, then the deferral constraint. Nothing redundant or padded.

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?

With no output schema, the description never says what is returned (e.g., a plan/handle the agent must later feed to execute_plan), which is the key missing link for the two-phase flow it describes. Otherwise adequate for a 2-parameter staging tool.

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 coverage is 0%, so the description carries the burden, and it does explain both parameters: asset_id is the local asset, and presigned_put_url is a user-provided signed S3/Azure URL. It doesn't say which URL schemes/hosts are accepted or what asset_id forms are valid, so a notable gap remains.

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+resource pair: prepares the transfer of a local asset to a user-provided signed S3/Azure PUT URL. It also distinguishes itself from the sibling firefly_execute_plan by naming it as the tool that actually performs the send.

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?

Gives clear context: use this to stage an upload, and the transfer only happens later in execute_plan with confirm_transfer. That covers the when and the deferral point, but it doesn't mention preconditions (valid asset_id, allowed URL schemes) or any real alternative for uploading.

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