Skip to main content
Glama

Codestats Recent

codestats_recent
Read-onlyIdempotent

Code::Stats (codestats.net), the XP one Code::Stats user has earned in roughly the last 12 hours, broken out by programming language and by machine, alongside their lifetime profile totals. Answers how much a Code::Stats user has coded today and in which languages.

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": "Nicd"
    },
    "name": "codestats_recent"
  }
}

Input Schema

NameRequiredDescriptionDefault
usernameYes

Output Schema

NameRequiredDescriptionDefault
userNo
recent_activityNoRecent coding activity from last ~12 hours

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / user / type
      Previous value: -"object"New value: +[
      +  "object",
      +  "string"
      +]
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, open-world, non-destructive behavior, so the bar is lower. The description still adds useful context the annotations lack: the ~12 hour window, the two breakdown dimensions, and that lifetime totals are bundled into the response. It does not mention behavior for an unknown username, but that gap is minor.

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?

Two compact sentences with the core payload (XP over ~12 hours, by language and machine, plus lifetime totals) front-loaded. The trailing question-style sentence partially restates the first but usefully frames the user intent, so waste is limited.

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 adequately covers the time window, breakdown axes, and extra lifetime data. The only shortfall is the absence of any guidance on invalid usernames or upstream failure behavior for an open-world HTTP-backed tool.

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 a single required parameter with 0% schema description coverage, so the description has to carry meaning for it. Saying "one Code::Stats user" and referencing codestats.net implies that username is a Code::Stats account handle, but it does not clarify format, case sensitivity, or whether display names work.

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 states a specific verb and resource: retrieving one Code::Stats user's XP for roughly the last 12 hours, split by programming language and machine, plus lifetime totals. It is far more specific than the name alone, but it never explicitly contrasts itself with the sibling codestats_user tool, which likely covers the lifetime profile it mentions.

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 implied by the question it answers ("how much a Code::Stats user has coded today and in which languages"), so an agent can infer the right context. There is no explicit when-not guidance and no named alternative for retrieving the same user's lifetime or per-project stats.

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.