Skip to main content
Glama

Github Get User

github_get_user
Read-onlyIdempotent

Get a GitHub user's public profile info. Returns name, bio, company, location, public repo count, followers, and social links. Specify username (e.g., username="torvalds").

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "username": "torvalds"
    },
    "name": "github_get_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
usernameYesGitHub username, e.g. "torvalds"

Output Schema

NameRequiredDescriptionDefault
bioYesUser's bio
urlYesUser's GitHub profile URL
blogYesUser's blog URL
nameYesUser's display name
typeYesUser type (User/Organization)
emailYesUser's public email
loginYesGitHub username
companyYesUser's company
twitterYesUser's Twitter username
locationYesUser's location
followersYesNumber of followers
followingYesNumber of accounts following
avatar_urlYesUser's avatar URL
created_atYesAccount creation timestamp
updated_atYesLast update timestamp
public_gistsYesNumber of public gists
public_reposYesNumber of public repositories

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds meaningful context beyond that by scoping the result to "public profile info" (no auth-scoped private fields) and listing what comes back, but says nothing about rate limits, not-found behavior, or pagination.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the purpose before the return fields and the parameter hint. Minor waste in re-stating the username example that already appears in the schema.

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?

An output schema exists, so return values need not be spelled out, and the description is more than adequate for a single-parameter read tool whose annotations cover safety. The remaining gap is behavioral edge cases (user not found, rate limiting), which is modest for this complexity.

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 description coverage is 100% and the single username parameter is already documented with the same "torvalds" example, so the description's parameter sentence largely repeats structured data. Baseline 3 applies since the schema carries the semantics.

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 uses a specific verb and resource ("Get a GitHub user's public profile") and enumerates the returned fields, so an agent can distinguish it from repo/commit/file siblings such as get_repo or get_file_contents. It stops short of naming a sibling it is not, so it lands at a clear 4 rather than 5.

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 only implied: the tool is for looking up a person's profile rather than repository content, and the description tells the caller to supply a username with an example. There is no explicit when-to-use/when-not-to-use guidance or mention of what to call instead for repos, orgs, or non-public data.

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.