Skip to main content
Glama

Upload a local image

upload_image

Upload a local image file from the server's machine to Image Label, with optional display name, category, and description for organizing and annotating it.

Instructions

Upload a local image file (path on the machine running this server) to Image Label.

Input Schema

NameRequiredDescriptionDefault
nameNoDisplay name; defaults to the file name.
pathYesAbsolute path of an image file (up to 20 MB) on the machine running this server.
categoryNoCategory to file the image under (list_images filters by it).
descriptionNoFree-text description stored with the image.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.8.1
    • addedInput schema / properties / category / description
      Added value: +"Category to file the image under (list_images filters by it)."
    • addedInput schema / properties / description / description
      Added value: +"Free-text description stored with the image."
    • addedInput schema / properties / name / description
      Added value: +"Display name; defaults to the file name."
    • addedInput schema / properties / path / description
      Added value: +"Absolute path of an image file (up to 20 MB) on the machine running this server."
  2. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so the write semantics are covered. The description's only added behavioral detail is that the path resolves on the server host, not the client; it says nothing about the 20 MB cap, storage location, or whether a repeated upload duplicates the image.

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?

One sentence, front-loaded with the action, with the parenthetical caveat placed exactly where it is needed. No padding, though it is arguably too terse for a mutating upload 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?

An output schema exists and all four parameters are documented in the schema, so return values and argument details are not the description's burden. The remaining gap is routing guidance against upload_image_from_url, which an agent would have to infer.

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% – path, name, category and description each carry their own schema-level explanation including the 20 MB limit. The description restates the path constraint but adds no syntax or format meaning beyond the schema, so the baseline applies.

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 ('Upload a local image file ... to Image Label') and the parenthetical clarifies the source is a filesystem path, which implicitly separates it from upload_image_from_url. Sibling differentiation is only implied by 'local' rather than stated explicitly, so it stops short of a 5.

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 'path on the machine running this server' note tells the agent where the file must live, which rules out remote files, but it never names upload_image_from_url as the alternative for URL-based uploads or states any other when-to-use condition.

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