Skip to main content
Glama

Status Lark

Distance to a tier in one programme

my_progress
Read-only

Given the member's balance in the current qualification window and the tier held, returns the shortfall to the next tier, to renewal of the held tier, and optionally to a named target — with the threshold basis (published, same as qualification, or uncaptured upper bound), conjunctive conditions and days remaining. Each gap also carries share: the balance as a share of that threshold ("62% of the way to Gold"), on the same scale as the threshold; repeat its text, which says when the figure is a lower bound or the tier needs more than the number. Nothing is stored.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "programme": "<programme>",
      "currentPoints": "<currentPoints>"
    },
    "name": "my_progress"
  }
}

Input Schema

NameRequiredDescriptionDefault
todayNoOverride today's date (testing only).
heldTierNoTier held today, by its published name. Required for programmes whose counters reset, so renewal can be measured.
programmeYesProgramme code or name (from list_programmes), including the ladder-only programmes it lists.
windowEndNoDate the current qualification window closes, if known.
targetTierNoA tier to measure against, by its published name.
currentPointsYesStatus credits earned IN THE CURRENT QUALIFICATION WINDOW (not lifetime, not award miles).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, and the description goes well beyond that by stating 'Nothing is stored.' It also discloses non-obvious result semantics: the threshold basis can be published, the same as qualification, or an uncaptured upper bound, and gaps may carry conjunctive conditions and days remaining. The `share` field's scale and the instruction to repeat its `text` for lower-bound caveats is genuinely useful behavioral context.

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 purpose is front-loaded in the opening clause and the closing 'Nothing is stored' lands the safety point cleanly. The first sentence is a long em-dash-and-parenthetical construction that is dense to parse, though every clause carries real information.

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 no output schema and six parameters over a non-trivial domain (qualification windows, tier ladders, conditional thresholds), the description carries the return-value burden and does so by enumerating the three gap types and the `share` object. The only gap is that it does not say what happens when a programme has no ladder or when heldTier is omitted for a non-resetting programme.

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 description coverage is 100%, so the schema already defines all six parameters, including the window-scoped meaning of currentPoints and the testing-only nature of `today`. The description reinforces the window scoping and that the target tier is optional, but adds little syntax or format detail beyond the schema. Baseline 3 applies.

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 names a specific computation — shortfall to the next tier, to renewal of the held tier, and optionally to a named target — from a stated input (balance in the current qualification window plus held tier). An agent can tell this is a gap-measurement tool rather than a listing or earning tool. It stops short of naming a sibling (e.g. tier_run or programme_ladder) to sharpen the boundary.

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 framing 'Given the member's balance ... and the tier held', which signals a per-member, single-programme lookup. There is no explicit when-to-use vs when-to-use-another statement and no named alternative, so the agent must infer the choice from sibling names alone.

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.

Resources