Skip to main content
Glama

AI-ERP Business Connector

ui.prefs.get

读取当前绑定用户的界面偏好(导航形态/皮肤/主题)。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ui.prefs.get"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add one genuinely useful behavioral fact — the preferences belong to the 'current bound user', implying the target is session-scoped and no identifier is needed — but it never states that the call is read-only/side-effect free, nor whether defaults are returned when preferences are unset.

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?

A single front-loaded sentence with the verb and resource first and the returned categories in parentheses as a compact enumeration. No filler and nothing that could be trimmed without losing signal.

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?

With zero parameters and an output schema present, the description does not need to explain return shapes, and it is about the right size for a simple session-scoped read. The only residual gap is the absence of any explicit read-only/non-mutating assurance, which matters because no annotations are available to supply it.

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 tool takes zero parameters, so the baseline of 4 applies; the description correctly introduces no parameter discussion, and there is nothing in the schema left unexplained that the description would need to compensate for.

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 description names a specific verb (读取/read) and resource (界面偏好), and enumerates the preference areas covered (导航形态/皮肤/主题), which distinguishes it from the sibling setters ui.orientation.set, ui.skin.set and ui.theme.set that write individual aspects. It falls short of 5 only because it does not explicitly frame itself as the aggregate read counterpart to those setters.

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?

Usage is implied rather than stated: an agent can infer this is the read path for UI settings used before or instead of the setters, but the description gives no explicit when-to-use, no exclusions, and no prerequisites. There is no sentence telling the agent when to prefer this over the per-aspect setters.

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