Skip to main content
Glama

Read preferences

get_preferences
Read-only

Read the user's preferences by exact key, up to 20 at a time. Find keys with search_preferences first. List preferences report their item_count; read their items with list_items.

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": {
      "keys": "<keys>"
    },
    "name": "get_preferences"
  }
}

Input Schema

NameRequiredDescriptionDefault
keysYesexact preference keys to read, such as profile.timezone; find them with search_preferences

Output Schema

NameRequiredDescriptionDefault
preferencesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the description correctly spends its words on constraints instead: the 20-key batch cap and the fact that list preferences expose item_count rather than inline items. It does not mention any failure mode for unknown keys, which is the main remaining gap.

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?

Three short sentences, each carrying a distinct fact (scope, key discovery, list handling), with the primary action front-loaded. No filler or restated title text.

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?

An output schema exists, so return values need no explanation, and the description still pre-empts the confusing case of list-type preferences by pointing to item_count and list_items. For a single-parameter read tool, nothing an agent needs to invoke it correctly 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 100% and the description largely mirrors the schema's own example ("profile.timezone"). It does add one genuinely new constraint the schema lacks: the array accepts at most 20 keys per call.

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 ("Read the user's preferences") plus a hard scope constraint ("by exact key, up to 20 at a time"). The exact-key framing implicitly separates it from the fuzzy lookup sibling search_preferences, which is then named explicitly.

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?

Gives an explicit prerequisite workflow: "Find keys with search_preferences first," naming the sibling and the condition that selects it. It also routes follow-up work to list_items for list-type preferences, so the agent knows both the entry point and the next step.

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