Skip to main content
Glama

Get Leaders

get_leaders

Fetch a leaderboard of users ranked by coding activity in descending order to identify top developers and compare productivity.

Instructions

List of users ranked by coding activity in descending order.

operationId: get-wakatime-leaders summary: List of users ranked by coding activity in descending order. description: Mimics https://wakatime.com/developers#leaders tags: [wakatime] responses: 200: description: OK schema: v1.LeadersViewModel

Requires ApiKeyAuth: Set header Authorization to your API Key encoded as Base64 and prefixed with Basic.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
pageYes
rangeYesModel for leaders range.
languageYes
total_pagesYes
current_userNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed18 schema fields changedv0.2.0
    • addedInput schema / additionalProperties
      Added value: +false
    • removedOutput schema / $defs
      Removed value: -{
      -  "LeadersCurrentUser": {
      -    "description": "Model for leaders current user.",
      -    "properties": {
      -      "page": {
      -        "title": "Page",
      -        "type": "integer"
      -      },
      -      "rank": {
      -        "title": "Rank",
      -        "type": "integer"
      -      },
      -      "user": {
      -        "$ref": "#/$defs/User"
      -      }
      -    },
      -    "required": [
      -      "page",
      -      "rank",
      -      "user"
      -    ],
      -    "title": "LeadersCurrentUser",
      -    "type": "object"
      -  },
      -  "LeadersEntry": {
      -    "description": "Model for leaders entry.",
      -    "properties": {
      -      "rank": {
      -        "title": "Rank",
      -        "type": "integer"
      -      },
      -      "running_total": {
      -        "$ref": "#/$defs/LeadersRunningTotal"
      -      },
      -      "user": {
      -        "$ref": "#/$defs/User"
      -      }
      -    },
      -    "required": [
      -      "rank",
      -      "running_total",
      -      "user"
      -    ],
      -    "title": "LeadersEntry",
      -    "type": "object"
      -  },
      -  "LeadersLanguage": {
      -    "description": "Model for leaders language.",
      -    "properties": {
      -      "name": {
      -        "title": "Name",
      -        "type": "string"
      -      },
      -      "total_seconds": {
      -        "title": "Total Seconds",
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "name",
      -      "total_seconds"
      -    ],
      -    "title": "LeadersLanguage",
      -    "type": "object"
      -  },
      -  "LeadersRange": {
      -    "description": "Model for leaders range.",
      -    "properties": {
      -      "end_date": {
      -        "title": "End Date",
      -        "type": "string"
      -      },
      -      "end_text": {
      -        "title": "End Text",
      -        "type": "string"
      -      },
      -      "name": {
      -        "title": "Name",
      -        "type": "string"
      -      },
      -      "start_date": {
      -        "title": "Start Date",
      -        "type": "string"
      -      },
      -      "start_text": {
      -        "title": "Start Text",
      -        "type": "string"
      -      },
      -      "text": {
      -        "title": "Text",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "end_date",
      -      "end_text",
      -      "name",
      -      "start_date",
      -      "start_text",
      -      "text"
      -    ],
      -    "title": "LeadersRange",
      -    "type": "object"
      -  },
      -  "LeadersRunningTotal": {
      -    "description": "Model for leaders running total.",
      -    "properties": {
      -      "daily_average": {
      -        "title": "Daily Average",
      -        "type": "number"
      -      },
      -      "human_readable_daily_average": {
      -        "title": "Human Readable Daily Average",
      -        "type": "string"
      -      },
      -      "human_readable_total": {
      -        "title": "Human Readable Total",
      -        "type": "string"
      -      },
      -      "languages": {
      -        "items": {
      -          "$ref": "#/$defs/LeadersLanguage"
      -        },
      -        "title": "Languages",
      -        "type": "array"
      -      },
      -      "total_seconds": {
      -        "title": "Total Seconds",
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "daily_average",
      -      "human_readable_daily_average",
      -      "human_readable_total",
      -      "languages",
      -      "total_seconds"
      -    ],
      -    "title": "LeadersRunningTotal",
      -    "type": "object"
      -  },
      -  "User": {
      -    "description": "Model for user.",
      -    "properties": {
      -      "created_at": {
      -        "title": "Created At",
      -        "type": "string"
      -      },
      -      "display_name": {
      -        "title": "Display Name",
      -        "type": "string"
      -      },
      -      "email": {
      -        "title": "Email",
      -        "type": "string"
      -      },
      -      "full_name": {
      -        "title": "Full Name",
      -        "type": "string"
      -      },
      -      "id": {
      -        "title": "Id",
      -        "type": "string"
      -      },
      -      "is_email_confirmed": {
      -        "title": "Is Email Confirmed",
      -        "type": "boolean"
      -      },
      -      "is_email_public": {
      -        "title": "Is Email Public",
      -        "type": "boolean"
      -      },
      -      "last_heartbeat_at": {
      -        "title": "Last Heartbeat At",
      -        "type": "string"
      -      },
      -      "last_plugin_name": {
      -        "title": "Last Plugin Name",
      -        "type": "string"
      -      },
      -      "last_project": {
      -        "title": "Last Project",
      -        "type": "string"
      -      },
      -      "modified_at": {
      -        "title": "Modified At",
      -        "type": "string"
      -      },
      -      "photo": {
      -        "title": "Photo",
      -        "type": "string"
      -      },
      -      "timezone": {
      -        "title": "Timezone",
      -        "type": "string"
      -      },
      -      "username": {
      -        "title": "Username",
      -        "type": "string"
      -      },
      -      "website": {
      -        "title": "Website",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "username",
      -      "display_name",
      -      "full_name",
      -      "email",
      -      "photo",
      -      "website",
      -      "timezone",
      -      "created_at",
      -      "modified_at",
      -      "last_heartbeat_at",
      -      "last_plugin_name",
      -      "last_project",
      -      "is_email_confirmed",
      -      "is_email_public"
      -    ],
      -    "title": "User",
      -    "type": "object"
      -  }
      -}
    • changedOutput schema / properties / current_user / anyOf
      Previous value: -[
      -  {
      -    "$ref": "#/$defs/LeadersCurrentUser"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Model for leaders current user.",
      +    "properties": {
      +      "page": {
      +        "type": "integer"
      +      },
      +      "rank": {
      +        "type": "integer"
      +      },
      +      "user": {
      +        "description": "Model for user.",
      +        "properties": {
      +          "created_at": {
      +            "type": "string"
      +          },
      +          "display_name": {
      +            "type": "string"
      +          },
      +          "email": {
      +            "type": "string"
      +          },
      +          "full_name": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "is_email_confirmed": {
      +            "type": "boolean"
      +          },
      +          "is_email_public": {
      +            "type": "boolean"
      +          },
      +          "last_heartbeat_at": {
      +            "type": "string"
      +          },
      +          "last_plugin_name": {
      +            "type": "string"
      +          },
      +          "last_project": {
      +            "type": "string"
      +          },
      +          "modified_at": {
      +            "type": "string"
      +          },
      +          "photo": {
      +            "type": "string"
      +          },
      +          "timezone": {
      +            "type": "string"
      +          },
      +          "username": {
      +            "type": "string"
      +          },
      +          "website": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "username",
      +          "display_name",
      +          "full_name",
      +          "email",
      +          "photo",
      +          "website",
      +          "timezone",
      +          "created_at",
      +          "modified_at",
      +          "last_heartbeat_at",
      +          "last_plugin_name",
      +          "last_project",
      +          "is_email_confirmed",
      +          "is_email_public"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "page",
      +      "rank",
      +      "user"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / data / items / $ref
      Removed value: -"#/$defs/LeadersEntry"
    • addedOutput schema / properties / data / items / description
      Added value: +"Model for leaders entry."
    • addedOutput schema / properties / data / items / properties
      Added value: +{
      +  "rank": {
      +    "type": "integer"
      +  },
      +  "running_total": {
      +    "description": "Model for leaders running total.",
      +    "properties": {
      +      "daily_average": {
      +        "type": "number"
      +      },
      +      "human_readable_daily_average": {
      +        "type": "string"
      +      },
      +      "human_readable_total": {
      +        "type": "string"
      +      },
      +      "languages": {
      +        "items": {
      +          "description": "Model for leaders language.",
      +          "properties": {
      +            "name": {
      +              "type": "string"
      +            },
      +            "total_seconds": {
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "total_seconds"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "total_seconds": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "daily_average",
      +      "human_readable_daily_average",
      +      "human_readable_total",
      +      "languages",
      +      "total_seconds"
      +    ],
      +    "type": "object"
      +  },
      +  "user": {
      +    "description": "Model for user.",
      +    "properties": {
      +      "created_at": {
      +        "type": "string"
      +      },
      +      "display_name": {
      +        "type": "string"
      +      },
      +      "email": {
      +        "type": "string"
      +      },
      +      "full_name": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "is_email_confirmed": {
      +        "type": "boolean"
      +      },
      +      "is_email_public": {
      +        "type": "boolean"
      +      },
      +      "last_heartbeat_at": {
      +        "type": "string"
      +      },
      +      "last_plugin_name": {
      +        "type": "string"
      +      },
      +      "last_project": {
      +        "type": "string"
      +      },
      +      "modified_at": {
      +        "type": "string"
      +      },
      +      "photo": {
      +        "type": "string"
      +      },
      +      "timezone": {
      +        "type": "string"
      +      },
      +      "username": {
      +        "type": "string"
      +      },
      +      "website": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "username",
      +      "display_name",
      +      "full_name",
      +      "email",
      +      "photo",
      +      "website",
      +      "timezone",
      +      "created_at",
      +      "modified_at",
      +      "last_heartbeat_at",
      +      "last_plugin_name",
      +      "last_project",
      +      "is_email_confirmed",
      +      "is_email_public"
      +    ],
      +    "type": "object"
      +  }
      +}
    • addedOutput schema / properties / data / items / required
      Added value: +[
      +  "rank",
      +  "running_total",
      +  "user"
      +]
    • addedOutput schema / properties / data / items / type
      Added value: +"object"
    • removedOutput schema / properties / data / title
      Removed value: -"Data"
    • removedOutput schema / properties / language / title
      Removed value: -"Language"
    • removedOutput schema / properties / page / title
      Removed value: -"Page"
    • removedOutput schema / properties / range / $ref
      Removed value: -"#/$defs/LeadersRange"
    • addedOutput schema / properties / range / description
      Added value: +"Model for leaders range."
    • addedOutput schema / properties / range / properties
      Added value: +{
      +  "end_date": {
      +    "type": "string"
      +  },
      +  "end_text": {
      +    "type": "string"
      +  },
      +  "name": {
      +    "type": "string"
      +  },
      +  "start_date": {
      +    "type": "string"
      +  },
      +  "start_text": {
      +    "type": "string"
      +  },
      +  "text": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / range / required
      Added value: +[
      +  "end_date",
      +  "end_text",
      +  "name",
      +  "start_date",
      +  "start_text",
      +  "text"
      +]
    • addedOutput schema / properties / range / type
      Added value: +"object"
    • removedOutput schema / properties / total_pages / title
      Removed value: -"Total Pages"
    • removedOutput schema / title
      Removed value: -"LeadersViewModel"
  2. First observed

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It usefully discloses the ApiKeyAuth requirement and the response model name, but omits behavioral details like pagination, ranking period, or whether results are public, making it only minimally adequate for an unannotated read tool.

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?

The purpose is front-loaded in the first sentence, but the description then dumps raw OpenAPI metadata (operationId, tags, responses) that is redundant with structured data and clutters the definition. The auth note is useful, but overall structure could be much tighter.

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?

Given a simple zero-parameter read endpoint with an output schema, the description covers the essential auth requirement and basic purpose. With no annotations, it should ideally say more about safe read behavior or result scope, but the output schema reduces the need to explain return values.

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

Parameters4/5

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

The tool has zero parameters, so there are no parameter semantics to document. The baseline score for a zero-parameter tool is 4, and nothing in the description misrepresents the empty input schema.

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 first sentence clearly states a specific verb (List) and resource (users ranked by coding activity), which is enough to distinguish it from most siblings like get_user or get_stats. However, it does not explicitly name or contrast against any sibling tool, so it stops short of the top score.

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?

The description gives no guidance about when to use this tool versus alternatives such as get_stats or get_user. It states an auth requirement, but that is not usage context or exclusions.

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