Skip to main content
Glama

upload_certified_image

Uploads local JPG, PNG, WEBP, BMP, or GIF images at original quality and certifies them, returning asset ID, storage details, upload verification, and certification status for canvas use.

Instructions

本地图片按原质量上传并认证(JPG/PNG/WEBP/BMP/GIF)。返回素材 ID、存储去向、上传核对结果、认证状态。 长边超过 6000px 的图会被画布压缩,插件会先请用户确认。上传后要再用 add_certified_asset_node 放到画布上。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupYes认证分组名或分组 ID(用 list_certified_groups 查)
projectYes项目名称或项目 ID(用 list_projects 查)
file_pathYes本地图片的完整路径,如 C:\素材\司徒陌-面部.png
confirm_codeNo两步确认码。只有上一次调用返回了确认码、并且用户已经明确同意时才填;平时不要填
display_nameNo放到画布上时显示的名字,不填就用原文件名

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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 declare a non-read-only, non-idempotent, open-world mutation. The description adds real behavioral context beyond that: the +6000px canvas compression fallback, the plugin-driven user confirmation, and the two-step confirmation it later mentions. It stops short of stating idempotency or auth requirements, so it is not fully exhaustive.

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?

Three sentences, each carrying distinct load: capability, return summary, and the compression/confirmation caveat plus next-step. Return values are front-loaded and nothing is redundant, though it is slightly dense.

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?

With a 100% covered schema and an existing output schema, the description does not need to explain return values, yet it still names them helpfully. Combined with the format list and the follow-up tool reference, an agent has what it needs; only permission/auth expectations are unaddressed.

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 description coverage is 100%, so the schema already documents all five parameters including the conditional confirm_code semantics. The description reinforces the confirm_code two-step flow implicitly but adds no syntax or format detail beyond the schema, so the baseline 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 states a specific verb and resource (本地图片按原质量上传并认证) and enumerates supported formats, immediately distinguishing it from the sibling upload_certified_video. An agent can tell exactly what this does without opening the schema.

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?

It gives clear sequencing guidance, telling the agent that after upload it must use add_certified_asset_node to place the asset on the canvas, and describes the confirm-first flow for large images. It does not explicitly state exclusions versus siblings, but the image-vs-video split is self-evident.

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