Skip to main content
Glama

view_email_image

Read-only

Inspect a permanently stored image belonging to this email. The image ID is in the current email snapshot.

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>",
      "imageId": "<imageId>"
    },
    "name": "view_email_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesTarget email resource; kind must be email.
imageIdYes

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. Changed1 schema field changed
    • removedInput schema / properties / target / properties / organizationId
      Removed value: -{
      -  "minLength": 1,
      -  "type": "string"
      -}
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already carry the safety profile (readOnly, non-destructive, non-idempotent, closed-world), so the bar is lower. "Permanently stored" usefully signals that this reads a persistent asset rather than generating or resolving a transient one, but the description says nothing about what is returned (image bytes, URL, metadata) or whether the image could be missing.

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 purpose and followed by the practical clue about sourcing the ID. No filler, though the second sentence is fragmentary and could be more explicit.

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?

No output schema exists, so the description should say something about the return (image content vs. a link, and failure when the image is absent). It covers the input side adequately but leaves the result shape entirely unspecified for a nested-object, two-parameter tool.

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 coverage is 50% and the nested target object is documented only as "Target email resource; kind must be email." The description does add real value for imageId by explaining where that ID is found (in the current email snapshot), but it contributes nothing about the target fields the agent must populate.

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: "Inspect a permanently stored image belonging to this email." That is clearly distinguishable from the store/import siblings in the catalog, though it does not name them.

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?

Implies usage by tying the tool to "this email" and noting the ID comes from the current email snapshot, which gives the agent a precondition. It never states when to prefer it over siblings like view_page_file or view_wallet_asset, nor any exclusions.

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.