Skip to main content
Glama
jedi-knights

jk-mcp-ecnl

Official
by jedi-knights

get_rpi

Read-onlyIdempotent

Calculate RPI (Rating Percentage Index) for teams in a flight based on completed games. Returns ranked list with WP, OWP, OOWP components.

Instructions

Compute the RPI ranking for every team in a flight.

RPI = 0.25·WP + 0.50·OWP + 0.25·OOWP, computed from the flight's completed games. Returns each team's WP/OWP/OOWP components and final RPI, ranked. Early in a season, sparse results make RPI noisy.

Args: event_id: Numeric event ID (e.g. 3933). flight_id: Flight ID from get_event_overview. tie_weight: Tie value in the winning-percentage element — 1/3 (the 2024 convention, default) or 0.5 (pre-2024).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
event_idYes
flight_idYes
tie_weightNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already indicate read-only, open-world, idempotent, and non-destructive behavior. The description adds behavioral context beyond annotations by detailing the formula, components returned, and noise sensitivity, without contradicting annotations.

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?

The description is concise: two main sentences about purpose and formula, a caveat, and a clear args section. Every sentence adds value; no redundancy.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of the tool (formula, multiple components, default handling) and the presence of an output schema, the description covers all necessary behavioral and parameter details, including a usage caveat.

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

Parameters5/5

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

With 0% schema coverage, the description fully explains each parameter: event_id with example, flight_id as derived from another tool, and tie_weight with its meaning and default. This compensates completely for the lack of schema descriptions.

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 clearly states the tool computes RPI ranking for every team in a flight and provides the formula. It differentiates from the sibling 'get_team_rpi' implicitly by focusing on all teams, but does not explicitly distinguish.

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?

The description explains that RPI is computed from completed games and notes that early season results are noisy, offering some usage context. However, it does not explicitly state when not to use the tool or suggest alternatives among siblings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jedi-knights/jk-mcp-ecnl'

If you have feedback or need assistance with the MCP directory API, please join our Discord server