Skip to main content
Glama
linuxdo-mcp
by Xero-Team

Read a linux.do user

get_user
Read-onlyIdempotent

Fetch a user's public profile and optional activity totals or recent topics to identify and judge the author of a post; absent values mean not returned, not zero.

Instructions

Read one user's profile, optionally with their activity totals.

Use this to judge who wrote a post; use get_topic for the posts themselves. Anonymous reads see public profiles only, and trust-level gated fields can be absent — an absent number means "not returned", never zero.

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": {
      "username": "<username>"
    },
    "name": "get_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
usernameYesLogin name, not the display name.
include_summaryNoAlso fetch activity totals and the user's recent topics. Costs a second upstream call; skip it when only the profile matters.

Output Schema

NameRequiredDescriptionDefault
idYesUser id.
nameNoDisplay name, often Chinese on this forum.
titleNoProfile title, when the user set one.
summaryNoActivity totals; null unless include_summary was requested.
usernameYesLogin name; the key for every user route.
created_atYesISO 8601 account creation timestamp.
badge_countNoBadges the user earned.
bio_excerptNoShort bio, plain text.
trust_levelNoDiscourse trust level, 0 to 4.
last_seen_atNoISO 8601 last visit.
recent_topicsNoTopics the user created, newest first; summary call only. These cards are sparser than a browse_topics row: views, reply_count, and last_posted_at are normally absent (null), not zero.
time_read_secondsNoReading time in seconds, as Discourse counts it.
profile_view_countNoProfile page views.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description still adds genuinely non-obvious behavior: anonymous access truncates to public profiles, trust-level gated fields may be absent, and critically that an absent number means "not returned" rather than zero. That last point prevents a real misinterpretation, though it leaves vague which fields are actually gated.

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, front-loaded with the core action, then the routing rule, then the data-quality caveat. No restated name/title, no filler, and each sentence carries a distinct piece of information.

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 an output schema present, the description need not explain return values, and it correctly focuses on routing and data-absence semantics. The remaining gap is failure handling — nothing says what happens with an unknown or deleted username — and the "trust-level gated fields" note stays abstract about which fields are affected.

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?

Schema coverage is 100% and the schema already documents both parameters in detail, including that include_summary costs a second upstream call and should be skipped when only the profile matters. The description's phrase "optionally with their activity totals" only maps include_summary to the same concept the schema already explains, adding no new constraint or format detail. Baseline 3 is appropriate when the schema carries the semantics.

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?

"Read one user's profile, optionally with their activity totals" names a specific verb (read), a specific resource (one user's profile), and the optional scope expansion. It also explicitly separates itself from get_topic ("use get_topic for the posts themselves"), so an agent can route between the two without opening either schema.

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?

It gives a concrete use case ("judge who wrote a post") and names the alternative tool plus the condition that selects it (get_topic for the posts themselves). It also states a contextual constraint — anonymous reads see public profiles only — which tells the agent when results will be partial.

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