Skip to main content
Glama

Ginta

Put the owner's photo or logo online

attach_image

Use for the owner's own photos and logo in business sites and module content (menu, shop, gallery, blog): copies one image (a public link or base64) into their account and returns a /_g/u/… path to use in HTML or module data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoPublic http(s) link to the image file.
filenameNoOriginal file name, e.g. "logo.png".
data_base64NoThe image file itself, base64-encoded (instead of url).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesFull address of the image.
pathYesPath to use in HTML or module data, e.g. /_g/u/abc.webp.
typeYesImage type.
bytesYes
widthYes
heightYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent, open-world. The description adds real behavioral context beyond them: it copies (persists) the image into the account rather than referencing it, and returns a storage path for embedding in HTML or module data. It omits auth requirements, dedup/idempotency nuance, and size limits referenced only in the schema.

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?

A single front-loaded sentence that opens with "Use for", states scope, then mechanics and return value. No filler or repetition.

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?

Output schema exists so return values need not be explained, yet the description still names the returned path format. The one gap is that the schema marks zero required parameters while the description implies exactly one of url/data_base64 must be supplied, and that requirement is not clarified.

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 all three parameters are already documented. The description restates the url-or-base64 choice, which the schema already conveys with "instead of url"; it adds no extra syntax, constraints, or precedence rules.

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?

Specific verb (copies), resource (one image, public link or base64), target (their account), and outcome (returns a /_g/u/… path). The scope phrase "owner's own photos and logo" separates it from the generic sibling upload_files.

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?

States where to use it (business sites and module content such as menu, shop, gallery, blog) and restricts it to the owner's own assets, which implies rather than names the contrast with upload_files. No explicit when-not or prerequisite conditions are given.

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