Skip to main content
Glama

aidada_image_upload

Upload a local reference image to the OpenAI Files API with vision purpose and get a reusable file_id for repeatable image edits. Uploaded files persist and are not auto-deleted.

Instructions

将本地参考图片持久上传到 OpenAI Files API(purpose=vision),返回可重复编辑使用的 file_id;此工具上传的文件不会自动删除。

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": {
      "path": "<path>"
    },
    "name": "aidada_image_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, so the write-but-non-destructive profile is known. The description adds genuinely new behavior: the upload is persistent, the file lands in an external Files API under purpose=vision, and it will not be auto-deleted, which tells the agent about lingering external state. It does not contradict the annotations.

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?

One front-loaded sentence with a semicolon carrying the persistence caveat; every clause earns its place and nothing is padded.

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 one-parameter upload tool with annotations and no output schema, the description covers action, external destination, return value, and retention behavior. Minor gaps remain around file constraints and cleanup ownership, but the essentials for correct invocation are present.

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?

With a single 'path' parameter and 0% schema description coverage, the description must carry the meaning. It does partially, clarifying that the path refers to a local reference image, but adds no detail on format, size limits, or whether the path must be absolute.

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?

States a specific verb and resource: persists a local reference image to the OpenAI Files API with purpose=vision, and names the return value (file_id). The upload role is clearly distinct from siblings like aidada_image_generate or aidada_image_edit, though no sibling is named explicitly.

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?

Usage is only implied: the returned file_id being reusable for editing suggests this is the preparation step before an edit call, but the description never says when to choose this over, or in sequence with, the edit/generate tools. No exclusions or prerequisites are stated.

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