Skip to main content
Glama

request_inbound_action

Idempotent

Propose a scan, forward or discard through POST /v1/inbound-items/:id/actions. Agent keys only; the proposal always waits for the owner's approval (awaiting_member_approval: true) and never charges credits or moves mail by itself. Send the item's current version as action.expected_version, the item's current quote as action.expected_quote (get_inbound_item quotes.scan, or quote_inbound_forward for the chosen class; required for scan and forward, refused with the fresh quote otherwise), a stable idempotency_key for retries, and for forward a complete US destination and mail_class (first_class requires untracked_acknowledged: true; packages cannot be forwarded yet). Forward destinations and discard proposals are checked against the agent's inbound_policy server-side. One open action per item. Key scope: inbound.item.action (agent.inbox.propose also works). Member keys read their own live items; agent keys read items bound or assigned to them, in their key's environment. Proposals are agent-only and always wait for the owner: they never charge credits, buy postage, open, forward or discard anything by themselves. Forward destinations and discard proposals are checked against the agent's structured inbound policy. Image URLs are never issued to agents. Stop on denial; never switch keys or mail APIs to bypass it.

Input Schema

NameRequiredDescriptionDefault
actionYesThe proposal: type scan, forward or discard, with expected_version (the item's current version). scan and forward also take expected_quote {cost_cents, billable, max_cents} from get_inbound_item quotes or quote_inbound_forward. forward adds a US destination on the renter's Form 1583 and mail_class (default priority; first_class needs untracked_acknowledged: true). discard needs confirmed: true.
item_idYesInbound item id (UUID) from a list or search result.
idempotency_keyYesCaller-generated replay key (8–200 visible ASCII characters) for this one intent. The same key with the same input replays the stored result; the same key with different input is refused.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / action / description
      Added value: +"The proposal: type scan, forward or discard, with expected_version (the item's current version). scan and forward also take expected_quote {cost_cents, billable, max_cents} from get_inbound_item quotes or quote_inbound_forward. forward adds a US destination on the renter's Form 1583 and mail_class (default priority; first_class needs untracked_acknowledged: true). discard needs confirmed: true."
    • addedInput schema / properties / idempotency_key / description
      Added value: +"Caller-generated replay key (8–200 visible ASCII characters) for this one intent. The same key with the same input replays the stored result; the same key with different input is refused."
    • addedInput schema / properties / item_id / description
      Added value: +"Inbound item id (UUID) from a list or search result."
  2. Changed1 schema field changed
    • changedInput schema / properties / action / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "expected_quote": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "billable": {
      -            "type": "boolean"
      -          },
      -          "cost_cents": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "cost_cents",
      -          "billable"
      -        ],
      -        "type": "object"
      -      },
      -      "expected_version": {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "note": {
      -        "maxLength": 500,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "scan",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "expected_version"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "destination": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "city": {
      -            "maxLength": 80,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "company": {
      -            "anyOf": [
      -              {
      -                "maxLength": 100,
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "default": null
      -          },
      -          "country": {
      -            "const": "US",
      -            "default": "US",
      -            "type": "string"
      -          },
      -          "line1": {
      -            "maxLength": 120,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "line2": {
      -            "anyOf": [
      -              {
      -                "maxLength": 120,
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "default": null
      -          },
      -          "name": {
      -            "maxLength": 100,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "postal_code": {
      -            "pattern": "^\\d{5}(-\\d{4})?$",
      -            "type": "string"
      -          },
      -          "state": {
      -            "pattern": "^[A-Z]{2}$",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "name",
      -          "line1",
      -          "city",
      -          "state",
      -          "postal_code"
      -        ],
      -        "type": "object"
      -      },
      -      "expected_quote": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "billable": {
      -            "type": "boolean"
      -          },
      -          "cost_cents": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "cost_cents",
      -          "billable"
      -        ],
      -        "type": "object"
      -      },
      -      "expected_version": {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "mail_class": {
      -        "default": "priority",
      -        "enum": [
      -          "first_class",
      -          "priority",
      -          "certified",
      -          "certified_return_receipt",
      -          "fedex_ground",
      -          "fedex_express",
      -          "fedex_2day",
      -          "fedex_overnight"
      -        ],
      -        "type": "string"
      -      },
      -      "note": {
      -        "maxLength": 500,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "forward",
      -        "type": "string"
      -      },
      -      "untracked_acknowledged": {
      -        "default": false,
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "expected_version",
      -      "destination"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "confirmed": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "expected_version": {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "note": {
      -        "maxLength": 500,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "discard",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "expected_version",
      -      "confirmed"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "expected_quote": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "billable": {
      +            "type": "boolean"
      +          },
      +          "cost_cents": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "max_cents": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "cost_cents",
      +          "billable"
      +        ],
      +        "type": "object"
      +      },
      +      "expected_version": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "note": {
      +        "maxLength": 500,
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "scan",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "expected_version"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "destination": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "city": {
      +            "maxLength": 80,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "company": {
      +            "anyOf": [
      +              {
      +                "maxLength": 100,
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null
      +          },
      +          "country": {
      +            "const": "US",
      +            "default": "US",
      +            "type": "string"
      +          },
      +          "line1": {
      +            "maxLength": 120,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "line2": {
      +            "anyOf": [
      +              {
      +                "maxLength": 120,
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null
      +          },
      +          "name": {
      +            "maxLength": 100,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "postal_code": {
      +            "pattern": "^\\d{5}(-\\d{4})?$",
      +            "type": "string"
      +          },
      +          "state": {
      +            "pattern": "^[A-Z]{2}$",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "line1",
      +          "city",
      +          "state",
      +          "postal_code"
      +        ],
      +        "type": "object"
      +      },
      +      "expected_quote": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "billable": {
      +            "type": "boolean"
      +          },
      +          "cost_cents": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "max_cents": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "cost_cents",
      +          "billable"
      +        ],
      +        "type": "object"
      +      },
      +      "expected_version": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "mail_class": {
      +        "default": "priority",
      +        "enum": [
      +          "first_class",
      +          "priority",
      +          "certified",
      +          "certified_return_receipt",
      +          "fedex_ground",
      +          "fedex_express",
      +          "fedex_2day",
      +          "fedex_overnight"
      +        ],
      +        "type": "string"
      +      },
      +      "note": {
      +        "maxLength": 500,
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "forward",
      +        "type": "string"
      +      },
      +      "untracked_acknowledged": {
      +        "default": false,
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "expected_version",
      +      "destination"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "confirmed": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "expected_version": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "note": {
      +        "maxLength": 500,
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "discard",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "expected_version",
      +      "confirmed"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed2 schema fields changed
    • changedInput schema / properties / action / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "expected_quote": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "billable": {
      -            "type": "boolean"
      -          },
      -          "cost_cents": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "cost_cents",
      -          "billable"
      -        ],
      -        "type": "object"
      -      },
      -      "expected_version": {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "note": {
      -        "maxLength": 500,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "scan",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "expected_version"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "destination": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "city": {
      -            "maxLength": 80,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "company": {
      -            "anyOf": [
      -              {
      -                "maxLength": 100,
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "default": null
      -          },
      -          "country": {
      -            "const": "US",
      -            "default": "US",
      -            "type": "string"
      -          },
      -          "line1": {
      -            "maxLength": 120,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "line2": {
      -            "anyOf": [
      -              {
      -                "maxLength": 120,
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "default": null
      -          },
      -          "name": {
      -            "maxLength": 100,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "postal_code": {
      -            "pattern": "^\\d{5}(-\\d{4})?$",
      -            "type": "string"
      -          },
      -          "state": {
      -            "pattern": "^[A-Z]{2}$",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "name",
      -          "line1",
      -          "city",
      -          "state",
      -          "postal_code"
      -        ],
      -        "type": "object"
      -      },
      -      "expected_quote": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "billable": {
      -            "type": "boolean"
      -          },
      -          "cost_cents": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "cost_cents",
      -          "billable"
      -        ],
      -        "type": "object"
      -      },
      -      "expected_version": {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "mail_class": {
      -        "default": "priority",
      -        "enum": [
      -          "priority",
      -          "first_class"
      -        ],
      -        "type": "string"
      -      },
      -      "note": {
      -        "maxLength": 500,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "forward",
      -        "type": "string"
      -      },
      -      "untracked_acknowledged": {
      -        "default": false,
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "expected_version",
      -      "destination"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "confirmed": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "expected_version": {
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "note": {
      -        "maxLength": 500,
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "discard",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "expected_version",
      -      "confirmed"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "expected_quote": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "billable": {
      +            "type": "boolean"
      +          },
      +          "cost_cents": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "cost_cents",
      +          "billable"
      +        ],
      +        "type": "object"
      +      },
      +      "expected_version": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "note": {
      +        "maxLength": 500,
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "scan",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "expected_version"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "destination": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "city": {
      +            "maxLength": 80,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "company": {
      +            "anyOf": [
      +              {
      +                "maxLength": 100,
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null
      +          },
      +          "country": {
      +            "const": "US",
      +            "default": "US",
      +            "type": "string"
      +          },
      +          "line1": {
      +            "maxLength": 120,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "line2": {
      +            "anyOf": [
      +              {
      +                "maxLength": 120,
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null
      +          },
      +          "name": {
      +            "maxLength": 100,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "postal_code": {
      +            "pattern": "^\\d{5}(-\\d{4})?$",
      +            "type": "string"
      +          },
      +          "state": {
      +            "pattern": "^[A-Z]{2}$",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "line1",
      +          "city",
      +          "state",
      +          "postal_code"
      +        ],
      +        "type": "object"
      +      },
      +      "expected_quote": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "billable": {
      +            "type": "boolean"
      +          },
      +          "cost_cents": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "cost_cents",
      +          "billable"
      +        ],
      +        "type": "object"
      +      },
      +      "expected_version": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "mail_class": {
      +        "default": "priority",
      +        "enum": [
      +          "first_class",
      +          "priority",
      +          "certified",
      +          "certified_return_receipt",
      +          "fedex_ground",
      +          "fedex_express",
      +          "fedex_2day",
      +          "fedex_overnight"
      +        ],
      +        "type": "string"
      +      },
      +      "note": {
      +        "maxLength": 500,
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "forward",
      +        "type": "string"
      +      },
      +      "untracked_acknowledged": {
      +        "default": false,
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "expected_version",
      +      "destination"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "confirmed": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "expected_version": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "note": {
      +        "maxLength": 500,
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "discard",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "expected_version",
      +      "confirmed"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / properties / result / properties / action / properties / mail_class / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "priority",
      -      "first_class"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "first_class",
      +      "priority",
      +      "certified",
      +      "certified_return_receipt",
      +      "fedex_ground",
      +      "fedex_express",
      +      "fedex_2day",
      +      "fedex_overnight"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  4. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the annotations: proposals always wait for owner approval (awaiting_member_approval: true), never charge credits or move mail, are server-side checked against inbound_policy, allow only one open action per item, and image URLs are never issued to agents. It also states the key scope (inbound.item.action / agent.inbox.propose) and failure behavior ('Stop on denial'). This is exactly the behavioral context annotations cannot express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and information-dense, but it repeats itself: the 'never charge credits / never move mail' guarantee and the inbound_policy check are each stated twice. Tightening the redundant clauses would lose nothing an agent needs.

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

Completeness5/5

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

With an output schema present, return values need not be explained, and the description still covers approval flow, quote freshness, idempotency, key scope, policy enforcement, and denial handling. Nothing material for correct invocation is missing.

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 already 100%, so the baseline is 3, but the description adds real semantics: expected_version is the item's current version, expected_quote is required for scan and forward and otherwise refused with a fresh quote, and idempotency_key must be stable across retries. The destination rules (complete US address) and mail_class default are reinforced with policy context.

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

Purpose5/5

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

States a specific verb (Propose) plus the three concrete action types (scan, forward, discard) and the endpoint that carries them, so the agent knows exactly what the tool does. It is clearly distinguishable from read-side siblings like get_inbound_item and list_inbound_items.

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?

Gives strong when-to-use context: agent-keys-only, one open action per item, expected_quote sourced from get_inbound_item quotes.scan or quote_inbound_forward, first_class requiring untracked_acknowledged, and packages not yet forwardable. It stops short of explicitly contrasting with the sibling propose_agent_inbox_handling, so the routing among proposal tools is left to inference.

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.