Skip to main content
Glama
SourceParts

Source Parts MCP Server

Official
by SourceParts

get_preferences

Retrieve merged user preferences: global defaults are overridden by device-specific values when a device ID is provided.

Instructions

Get user preferences, optionally for a specific device.

Preferences are merged: global user defaults are overridden by device-specific values when a device_id is provided.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_idNoOptional device identifier (e.g. "macbook", "claude-desktop"). If omitted, returns global user preferences only.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the merging behavior and overriding of global defaults by device-specific values, which adds context. However, it does not mention permissions, rate limits, or any other behavioral aspects such as potential side effects (though minimal for a get operation).

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?

The description is two short sentences, front-loaded with the core purpose, and no wasted words. Every sentence adds value.

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?

Given the low complexity (one optional parameter, no enums, no nested objects) and the presence of an output schema, the description sufficiently covers the tool's behavior. The merging logic is well explained, making the tool easy to use correctly.

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?

The schema has 100% coverage for the single parameter 'device_id'. The description adds meaningful context by explaining the merging behavior and the difference between omitting and providing a device_id, which goes beyond the schema's description of 'optional device identifier'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb 'Get' and resource 'user preferences' are clear. The description states the ability to retrieve global or device-specific preferences, distinguishing between the two. However, it does not explicitly differentiate from the sibling tool 'set_preferences', which is the write counterpart.

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

Usage Guidelines3/5

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

The description implies when to use device_id versus not, but does not provide explicit guidance on when to use this tool over alternatives like 'set_preferences'. No 'when-not-to-use' or exclusion criteria are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SourceParts/parts-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server