Skip to main content
Glama

nexus_get_user_by_name

Read-onlyIdempotent

Resolve an exact Nexus username to a full user profile and memberId. Returns user data or null when the username doesn't exist.

Instructions

Get a user profile by exact username via v2 GraphQL.

Unlike nexus_search_users (fuzzy), this resolves one exact username and fails cleanly when nobody has it. Useful to convert a username to a memberId for the user mutation tools.

Returns: JSON user object {memberId, name, avatar, modCount, kudos, joined, ...} or {userByName: null} when the username does not exist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usernameYesExact Nexus username (case-sensitive), e.g. 'Talya1412'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly and idempotent annotations, the description discloses exact-match behavior, the clean failure mode, and the precise return shape including the null case. This tells an agent exactly what to expect when calling the tool.

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 well-structured and front-loaded: the core purpose appears in the first line, the distinguishing contrast follows, and the return contract is placed at the end. There is no filler or redundancy.

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 single-parameter read-only lookup with a rich annotation set and an output schema, this description is complete. It covers purpose, exact-match behavior, failure semantics, return value shape, and a concrete use case. Nothing needed for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already fully describes the username parameter as exact and case-sensitive with an example. The description adds the use-case context of converting username to memberId, but most parameter semantics are already covered by 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 description states a specific verb and resource: getting a user profile by exact username, and explicitly distinguishes itself from the fuzzy search_users sibling. It is immediately clear what this tool does and how it differs from similar lookup tools.

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

Usage Guidelines4/5

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

It clearly contrasts itself with nexus_search_users and gives a concrete use case: converting a username to a memberId for user mutation tools. It does not enumerate other alternatives, but the exact vs. fuzzy distinction provides enough guidance for the main alternative.

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

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/Talya1412/nexus-mcp'

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