Skip to main content
Glama

upload_image

Upload an image to Medium via the official API when supported, accepting a file path, filename, media type, or base64-encoded image bytes.

Instructions

Upload an image via official Medium API when supported (capability-gated).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "upload_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameNo
image_pathNo
media_typeNo
image_bytes_base64No

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden of behavioral disclosure. It adds useful context that the operation uses the official Medium API and is capability-gated, but it does not describe authorization needs, whether the upload is permanent, what happens when unsupported, or how errors are surfaced. For a write operation with four input parameters, this is a significant gap.

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?

The definition is a single front-loaded sentence with no filler or repetition. It is efficiently structured, though its brevity contributes to the missing parameter and capability guidance noted elsewhere.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter write tool with no annotations and no schema descriptions, the description is too thin. The existence of an output schema means return values need not be explained, but the definition still lacks input expectations, capability-checking guidance, and behavioral details needed to invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate by explaining parameter meaning. It instead says nothing about any of the four parameters, including the potentially overlapping filename, image_path, media_type, and image_bytes_base64 inputs. An agent must infer all parameter semantics from bare names.

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?

The description states a specific verb and resource: 'Upload an image via official Medium API.' This is clear enough to distinguish it from posting, drafting, or rendering tools. It does not explicitly differentiate itself from any named sibling, but the core purpose is unambiguous.

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 phrase 'when supported (capability-gated)' implies a usage condition, so an agent knows the tool may not always be available. However, it does not explain how to determine whether the capability is supported, nor does it name alternatives such as the sibling get_capabilities tool.

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