Skip to main content
Glama

firefly_register_asset

Read-onlyIdempotent

Registers an existing file in the configured private root and returns its asset ID, MIME type, size, and hash without uploading or accessing Adobe.

Instructions

Registra archivo existente dentro del root privado configurado; devuelve asset_id, MIME, tamaño y hash. No carga archivos ni accede a Adobe.

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": {
      "relative_path": "<relative_path>"
    },
    "name": "firefly_register_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
relative_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered. The description adds real context beyond that: it returns asset_id, MIME, size, and hash, and it neither uploads bytes nor touches Adobe. This clarifies that 'register' is a lightweight reference operation, not a write.

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 compact clauses, front-loaded with the core action and return fields, followed by the negative constraints. No wasted wording for a one-parameter tool.

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

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter, annotation-rich tool with no output schema, the description covers purpose, return values, and non-behaviors adequately. A more explicit note on path resolution would close the only remaining gap.

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 for the single relative_path parameter. It adds partial meaning by establishing that the path is relative to the 'root privado configurado', but it does not explain format, separators, or constraints (1-240 chars). Baseline 3 for minimal compensation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb+resource: 'Registra archivo existente dentro del root privado configurado' tells the agent it registers an already-existing file rather than creating one. It also distinguishes itself from upload/download siblings by stating 'No carga archivos ni accede a Adobe.' Clear, though it does not name a specific sibling as the alternative path.

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

Usage Guidelines3/5

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

The negative constraints ('No carga archivos ni accede a Adobe') implicitly route the agent here only when the file already exists in the private root, and away from upload tools. However, there is no explicit 'use this when...' statement or reference to a concrete alternative for uploading new files, so guidance stays implied.

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