Skip to main content
Glama

ScorpTech x402 Tools

Lucky

lucky
Read-onlyIdempotent

Whether n is a lucky number. The list begins 1, 3, 7, 9, 13, 15, 21. 5 and every even number are not lucky. n runs from 1 to 100000. Returns JSON with: n, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/lucky

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": {
      "n": "<n>"
    },
    "name": "lucky"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered; the description adds genuinely new operational facts — the input domain 1 to 100000, the response shape (n, value), and a paid-call model of $0.001 USDC per successful call via x402 on Base or Solana with an HTTPS endpoint. The payment/auth requirement is exactly the kind of context an agent cannot infer from annotations and would otherwise trip over.

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 predicate and domain examples are front-loaded, followed by the range, return shape, and pricing in a compact sequence of short sentences. Dense but every sentence carries distinct information; the pricing sentence is long but justified for a paid endpoint.

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 one-parameter boolean-style predicate with no output schema, the description covers input domain, output fields, cost, and transport. Nothing essential to correct invocation is missing; only sibling routing guidance is absent.

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?

Schema description coverage is 0% and the single parameter n carries only type/min/max constraints, so the description must supply meaning. It does: n is the integer being tested for lucky-number membership, and the stated 1-to-100000 range reinforces the schema bounds with intent rather than merely repeating them.

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 opens with a precise predicate, 'Whether n is a lucky number', which names both the operation and the resource, and it grounds the concept with a concrete sequence (1, 3, 7, 9, 13, 15, 21) plus negative examples (5 and every even number). That is enough to tell it apart from siblings like lucky_count or lucky_nth without opening a schema, though it never explicitly names those alternatives.

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 only implied: the membership-test framing makes it obvious you call this to classify a single integer, not to enumerate or count. There is no explicit statement of when to prefer lucky_count, lucky_nth, or lucky_next, and no preconditions beyond the numeric range.

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