Skip to main content
Glama

Get user role

get_user_role
Read-onlyIdempotent

Read the saved user role and its resolved dashboard sort and filter emphasis to inspect the current dashboard preference without changing settings.

Instructions

Read the saved user role and its resolved dashboard sort and filter emphasis. Use to inspect the current dashboard preference; use set_user_role to change it or get_user_taste for writing and content preferences. Returns the normalized role, emphasis and supported roles without changing settings.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.12.1

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered. The description adds the important reassurance that it does not change settings and names the return payload (normalized role, emphasis, supported roles), which matters since there is no output schema. It stops short of describing error or default behavior when no role is saved.

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: what it reads, when to use it, what it returns. The purpose leads, alternatives follow, and no sentence is filler.

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 zero-parameter, non-destructive read with no output schema, the description supplies everything needed: scope, sibling routing, non-mutation guarantee, and a summary of the returned fields.

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 there is nothing for the description to disambiguate. Baseline 4 applies; the description correctly implies a parameterless read.

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 (read) and resource (saved user role) plus what is resolved alongside it (dashboard sort and filter emphasis). It is clearly distinguishable from set_user_role and get_user_taste, which are named in the same breath.

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?

Explicitly says when to use it ("inspect the current dashboard preference") and routes the agent elsewhere for other needs: set_user_role for changes, get_user_taste for writing and content preferences. Both the when and the when-not are present.

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

Deploy Server

Other Tools