Skip to main content
Glama

cricket_player_form_index

Read-onlyIdempotent

Calculates a 0-100 form score for any cricket player using recent innings data. Returns trend direction and sample size for context.

Instructions

Report a 0-100 form score for a player using the player_stats chain.

Args: player_id: Upstream player identifier (CricAPI/Cricbuzz id).

Returns: data.form_score: 0..100 indicator. data.trend: "rising" / "stable" / "falling". data.samples: how many recent innings were available. meta.source: which adapter served the underlying stats. meta.estimated: true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
player_idYesUpstream player identifier (CricAPI/Cricbuzz id).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
metaNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, non-destructive, and idempotent behavior. The description adds meaningful behavioral context: the result is estimated (meta.estimated true), the score range is 0-100, and it reveals the underlying player_stats chain and adapter sourcing.

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?

The structure is clear and front-loaded with the core purpose, followed by concise Args and Returns sections. It is slightly repetitive of the schema, but every included detail serves a purpose and there is no fluff.

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?

For a single-parameter, read-only tool with an output schema, the description is sufficiently complete. It covers the score, trend direction, sample size, source adapter, and estimation flag, giving an agent enough context to invoke the tool correctly.

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 coverage is 100%, so the baseline is 3. The description's Args section duplicates the schema's player_id description rather than adding new meaning such as examples, formats, or acceptable identifier variants.

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

Purpose5/5

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

The description clearly states the tool's purpose: reporting a 0-100 form score for a player. It names the resource ('player') and the specific output ('form score'), which distinguishes it from other cricket tools focused on scorecards, matchups, or recommendations.

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 usage context is implied: call this tool when a numeric player form score or trend is needed. However, it does not explicitly contrast itself with sibling tools like cricket_player_matchup or football_form_trends, nor provide when-not-to-use guidance.

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