Skip to main content
Glama

Codestats User

codestats_user
Read-onlyIdempotent

Public profile, total XP, per-language XP, per-machine XP.

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": "johndoe"
    },
    "name": "codestats_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
usernameYes

Output Schema

NameRequiredDescriptionDefault
userNo
machinesNoXP breakdown by machine
languagesNoXP breakdown by programming language

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered structurally. The description adds nothing behavioral beyond that – no note on unknown-user behavior, caching, auth needs, or rate limits. It instead restates output content, which an output schema already covers.

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

Conciseness3/5

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

Extremely short and front-loaded, with no wasted words, but it is concise to the point of under-specification – a bare noun phrase rather than a sentence stating the action. Brevity here costs clarity rather than buying it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/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 needn't enumerate return fields, yet that is all it does. It omits the invocation context an agent needs: that it takes a CodeStats username, what happens for unknown users, and when to prefer codestats_recent.

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?

There is one parameter, 'username', at 0% schema description coverage, so the description does not compensate. However, the parameter name is largely self-explanatory and the schema examples ('johndoe', 'alice_dev') clarify the expected format, so the gap is minor rather than crippling.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description lists the resource's contents (public profile, total XP, per-language XP, per-machine XP), which implies a fetch of a CodeStats user profile. But it's a noun fragment with no verb, so the agent must infer that it retrieves rather than computes or creates. It loosely separates it from codestats_recent (profile aggregates vs recent events) but does not say so.

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

Usage Guidelines2/5

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

No when-to-use guidance, no prerequisites, and no mention of the sibling codestats_recent as an alternative. The agent must guess that this is the tool for aggregate/lifetime stats rather than recent activity.

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.