Skip to main content
Glama

ScorpTech x402 Tools

Smarandache Least

smarandache_least
Read-onlyIdempotent

The smallest positive integer m with S(m) = k. k=1 gives 1, k=6 gives 9, k=8 gives 32, k=9 gives 27, and k=11 gives 11. k runs from 1 to 15. Returns JSON with: k, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/smarandache-least

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": "smarandache_least"
  }
}

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 cover the safety profile (readOnly, idempotent, non-destructive, openWorld). The description adds genuinely new behavioral context: a per-call price of $0.001 USDC via x402 on Base or Solana, and an equivalent HTTPS endpoint. It does not discuss failure modes or what happens for out-of-range k, but the paid-call and payment-rail disclosure is valuable beyond the annotations.

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?

Front-loaded with the definition, then examples, range, return shape, and cost/endpoint in a compact sequence. Dense but every clause is short and purposeful; the example list is slightly repetitive but aids verification.

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, no-output-schema tool, the description supplies the return fields, the valid input domain, pricing, and an alternate transport, which is nearly everything an agent needs to call it. The only material omission is the definition of the Smarandache function S(m).

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 0%, so the description must carry the parameter meaning. It restates the 1..15 range already encoded in the schema and provides five worked k-to-value examples that let an agent sanity-check the mapping, but it never defines S(m), which is the essential semantic needed to interpret k.

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 a precise mathematical definition (smallest positive integer m with S(m) = k) plus a concrete return shape (k, value), so an agent can tell this apart from siblings like smarandache_sum or smarandache_gap. The one weakness is that S(m) itself is never defined, leaving the core quantity implicit.

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 rather than stated: supply k in 1..15 and get the least m. There is no explicit when-to-use or when-not guidance relative to the sibling smarandache tools, and no statement of preconditions beyond the k 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