Skip to main content
Glama

Update Preferences

preferences.update
DestructiveIdempotent

Change the user's own preferences: theme, calendar (Gregorian or Jalali), start page, sidebar position and auto-hide, collapsed nav, presence status, live-update toasts, chat history retention, pins and who sees each profile field (profileVisibility). Only the keys given change. Language is not here: use language.update.

Input Schema

NameRequiredDescriptionDefault
dockNoSidebar position
pinsNoThe pinned spaces and apps, in order; replaces the whole list
themeNo
calendarNoWhich calendar dates are shown in
presenceNoauto = from the calendar and working hours
startPageNoThe section the panel opens on after login
dockAutohideNo
navCollapsedNoSide nav collapsed to the mini rail
toastPositionNoScreen corner where notification pop-ups appear; errors stay top center
toastMaxVisibleNoMost notification pop-ups shown at once; null = no limit
liveUpdateToastsNoToast when teammates change items in open sheets
profileVisibilityNoWho sees each profile field: org = everyone in the org, team = the user's team, admins = only admins. Only the fields given change; admins and the user always see everything.
agentHistoryRetentionDaysNoDelete Dana chats older than this many days; null keeps them forever

Output Schema

NameRequiredDescriptionDefault
savedYesThe preferences as saved

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / toastMaxVisible
      Added value: +{
      +  "anyOf": [
      +    {
      +      "anyOf": [
      +        {
      +          "const": 1,
      +          "type": "number"
      +        },
      +        {
      +          "const": 2,
      +          "type": "number"
      +        },
      +        {
      +          "const": 3,
      +          "type": "number"
      +        },
      +        {
      +          "const": 5,
      +          "type": "number"
      +        }
      +      ]
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Most notification pop-ups shown at once; null = no limit"
      +}
    • addedInput schema / properties / toastPosition
      Added value: +{
      +  "description": "Screen corner where notification pop-ups appear; errors stay top center",
      +  "enum": [
      +    "top-right",
      +    "top-left",
      +    "bottom-right",
      +    "bottom-left"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / saved / properties / toastMaxVisible
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / saved / properties / toastPosition
      Added value: +{
      +  "enum": [
      +    "top-right",
      +    "top-left",
      +    "bottom-right",
      +    "bottom-left"
      +  ],
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / profileVisibility
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Who sees each profile field: org = everyone in the org, team = the user's team, admins = only admins. Only the fields given change; admins and the user always see everything.",
      +  "properties": {
      +    "email": {
      +      "enum": [
      +        "org",
      +        "team",
      +        "admins"
      +      ],
      +      "type": "string"
      +    },
      +    "location": {
      +      "enum": [
      +        "org",
      +        "team",
      +        "admins"
      +      ],
      +      "type": "string"
      +    },
      +    "phone": {
      +      "enum": [
      +        "org",
      +        "team",
      +        "admins"
      +      ],
      +      "type": "string"
      +    },
      +    "pronouns": {
      +      "enum": [
      +        "org",
      +        "team",
      +        "admins"
      +      ],
      +      "type": "string"
      +    },
      +    "timezone": {
      +      "enum": [
      +        "org",
      +        "team",
      +        "admins"
      +      ],
      +      "type": "string"
      +    },
      +    "workingHours": {
      +      "enum": [
      +        "org",
      +        "team",
      +        "admins"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / saved / properties / profileVisibility
      Added value: +{
      +  "additionalProperties": {
      +    "enum": [
      +      "org",
      +      "team",
      +      "admins"
      +    ],
      +    "type": "string"
      +  },
      +  "description": "Who sees each profile field (email, phone, pronouns, location, workingHours, timezone): org, team or admins",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
  3. Added

TDQS

A3.9/5.0
Behavior3/5

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

The description adds genuine value beyond the annotations by disclosing partial-merge semantics ("Only the keys given change"), which is not implied by idempotentHint alone. However, annotations declare destructiveHint=true and the description never explains where the destruction lies — the retention setting deletes chat history and pins replaces the entire list — nor does it note that the write is self-scoped. For a destructive mutation the risk disclosure is thin.

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 verb and resource, then the field list, then the two behavioral clauses (partial update, language exclusion) in short sentences. The long enumerative clause is dense but each item maps to a real parameter; a slight trim of fields already fully documented in the schema would improve it.

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 13-parameter tool with a nested profileVisibility object, an output schema, and full annotations, the description covers scope, merge behavior, and the main sibling boundary adequately. Remaining gaps are the unlisted toast position/limit settings and the absence of any warning that retention and pins cause data loss/replacement.

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 85%, so the baseline is 3 and the schema already carries most parameter meaning. The description's prose enumeration largely restates parameters ("sidebar position and auto-hide", "collapsed nav", "who sees each profile field") and actually omits toastPosition and toastMaxVisible, so it adds little syntax or constraint detail the schema does not already have.

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 ("Change") and a precisely scoped resource ("the user's own preferences"), then enumerates the concrete settings covered (theme, calendar, start page, dock, presence, toasts, retention, pins, profileVisibility). It also names the boundary against a sibling ("Language is not here: use language.update"), so an agent can distinguish it from language.update and preferences.read without opening any schema.

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 an explicit exclusion plus alternative for the most confusable case (language settings → language.update) and states the partial-update contract ("Only the keys given change"), which is the key usage rule. It stops short of routing against other adjacent tools such as profile.update, member.update_profile, notifications.update, or working_hours.update, which overlap in subject matter.

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