Skip to main content
Glama

update_config

Idempotent

Change Amazon site, sign-in browser, account, or request settings; save preferences or apply tuning changes that last until restart unless saved.

Instructions

Change a setting. Change a preference, like the Amazon site (domain) or the browser to sign in with (browser), only when the user asks. You may change a tuning setting yourself when calls keep failing (e.g. a longer request_timeout after timeouts, or a smaller thread_pool_size when Amazon throttles requests), and tell the user what you changed. warn_on_missing_required_field returns partial data instead of an error, so say so if you change it. A preference is saved, and tuning lasts until the server restarts unless save is true, which you can offer if a change keeps helping. domain is the default site, which tools read when they aren't given site, so to read another site once, pass it as site instead. After changing domain, check with check_session, since the user may need to sign in to the new default site. account is the default account the same way, one from check_session. What each setting does: https://amazon-orders.readthedocs.io/api.html#amazonorders.conf.AmazonOrdersConfig

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": {
      "key": "<key>",
      "value": "<value>"
    },
    "name": "update_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesThe setting, from `get_config`.
saveNoWhether to save the change. By default, a preference is saved and tuning isn't.
valueYesThe new value. Null or an empty string sets it back to the default.

Output Schema

NameRequiredDescriptionDefault
keyYesThe setting.
savedYesWhether the change was saved, or only made until the server restarts.
valueNoThe value now in effect. A null value means the default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.1.2
    • removedInput schema / properties / key / title
      Removed value: -"Key"
    • removedInput schema / properties / save / title
      Removed value: -"Save"
    • removedInput schema / properties / value / title
      Removed value: -"Value"
    • removedOutput schema / properties / key / title
      Removed value: -"Key"
    • removedOutput schema / properties / saved / title
      Removed value: -"Saved"
    • removedOutput schema / properties / value / title
      Removed value: -"Value"
  2. First observedv1.2.0

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare the safety profile (idempotent, non-destructive, not read-only), so the description only needs to add context. It does add real behavior: preferences persist while tuning is lost on restart unless `save` is true, and `warn_on_missing_required_field` silently returns partial data instead of erroring. It does not cover failure modes, validation errors, or what the response looks like, so it is useful but not exhaustive beyond the annotations.

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?

Front-loaded with the core action and mode split, then moves to per-key semantics and finally a documentation link; nothing is clearly filler. It is dense and clause-heavy, with several ideas chained into single sentences, which slightly reduces scanability but does not obscure the guidance.

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?

For a 3-parameter mutation tool with an output schema and full annotation coverage, the description supplies all the decision-relevant context: when to call it, autonomous vs user-requested scope, persistence semantics, the partial-data consequence of one setting, and the required follow-up after changing the default site. Little is left for an agent to infer.

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%, so the baseline is 3, but the description goes further by explaining the effect of individual keys: `domain` becomes the default site that tools read when no `site` is given (and may require re-sign-in), `account` is the analogous default from `check_session`, and `save` controls whether a tuning change survives a restart. It does not add format or range guidance for `value` itself, which lives only in the schema.

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 and resource ('Change a setting') and immediately splits it into two modes: user-requested preference changes and self-initiated tuning changes. It also names the related tools an agent needs for the key (`get_config`) and for follow-up (`check_session`), so it is distinguishable from siblings without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when/when-not guidance: preferences only when the user asks, tuning settings may be changed autonomously when calls keep failing, with concrete examples (a longer `request_timeout` after timeouts, a smaller `thread_pool_size` under throttling). It also gives follow-up rules (tell the user, offer `save` if a change keeps helping, run `check_session` after changing `domain`) and routes single-site reads to the `site` parameter instead.

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