Skip to main content
Glama

Use Attached Image

upload_attached_image

FIRST CHOICE whenever the user attached, dropped or generated an image in this ChatGPT conversation: store it (PNG or JPEG, max 10 MB) by passing the attachment as image, and get a reference_image_key for create_video or edit_scene (start_frame_image_key, end_frame_image_key or reference_image_keys). Use this instead of get_reference_upload_page whenever the user attached the picture. rights_confirmed must be true: first tell the user By uploading, you confirm that you own these images or hold every right and permission needed to use them in videos (including the consent of any person shown), and that Fabeo is not responsible for any copyright, trademark, privacy or other infringement arising from images you upload. and get their OK.

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": {
      "image": "<image>"
    },
    "name": "upload_attached_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYesThe image the user attached to the chat.
rights_confirmedNoSet true only after showing the user the rights notice in this tool's description and getting their OK; the call is refused otherwise.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • removedInput schema / $defs
      Removed value: -{
      -  "AttachedFile": {
      -    "description": "A file the user attached in ChatGPT (the app sends a temporary download link when a tool parameter is\ndeclared in _meta[\"openai/fileParams\"]).",
      -    "properties": {
      -      "download_url": {
      -        "title": "Download Url",
      -        "type": "string"
      -      },
      -      "file_id": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "File Id"
      -      }
      -    },
      -    "required": [
      -      "download_url"
      -    ],
      -    "title": "AttachedFile",
      -    "type": "object"
      -  }
      -}
    • removedInput schema / properties / image / $ref
      Removed value: -"#/$defs/AttachedFile"
    • addedInput schema / properties / image / additionalProperties
      Added value: +false
    • addedInput schema / properties / image / properties
      Added value: +{
      +  "download_url": {
      +    "description": "Temporary link to the file.",
      +    "type": "string"
      +  },
      +  "file_id": {
      +    "description": "ChatGPT's id for the file.",
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / image / required
      Added value: +[
      +  "download_url",
      +  "file_id"
      +]
    • addedInput schema / properties / image / title
      Added value: +"Image"
    • addedInput schema / properties / image / type
      Added value: +"object"
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing format limits (PNG or JPEG), a size cap (max 10 MB), the prerequisite consent flow, and the failure mode ('the call is refused otherwise'). The annotations only say it is a non-destructive, open-world, non-idempotent write; the description supplies the operational constraints that actually determine whether a call succeeds.

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?

Front-loaded with the selection rule and the output key, so the important content comes first. It is somewhat long and the embedded rights notice runs inline without quotation marks, making the boundary between instruction and user-facing text slightly hard to parse, but no sentence is genuinely wasted since the notice must be reproduced verbatim.

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?

Only two parameters, one required, no output schema, and the description covers the input source, accepted formats, size limit, consent gate, and the returned reference_image_key plus where to use it. Nothing an agent needs to invoke this 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 already 100% and the nested image object is self-documenting, so the baseline is 3. The description adds real meaning by naming the attachment object as the value for `image` and by spelling out the exact rights notice that must be shown before setting rights_confirmed, which the schema only references abstractly.

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 and resource ('store it... by passing the attachment as image') and names the exact output ('get a reference_image_key'), plus the downstream consumers (create_video, edit_scene) and which fields accept the key. An agent can distinguish this from sibling upload tools without opening 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?

Explicitly declares itself the 'FIRST CHOICE' with the triggering condition (user attached, dropped or generated an image in this ChatGPT conversation) and names the alternative it replaces ('Use this instead of get_reference_upload_page whenever the user attached the picture'). Both the when and the when-not are stated.

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