Skip to main content
Glama

Get preferences

twelfth_get_preferences
Read-onlyIdempotent

Read stored preference values and the keys this connection may read at user, organization or membership scope. Use it for defaults such as cover targets and display choices. For Twelfth staff with workspace owner/admin access, organization scope also returns the managed chat runtime policy and available models. Those staff with Allow changes can use twelfth_update_agent_policy for runtime settings; settings that twelfth_update_settings can change carry updateWith, and twelfth_get_settings reads them with their revision. Integrations and category remits have their own tools (twelfth_list_integration_guides, twelfth_list_category_settings); personal and membership scopes need a person's OAuth connection.

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": {
      "scope": "<scope>"
    },
    "name": "twelfth_get_preferences"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeYesWhose preferences to read: user (your account), organization (the workspace) or membership (your role in this workspace). A workspace key can read organization only.
contextNoOptional, analytics only: why you are calling this, in a few words; name roles, never people or figures.
conversation_idNoOptional, analytics only: one opaque id reused on every call in this conversation.

Output Schema

NameRequiredDescriptionDefault
keysYesPreference keys this connection can read at this scope.
scopeYes
valuesYesStored values by preference key.
settingsYes
agentPolicyNoEffective chat runtime, overrides, available model IDs and this connection's write eligibility.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Optional, for analytics only: in about 15 to 25 words, why this tool is being called and how it serves the person's goal. Describe people and things by role (\"a buyer\", \"a supplier\"); never include names, emails, figures or other details from the conversation or results. It never changes the result."New value: +"Optional, analytics only: why you are calling this, in a few words; name roles, never people or figures."
    • changedInput schema / properties / conversation_id / description
      Previous value: -"Optional, for analytics only: one id for this conversation, such as a random UUID chosen on the first call, passed unchanged on every later call in the same conversation so the calls can be grouped. It never changes the result."New value: +"Optional, analytics only: one opaque id reused on every call in this conversation."
  2. Changed2 schema fields changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Optional, for analytics only: in about 15 to 25 words, why this tool is being called and how it serves the person's goal. Describe people and things by role (\"a buyer\", \"a supplier\"); never include names, emails, figures or other details from the conversation or results. It never changes the result.",
      +  "type": "string"
      +}
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "Optional, for analytics only: one id for this conversation, such as a random UUID chosen on the first call, passed unchanged on every later call in the same conversation so the calls can be grouped. It never changes the result.",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • addedOutput schema / properties / settings / items / properties / updateWith
      Added value: +{
      +  "description": "The MCP tool that changes this key (twelfth_update_settings takes the key as its setting id), or null when only the app changes it.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  4. Changed2 schema fields changed
    • addedOutput schema / properties / agentPolicy
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Effective chat runtime, overrides, available model IDs and this connection's write eligibility.",
      +  "type": "object"
      +}
    • removedOutput schema / properties / settings / items / properties / canWriteViaMcp / const
      Removed value: -false
  5. Changed1 schema field changed
    • changedOutput schema / properties / settings / items / required
      Previous value: -[
      -  "key",
      -  "value",
      -  "hasValue",
      -  "roleAllowsEditInApp",
      -  "canWriteViaMcp",
      -  "editPolicy"
      -]New value: +[
      +  "key",
      +  "hasValue",
      +  "roleAllowsEditInApp",
      +  "canWriteViaMcp",
      +  "editPolicy"
      +]
  6. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior, so the description does not need to re-state safety. It adds real context beyond them: organization scope returns the managed chat runtime policy and models only for staff with owner/admin access, and settings expose updateWith to signal what is writable. It stops short of describing pagination or result shape, though an output schema covers returns.

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?

The core capability and the scope/auth constraints are front-loaded, and every sentence carries information. The final sentences are dense with tool names and read more as a reference list than prose, which slightly hurts scanability.

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 read-only getter with full schema coverage, annotations and an output schema, this covers the remaining gaps: who can see what per scope, auth requirements, which sibling mutates or reads adjacent settings, and where the managed runtime policy appears.

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 schema already explains scope, context and conversation_id, and the baseline would be 3. The description still adds meaning to scope by noting that a workspace key can only read organization and that membership/personal reads require a person's OAuth connection, which is not stated 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?

The opening sentence gives a specific verb and resource ('Read stored preference values and the keys this connection may read') and scopes it to user, organization or membership. It also explicitly separates this tool from adjacent ones (twelfth_get_settings, twelfth_list_integration_guides, twelfth_list_category_settings), so an agent can pick it 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?

It states when to use it ('defaults such as cover targets and display choices') and routes other cases to named alternatives: twelfth_update_agent_policy for runtime settings, twelfth_update_settings for writable settings, and dedicated tools for integrations and category remits. It also names prerequisites ('personal and membership scopes need a person's OAuth connection').

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.