Skip to main content
Glama

Check send status

get_delivery_operation
Read-only

Retrieve the saved result of an email send or forward operation to confirm success, identify failure, or detect an uncertain outcome.

Instructions

Check the saved result of a send or forward, including whether it succeeded, failed or has an uncertain outcome.

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": {
      "operationId": "<operationId>"
    },
    "name": "get_delivery_operation"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountIdNoAccount to operate on. Optional when exactly one account is connected.
operationIdYes

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.27.0
    • addedOutput schema / properties / data / properties / error / properties / message
      Added value: +{
      +  "type": "string"
      +}
  2. Changed6 schema fields changedv0.24.0
    • addedInput schema / properties / accountId / anyOf
      Added value: +[
      +  {
      +    "maxLength": 512,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / accountId / description
      Added value: +"Account to operate on. Optional when exactly one account is connected."
    • removedInput schema / properties / accountId / maxLength
      Removed value: -512
    • removedInput schema / properties / accountId / minLength
      Removed value: -1
    • removedInput schema / properties / accountId / type
      Removed value: -"string"
    • changedInput schema / required
      Previous value: -[
      -  "accountId",
      -  "operationId"
      -]New value: +[
      +  "operationId"
      +]
  3. Changed2 schema fields changedv0.19.0
    • addedInput schema / properties / accountId / maxLength
      Added value: +512
    • addedInput schema / properties / operationId / maxLength
      Added value: +512
  4. Changed3 schema fields changedv0.18.0
    • removedInput schema / properties / operationId / $ref
      Removed value: -"#/properties/accountId"
    • addedInput schema / properties / operationId / minLength
      Added value: +1
    • addedInput schema / properties / operationId / type
      Added value: +"string"
  5. Changed1 schema field changedv0.11.1
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  6. Addedv0.11.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value by disclosing that the result is persisted and can be in a third "uncertain" state, which an agent would not otherwise know. It omits how long results are retained and whether polling or retry is expected, leaving a meaningful 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?

A single sentence with no filler, and the key noun (saved result of a send or forward) is front-loaded. Slightly more structure naming the operationId input would have helped, but nothing is wasted.

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?

An output schema exists, so return values need no explanation, and the tool is a simple two-parameter read. Still, for a lookup tool the description should tell the agent what an operationId is and how it is obtained, which is the single thing an agent needs to call this correctly and is missing.

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 coverage is only 50%: accountId is documented in the schema, but operationId — the one required parameter — has no description anywhere. The description never mentions operationId or where an agent obtains it, so it fails to compensate for the coverage gap.

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 and resource: "check the saved result of a send or forward." It also names the outcome space (succeeded/failed/uncertain), which makes the tool's job concrete. It does not explicitly differentiate itself from the sibling get_status, so it stops short of a 5.

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?

"Saved result" implies this is a follow-up call made after a send/forward, which is usable implied guidance. However, there is no explicit statement of when to prefer this over get_status or how soon after a send the result becomes available, and no exclusions.

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