Skip to main content
Glama

list_email_versions

Read-only

List accessible saved versions and the selected working draft. Omit target.draftId to read live. Private draft IDs appear in the version names and 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>"
    },
    "name": "list_email_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceNoSource for save. Defaults to working; live saves the currently published content.
targetYesTarget email resource; kind must be email.
versionNoSaved version name for save or restore. Save requires a new name; live and draft: names are reserved.

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: -{
      -  "description": "Latest snapshot revision; required for every action except list.",
      -  "type": "integer"
      -}
    • removedInput schema / properties / sourceHash
      Removed value: -{
      -  "description": "Latest working draft sourceHash; required for publish.",
      -  "type": "string"
      -}
    • removedInput schema / properties / target / properties / organizationId
      Removed value: -{
      -  "minLength": 1,
      -  "type": "string"
      -}
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and destructiveHint=false, so safety is covered structurally. The description adds genuinely non-obvious disclosure beyond that: private draft IDs leak into version names and the snapshot, a privacy trait an agent should know before echoing results. It does not discuss ordering, limits, or pagination of the returned version list.

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?

Three short sentences, all front-loaded with the core operation first and the caveats after. Every sentence carries information; the only slight drag is that the draftId omission rule reads as parameter guidance inserted mid-description rather than in a parameter section.

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?

For a 3-parameter read-only lister with no output schema, the definition covers purpose, the key scoping switch, and a data-exposure caveat. It lacks any hint of return shape (whether versions come as names, timestamps, or a snapshot object) and does not clarify how the 'source' parameter interacts with omitting draftId.

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

Parameters4/5

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

Schema coverage is 100%, which sets a baseline of 3, but the description adds real meaning the schema does not: omitting target.draftId selects the live view, a behavioral rule not encoded in the draftId description. It says nothing about the 'source' (working/live) or 'version' parameters, which is a missed opportunity given they overlap with the same working-vs-live concept.

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: 'List accessible saved versions and the selected working draft.' The scope (accessible versions + the currently selected draft) is clear enough to distinguish it from mutation siblings like discard_email_draft or create_email_draft, though it never names the parallel list_page_versions/list_wallet_versions as differentiators.

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?

Provides one concrete usage rule — 'Omit target.draftId to read live' — which tells the agent how to switch read scope. It gives no guidance on when to prefer this tool over list_email_broadcast_events or the draft-discovery tools, and no prerequisites for 'accessible' (permissions) are stated.

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.