Skip to main content
Glama

store_email_image

Save a PNG, JPEG, GIF or WebP uploaded with create_editor_upload and finalized to permanent public image storage. Returns the image URLs. The HTML/source remain private. Does not modify the EmailDocument; insert the returned URL in a subsequent edit.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "target": "<target>",
      "uploadId": "<uploadId>",
      "description": "<description>"
    },
    "name": "store_email_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesTarget email resource; kind must be email.
uploadIdYes
descriptionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / target / properties / designId
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / target / properties / kind / enum
      Previous value: -[
      -  "page",
      -  "email"
      -]New value: +[
      +  "page",
      +  "email",
      +  "wallet",
      +  "apple-wallet",
      +  "google-wallet"
      +]
  2. Changed3 schema fields changed
    • removedInput schema / properties / expectedRevision
      Removed value: -{
      -  "type": "integer"
      -}
    • removedInput schema / properties / target / properties / organizationId
      Removed value: -{
      -  "minLength": 1,
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "target",
      -  "expectedRevision",
      -  "uploadId",
      -  "description"
      -]New value: +[
      +  "target",
      +  "uploadId",
      +  "description"
      +]
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that the image becomes permanently public, that HTML/source stay private, and that no document mutation occurs — meaningful side-effect context for a non-readOnly, open-world, non-idempotent tool. It omits anything about re-storing the same upload or permission requirements, which is why it is not a 5.

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?

Four short sentences, action and storage destination front-loaded, then output, then privacy, then the workflow caveat. Every clause carries information an agent needs; nothing is redundant.

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

Completeness3/5

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

For a three-parameter tool with a nested object and no output schema, the description does cover the return value (image URLs) and the privacy model. However, the parameter surface remains largely undocumented, including where uploadId comes from and what the required description string is for.

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

Parameters2/5

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

Schema description coverage is only 33% and the description explains none of the three required parameters: the nested target object (whose enum allows page/wallet kinds even though kind must be email), the uploadId, and especially the unexplained 'description' field. With low coverage the description should compensate, and it does not.

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 gives a specific verb plus resource ('Save a PNG, JPEG, GIF or WebP ... to permanent public image storage') and names the required upstream tool create_editor_upload, so the agent can tell this is a promotion-from-upload operation. It does not explicitly contrast with siblings such as import_email_image or store_page_file, so differentiation is only partial.

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 states the precondition clearly ('uploaded with create_editor_upload and finalized') and scopes the effect ('Does not modify the EmailDocument; insert the returned URL in a subsequent edit'), which tells the agent exactly where this fits in the workflow. It stops short of naming alternatives or saying when not to call it.

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.