Skip to main content
Glama

Lucky Nth

lucky_nth
Read-onlyIdempotent

The kth lucky number. The 1st is 1, the 10th is 33, and the 20th is 79. k runs from 1 to 8772, which is the count of lucky numbers through 100000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/lucky-nth

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": {
      "k": "<k>"
    },
    "name": "lucky_nth"
  }
}

Input Schema

NameRequiredDescriptionDefault
kYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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, non-destructive behavior; the description adds useful invocation context: x402 pricing, Solana payment, and an HTTPS endpoint. It does not describe error handling or response format, but it adds real value beyond 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?

Front-loads the core definition, then provides examples, range, and invocation details in compact sentences. No filler; every sentence carries information useful to a caller.

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 simple one-parameter, read-only numeric lookup with rich annotations, the description supplies range, examples, pricing, and endpoint. An explicit return-value statement is absent, but the examples make the output shape inferable.

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 sole parameter k has 0% schema description coverage, so the description must compensate; it does so with the valid range 1–8772 and concrete sample values (1st=1, 10th=33, 20th=79). It still does not state the return type, but parameter meaning is well covered.

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?

States the exact parameterized operation ('The kth lucky number') and includes sample outputs, so the basic purpose is clear. It does not explicitly differentiate from sibling tools such as lucky, lucky_count, or lucky_next, so it stops short of top clarity.

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?

Gives no explicit when-to-use or when-not-to-use guidance and names no alternatives among the many lucky-* siblings. The k-range and examples describe validity, not tool selection, so an agent gets only implied usage.

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