Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Aura Historia. If you published it, claim ownership there.

Set browsing destination

setBrowsingDestination
DestructiveIdempotent

Set or clear the destination used to estimate shipping while the signed-in user browses: NONE clears it, ADDRESS selects one of their saved addresses and COUNTRY_POSTAL a country with an optional postal code. expectedVersion must equal the current version. Returns the new destination and version.

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": {
      "expectedVersion": "<expectedVersion>",
      "destination": "<destination>"
    },
    "name": "setBrowsingDestination"
  }
}

Input Schema

NameRequiredDescriptionDefault
destinationYesThe browsing destination to store, replacing the current one.
expectedVersionYesCurrent version from the last read; a stale version returns CONFLICT.

Output Schema

NameRequiredDescriptionDefault
versionYes
destinationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / $defs / DestinationData / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "kind": {
      -        "const": "NONE",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "addressId": {
      -        "pattern": "^uaddr_[0-7][0-9a-hjkmnp-tv-z]{9}[ef][0-9a-hjkmnp-tv-z]{2}[89abrstv][0-9a-hjkmnp-tv-z]{12}$",
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "ADDRESS",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "addressId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "country": {
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "COUNTRY_POSTAL",
      -        "type": "string"
      -      },
      -      "postalCode": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "country"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "No browsing destination.",
      +    "properties": {
      +      "kind": {
      +        "const": "NONE",
      +        "description": "Selects this variant; always `NONE` here.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "One of the user's saved addresses.",
      +    "properties": {
      +      "addressId": {
      +        "description": "ID of the saved address (`uaddr_…`).",
      +        "pattern": "^uaddr_[0-7][0-9a-hjkmnp-tv-z]{9}[ef][0-9a-hjkmnp-tv-z]{2}[89abrstv][0-9a-hjkmnp-tv-z]{12}$",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "ADDRESS",
      +        "description": "Selects this variant; always `ADDRESS` here.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "addressId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "A country, optionally with a postal code.",
      +    "properties": {
      +      "country": {
      +        "description": "ISO 3166-1 alpha-2 country code.",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "COUNTRY_POSTAL",
      +        "description": "Selects this variant; always `COUNTRY_POSTAL` here.",
      +        "type": "string"
      +      },
      +      "postalCode": {
      +        "description": "Postal code within the country.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "country"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / destination / description
      Added value: +"The browsing destination to store, replacing the current one."
    • addedInput schema / properties / expectedVersion / description
      Added value: +"Current version from the last read; a stale version returns CONFLICT."
    • changedOutput schema / $defs / DestinationData / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "kind": {
      -        "const": "NONE",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "addressId": {
      -        "pattern": "^uaddr_[0-7][0-9a-hjkmnp-tv-z]{9}[ef][0-9a-hjkmnp-tv-z]{2}[89abrstv][0-9a-hjkmnp-tv-z]{12}$",
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "ADDRESS",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "addressId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "country": {
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "COUNTRY_POSTAL",
      -        "type": "string"
      -      },
      -      "postalCode": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "country"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "No browsing destination.",
      +    "properties": {
      +      "kind": {
      +        "const": "NONE",
      +        "description": "Selects this variant; always `NONE` here.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "One of the user's saved addresses.",
      +    "properties": {
      +      "addressId": {
      +        "description": "ID of the saved address (`uaddr_…`).",
      +        "pattern": "^uaddr_[0-7][0-9a-hjkmnp-tv-z]{9}[ef][0-9a-hjkmnp-tv-z]{2}[89abrstv][0-9a-hjkmnp-tv-z]{12}$",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "ADDRESS",
      +        "description": "Selects this variant; always `ADDRESS` here.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "addressId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "A country, optionally with a postal code.",
      +    "properties": {
      +      "country": {
      +        "description": "ISO 3166-1 alpha-2 country code.",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "COUNTRY_POSTAL",
      +        "description": "Selects this variant; always `COUNTRY_POSTAL` here.",
      +        "type": "string"
      +      },
      +      "postalCode": {
      +        "description": "Postal code within the country.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "country"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / destination / type
      Added value: +"object"
  3. Changed2 schema fields changed
    • changedInput schema / $defs / DestinationData / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "kind": {
      -        "const": "NONE",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "addressId": {
      -        "pattern": "^uaddr_[0-7][0-9a-hjkmnp-tv-z]{9}[ef][0-9a-hjkmnp-tv-z]{2}[89abrstv][0-9a-hjkmnp-tv-z]{12}$",
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "ADDRESS",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "addressId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "country": {
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "COUNTRY_POSTAL",
      -        "type": "string"
      -      },
      -      "postalCode": {
      -        "default": null,
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "country"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "kind": {
      +        "const": "NONE",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "addressId": {
      +        "pattern": "^uaddr_[0-7][0-9a-hjkmnp-tv-z]{9}[ef][0-9a-hjkmnp-tv-z]{2}[89abrstv][0-9a-hjkmnp-tv-z]{12}$",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "ADDRESS",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "addressId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "country": {
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "COUNTRY_POSTAL",
      +        "type": "string"
      +      },
      +      "postalCode": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "country"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / $defs / DestinationData / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "kind": {
      -        "const": "NONE",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "addressId": {
      -        "pattern": "^uaddr_[0-7][0-9a-hjkmnp-tv-z]{9}[ef][0-9a-hjkmnp-tv-z]{2}[89abrstv][0-9a-hjkmnp-tv-z]{12}$",
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "ADDRESS",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "addressId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "country": {
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "COUNTRY_POSTAL",
      -        "type": "string"
      -      },
      -      "postalCode": {
      -        "default": null,
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "country",
      -      "postalCode"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "kind": {
      +        "const": "NONE",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "addressId": {
      +        "pattern": "^uaddr_[0-7][0-9a-hjkmnp-tv-z]{9}[ef][0-9a-hjkmnp-tv-z]{2}[89abrstv][0-9a-hjkmnp-tv-z]{12}$",
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "ADDRESS",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "addressId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "country": {
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "COUNTRY_POSTAL",
      +        "type": "string"
      +      },
      +      "postalCode": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "country"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true, readOnly=false, openWorld=false, so the safety profile is structured. The description still adds value by disclosing the optimistic-concurrency requirement and the return payload (new destination and version), though it never explains what the destructive hint means in practice, i.e. that the previously stored destination is overwritten by this call.

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?

Two dense sentences, front-loaded with the operation and its variants, followed by the version precondition and return value. No filler or restatement of the tool name.

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?

With full annotations, 100% schema coverage, and an output schema, the description covers variants and concurrency adequately. The remaining gap is that the destructiveHint is never grounded in described behavior, leaving an agent to infer that a prior destination is discarded.

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 description coverage is 100%, so the baseline is 3. The description explains what each destination variant means in plain terms, but expectedVersion and the postalCode optionality are already fully documented in the schema, so little genuinely new semantic information is added.

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 (set/clear) plus the exact resource (the destination used to estimate shipping while browsing) and enumerates the three variants NONE, ADDRESS, COUNTRY_POSTAL. It is trivially distinguishable from getBrowsingDestination and from the address-management siblings, which operate on saved addresses rather than the browsing selection.

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?

Clear about context (signed-in user's browsing session) and about the precondition that expectedVersion must match the current version, with the schema noting a stale value returns CONFLICT. It does not explicitly name getBrowsingDestination as the read counterpart or state when to prefer COUNTRY_POSTAL over ADDRESS, so alternatives are implied rather than spelled out.

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.

Resources