Skip to main content
Glama

Upload an image

upload_image

Upload an image. Requires MCP 2026-07-28.

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / additionalProperties
      Added value: +{}
    • removedInput schema / properties / alt
      Removed value: -{
      -  "maxLength": 200,
      -  "type": "string"
      -}
    • removedInput schema / properties / imageBase64
      Removed value: -{
      -  "maxLength": 4000000,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedInput schema / properties / proof
      Removed value: -{
      -  "description": "The signed image proof returned by signImage",
      -  "properties": {
      -    "documentId": {
      -      "type": "string"
      -    },
      -    "draftId": {
      -      "type": "string"
      -    },
      -    "kind": {
      -      "enum": [
      -        "human",
      -        "agent"
      -      ],
      -      "type": "string"
      -    },
      -    "nonce": {
      -      "type": "string"
      -    },
      -    "publicKey": {
      -      "type": "string"
      -    },
      -    "scope": {
      -      "const": "heystack-image-v1",
      -      "type": "string"
      -    },
      -    "sha256": {
      -      "type": "string"
      -    },
      -    "signature": {
      -      "type": "string"
      -    },
      -    "timestamp": {
      -      "maximum": 9007199254740991,
      -      "minimum": 0,
      -      "type": "integer"
      -    },
      -    "version": {
      -      "const": 1,
      -      "type": "number"
      -    }
      -  },
      -  "required": [
      -    "version",
      -    "scope",
      -    "publicKey",
      -    "kind",
      -    "timestamp",
      -    "nonce",
      -    "sha256",
      -    "signature"
      -  ],
      -  "type": "object"
      -}
    • removedInput schema / required
      Removed value: -[
      -  "imageBase64",
      -  "proof"
      -]
  2. Added

TDQS

C2.6/5.0
Behavior2/5

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

The annotations already declare the safety profile (readOnly=false, destructive=false, idempotent=false, openWorld=false), so the description's job is to add context and it largely doesn't. "Requires MCP 2026-07-28" is an environment prerequisite of some value, but nothing is said about size/format limits, whether re-uploads duplicate, where the image ends up, or authentication needs — for a mutation tool with a free-form schema 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?

Two short sentences, front-loaded with the action, with no filler. The brevity is efficient but comes at the cost of substance; the second sentence is cryptic without context and is the only part not already covered by the title.

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?

With no output schema, no parameter documentation, and a free-form input object, the description carries the full burden and does not meet it. An agent cannot determine the expected argument shape or the result of the call from this definition.

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?

Parameter count is 0 with 100% schema coverage, which would normally earn the baseline 4, but the schema is an empty object with additionalProperties:{}, implying the real payload (image data, filename, mime type, target) is expected but entirely undocumented. The description does nothing to describe that payload, so it falls below baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Upload an image" states a verb and resource, so the basic action is unambiguous, but it is a near-verbatim restatement of the title and name. It gives no scope: what kind of image, uploaded to where (a topic, post, profile, document), and no differentiation from any sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this tool versus alternatives, nor any prerequisites beyond a cryptic version note. The agent is left to infer context — e.g., whether an image must be uploaded before referencing it in a comment or markdown document — with no guidance from the definition.

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